# Idunno.AntiCsrf: abandoned ASP.NET library exploited for RCE on IIS

> Mandiant says an insecure deserialization flaw in Idunno.AntiCsrf, a long-abandoned third-party anti-CSRF library for ASP.NET WebForms, is being exploited for unauthenticated code execution on IIS. The project is defunct, so no patch exists and the only fix is to remove it.

- Canonical: https://appsecnews.com/news/idunno-anticsrf-abandoned-aspnet-library-exploited-for-rce-on-iis
- Type: News
- Author: [Jay B.](https://appsecnews.com/author/jay-b)
- Published: 2026-11-23
- Category: Vulnerabilities & Zero-Days
- Tags: deserialization, aspnet, legacy-dependencies
- Section: [News](https://appsecnews.com/news)

## Key takeaways

- CVE-2026-131914 in the abandoned Idunno.AntiCsrf library gives unauthenticated code execution on IIS with a single POST request.
- Mandiant says exploitation in the wild has been observed, with no actor or victim count named.
- The project is defunct, so there is no patch: the fix is to remove the library and use a supported anti-forgery mechanism.
- The vulnerable module runs before page code, so session checks in Page_Load do not protect a page.
- Search bin/ folders and Web.config files directly, because manifest-based SCA is likely to miss a loose DLL.

Mandiant has published advisory MNDT-2026-0048 for CVE-2026-131914, an insecure deserialization flaw in Idunno.AntiCsrf, a third-party anti-CSRF library for ASP.NET WebForms. The advisory states: "Active exploitation in the wild has been observed." It names no threat actor and gives no victim count.

This is a flaw in an abandoned third-party library, not in ASP.NET itself or in Microsoft code.

## What is wrong

According to the advisory, the library's `AntiCsrfModule` HTTP module deserializes untrusted CSRF form token data with an unkeyed `System.Web.UI.ObjectStateFormatter`, with no MAC or signature verification. Mandiant classes it as CWE-502, Deserialization of Untrusted Data, and rates it Critical.

Exploitation takes a single POST request, with no authentication and no valid CSRF token, and the code runs in the IIS worker process, `w3wp.exe`. The module fires before page code, so the advisory says any anonymously reachable `.aspx` page is exposed, including pages that only check the session in `Page_Load`, unless the page opts out with `ISuppressCsrfCheck` or `[SuppressCsrfCheck]`. A page does not even need a server-side form.

## No patch is coming

The project is defunct. Its last release was a beta, hosted on the retired CodePlex platform, and the advisory says no official patch is available. Recompiled or customized builds are also affected if they keep the vulnerable code path, so matching on known file hashes is not enough.

## Why scanners may miss it

This is a dependency inventory problem, not a patching problem. The library typically lives as a loose DLL dropped into the `bin/` folder of a legacy WebForms app. SCA tools that rely on package manifests are likely to miss it, so teams need to hunt for it directly.

## What to do

Mandiant's detection and resolution guidance:

- Audit `Web.config` files and `bin/` directories for `Idunno.AntiCsrf` or `AntiCsrfModule`.
- Remove the `AntiCsrfModule` entries from `<httpModules>` and `<modules>`, remove the `csrfSettings` section, remove the suppress-check references, and delete `Idunno.AntiCsrf.dll`.
- Replace it with a supported mechanism: `System.Web.Helpers.AntiForgery`, `Page.ViewStateUserKey` with MAC-verified or encrypted ViewState, or ASP.NET Core `IAntiforgery`.
- Review IIS logs for anomalous POST requests to `.aspx` endpoints that return HTTP 302 or 500 with elevated `cs-bytes`.
- If exploitation is suspected, rotate the secrets in `Web.config` and `applicationHost.config`, including `machineKey`, encryption keys and database credentials, and inspect webroots for unauthorized files.

Mandiant says the root cause was identified by its FLARE team during an incident response investigation.

## Sources

1. [MNDT-2026-0048](https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2026/MNDT-2026-0048.md), Mandiant (Google Cloud)
2. [Hackers Actively Exploit Critical ASP.NET Vulnerability to Execute Remote Code and Compromise Web Servers](https://gbhackers.com/hackers-actively-exploit-critical-asp-net-vulnerability/), GBHackers

## Questions and answers

### Is this a vulnerability in ASP.NET?

No. The flaw is in Idunno.AntiCsrf, an abandoned third-party anti-CSRF library for ASP.NET WebForms. It is not in ASP.NET itself or in Microsoft code.

### Is there a patch for CVE-2026-131914?

No. Mandiant's advisory says no official patch is available because the project is defunct. The resolution is to remove the library and replace it with a supported anti-forgery mechanism.

### How do I find out whether an application uses Idunno.AntiCsrf?

Mandiant advises auditing Web.config files and bin/ directories for Idunno.AntiCsrf or AntiCsrfModule. Do not rely on file hashes alone, because recompiled or customized builds are also affected.

---

Source: AppSecNews (https://appsecnews.com). Cite: https://appsecnews.com/news/idunno-anticsrf-abandoned-aspnet-library-exploited-for-rce-on-iis
