# Forgotten Code Is the Attack Surface: Drupal, AntiCsrf and Azure APIM

> Today's briefing covers three actively exploited weaknesses in components teams stopped thinking about: a leftover Drupal installer, an abandoned ASP.NET anti-CSRF library and Classic tier Azure API Management instances. In two of the three, a patch alone does not close the incident. New npm data from Databricks makes the same point for the supply chain.

- Canonical: https://appsecnews.com/blog/forgotten-code-is-the-attack-surface-drupal-anticsrf-and-azure-apim
- Type: Blog
- Author: [Jay B.](https://appsecnews.com/author/jay-b)
- Published: 2026-11-25
- Category: Vulnerabilities & Zero-Days
- Tags: CISA KEV, legacy-code, supply-chain
- Section: [Blog](https://appsecnews.com/blog)

## Key takeaways

- Three actively exploited issues this week sit in forgotten components: Drupal's install.php, the abandoned Idunno.AntiCsrf library and Azure API Management Classic tiers.
- Only the Drupal flaw is closed by a patch. Idunno.AntiCsrf has no patch and must be removed, and the Azure API Management fix does not invalidate stolen credentials.
- CISA added the Drupal and Idunno.AntiCsrf CVEs to the KEV catalog on 24 November.
- Norway's NSM advises Azure API Management customers to assume secrets and named values are compromised and rotate them all.
- Databricks found compromised legitimate packages are 7% of its malicious npm dataset but over 99% of downloads, a vendor figure from its own scanner.

The stories leading today have one thing in common. None of them is about new code. Each is about something that was set up, shipped or copied in years ago and then left alone: an installer script on a live site, a beta DLL in a bin folder, secrets stored inline in an API gateway. All three are under active exploitation, and in two of the three cases a patch does not end the incident.

For appsec teams, that changes the shape of the work. This week is less about patch rollout and more about inventory, removal and rotation.

## Drupal: the installer that never left

Drupal's security team published advisory SA-CORE-2026-017 on 18 November for a highly critical remote code execution flaw in core, tracked as CVE-2026-132165. In the advisory's words: "Drupal core ships with an install.php file for installing Drupal core. Under specific conditions, an attacker can use the installer to attempt to reinstall Drupal. This can lead to a site takeover or remote code execution."

The advisory was later updated to say exploitation on live sites was reported as early as 19 November at 19:00 UTC, roughly a day after disclosure. CISA added the CVE to its Known Exploited Vulnerabilities catalog on 24 November, citing Binding Operational Directive 26-04.

This is the one story of the three where a patch is the fix: fixed core releases are listed in the advisory. The interim mitigation is hedged by Drupal itself: "Some (but not all) exploit paths are mitigated if the web server cannot write to or change permissions on settings.php." The advisory also notes the flaw was "Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-GMRPK0BU".

## Idunno.AntiCsrf: a security control with no owner

Mandiant advisory MNDT-2026-0048 covers CVE-2026-131914, an insecure deserialization flaw (CWE-502) in Idunno.AntiCsrf, a legacy ASP.NET anti-CSRF library. Mandiant states that "Active exploitation in the wild has been observed" and that the library "has no active maintainer or official patch available." CISA added it to the KEV catalog in the same 24 November alert as the Drupal flaw.

Help Net Security reports the flaw can be triggered by a crafted HTTP POST request without authentication or a valid CSRF token, and that it allows code execution in the context of the IIS worker process. watchTowr says no attribution has been made public.

With no patch coming, remediation is removal. watchTowr advises checking Web.config and bin/ folders for references and reviewing IIS logs. Help Net Security reports Mandiant's suggested replacements: System.Web.Helpers.AntiForgery, ViewStateUserKey with MAC-verified ViewState, or ASP.NET Core IAntiforgery.

## Azure API Management: the fix that does not rotate your secrets

Norway's National Security Authority (NSM) published an advisory on 20 November, updated 23 November, saying an unknown actor has actively gone after access tokens, secrets and named values in Azure API Management. NSM names Equinor and Skagerak Energi among those affected, says the vulnerability should now be closed, and says the extent of exploitation is still unclear. Its advice is to assume secrets and named values are compromised and rotate all tokens and secrets.

Microsoft's notice went to customers through the Azure Portal and is not public. According to Help Net Security, Microsoft told customers the issue affects APIM Classic tiers, that it could allow unauthorised access to certain management functionality "if the service was not configured according to documented security best practices", and that the fix does not invalidate credentials already accessed. No CVE identifier or victim count has been published.

That last point is the one to act on. A gateway stores backend credentials, OpenID Connect client secrets and subscription keys. Once those are read, the exposure lives in every system they unlock, and only rotation closes it.

## The supply chain version of the same lesson

Databricks Threat Research published an analysis on 23 November of approximately 5,400 confirmed malicious npm packages. Every number below is a Databricks figure, drawn from its own scanner and filtered to packages confirmed by at least one independent source.

Databricks found that compromised legitimate packages make up 7% of the set but over 99% of downloads, while attacker-created packages are 89% of the set and 0.2% of downloads. It also found that 54% of the packages declare a lifecycle script, with the remainder executing on import or invocation, and that 78% of compromised versions add or modify a lifecycle script, against 4% of attacker-created packages.

The report's conclusion on controls is direct: "Install-script blocking is a partial control", to be combined with lockfile integrity enforcement and a registry proxy with an allowlist or minimum-age policy. It also recommends that teams "Monitor lifecycle-script changes between versions of existing dependencies."

Read alongside the three exploitation stories, the pattern holds. According to Databricks' data, the exposure sits in the dependencies you already trust, not in the typosquats you might install by mistake.

## What to do this week

- **Patch Drupal core** and confirm the installer is locked down. Review any internet-facing site that stayed unpatched after 19 November for signs of compromise.
- **Hunt for Idunno.AntiCsrf** in Web.config files and bin/ folders across legacy ASP.NET applications, then remove and replace it.
- **Rotate APIM secrets** on Classic tier instances: named values, client secrets, subscription keys and management tokens. Check the patched RuntimeVersion builds listed by NSM.
- **Watch existing dependencies**, not only new ones: lifecycle script changes between versions, lockfile integrity and minimum-age policies.

The common thread is ownership. Each of these components had a job once and then nobody was responsible for it. An inventory that only lists what you actively maintain misses the code attackers are using this week.

## Sources

1. [Drupal core - Highly critical - Remote code execution - SA-CORE-2026-017](https://www.drupal.org/sa-core-2026-017), Drupal.org
2. [CISA Adds Three Known Exploited Vulnerabilities to Catalog](https://www.cisa.gov/news-events/alerts/2026/11/24/cisa-adds-three-known-exploited-vulnerabilities-catalog), CISA
3. [Vulnerability-Disclosures/2026/MNDT-2026-0048.md at master · mandiant/Vulnerability-Disclosures · GitHub](https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2026/MNDT-2026-0048.md), Mandiant
4. [Idunno.AntiCsrf CVE-2026-131914 FAQ](https://watchtowr.com/intelligence/idunnoanticsrf-cve-2026-131914-faq/), watchTowr
5. [Exploited: Abandoned Idunno.AntiCsrf library opens legacy ASP.NET apps to RCE (CVE-2026-131914)](https://www.helpnetsecurity.com/2026/11/25/idunno-anticsrf-rce-cve-2026-131914-exploited/), Help Net Security
6. [NSM deler tiltak mot sårbarhet i Azure API Management](https://nsm.no/aktuelt/nsm-deler-tiltak-mot-sarbarhet-i-azure-api-management), Nasjonal sikkerhetsmyndighet (NSM)
7. [Azure API Management vulnerability exploited to steal customers' secrets](https://www.helpnetsecurity.com/2026/11/24/azure-apim-vulnerability-credential-theft/), Help Net Security
8. [What 5,400 Malicious npm Packages Reveal about Software Supply Chain Risk in 2026](https://www.databricks.com/blog/what-5400-malicious-npm-packages-reveal-about-software-supply-chain-risk-2026), Databricks

## Questions and answers

### Which vulnerabilities did CISA add to KEV on 24 November?

CISA's alert lists three additions, including CVE-2026-132165, a Drupal core remote code execution vulnerability, and CVE-2026-131914, a deserialization of untrusted data vulnerability in Idunno AntiCsrf. The third entry concerns Optimizely Web Experimentation.

### Why is patching not enough for these incidents?

Idunno.AntiCsrf has no active maintainer and no official patch, so it has to be removed and replaced. For Azure API Management, Help Net Security reports that Microsoft's fix does not invalidate credentials already accessed, so secrets must be rotated.

### What did Databricks find about malicious npm packages?

According to Databricks, in a set of approximately 5,400 confirmed malicious npm packages, compromised legitimate packages are 7% of the set but over 99% of downloads. Attacker-created packages are 89% of the set and 0.2% of downloads. These are vendor figures from Databricks' own scanner.

### Does blocking npm install scripts stop these attacks?

Only partly. Databricks found that 54% of the malicious packages declare a lifecycle script and the rest execute on import or invocation. It calls install-script blocking a partial control, to be combined with lockfile integrity enforcement and a registry proxy with an allowlist or minimum-age policy.

---

Source: AppSecNews (https://appsecnews.com). Cite: https://appsecnews.com/blog/forgotten-code-is-the-attack-surface-drupal-anticsrf-and-azure-apim
