Some of the riskiest code on a web server is code nobody remembers installing. Mandiant has disclosed a critical flaw in Idunno.AntiCsrf, a small open-source ASP.NET module meant to protect WebForms sites from cross-site request forgery. Its last build dates to December 2008. According to Mandiant's advisory, attackers are already using the flaw.

The bug is tracked as CVE-2026-131914 (Mandiant ID MNDT-2026-0048). It carries a CVSS 4.0 base score of 9.3 (Critical). An attacker with no account and no credentials can send one POST request to an ordinary ASP.NET WebForms page and run code as the IIS worker process, w3wp.exe. Mandiant puts the impact at complete compromise of the web application server. The project has no maintainer, so no fix is coming. The only remedy is to remove the library and replace it.

What the library was supposed to do

Cross-site request forgery (CSRF) is an attack where a malicious page tricks a logged-in user's browser into sending a request the user never meant to send. A common defense is the "double-submit" pattern: the server places a token in a cookie and the same token in a hidden form field, then checks that the two match when the form comes back. Idunno.AntiCsrf did this for classic ASP.NET WebForms applications. It ran as an HTTP module, a component IIS runs in the request pipeline before the page itself handles the request.

That early position in the request is the core of the problem.

Where it goes wrong

Mandiant's advisory places the flaw in the module's PreRequestHandlerExecute handler, which runs before the WebForms page lifecycle starts. On a POST request, the module checks only that the CSRF cookie and the form field are not empty. It then deserializes the form field using .NET's ObjectStateFormatter. Deserialization means turning a stream of bytes back into live objects in memory. The module does this with an unkeyed formatter and no MAC or signature check. A MAC (message authentication code) is the cryptographic seal that would prove the server created the data itself.

Without that seal, the server reconstructs whatever objects an attacker sends it. In .NET, carefully chosen object graphs can trigger code execution while they are being rebuilt. The NVD record describes the flaw as "deserialization of untrusted data" (CWE-502) that allows remote unauthenticated attackers to execute code via object injection. ZeroDayFeed is not publishing payload details.

Mandiant rates exploitability High. The NVD record lists the attack vector as network, with low complexity, no privileges and no user interaction required (AV:N/AC:L/PR:N/UI:N), and sets the exploit-maturity field to Attacked.

Why this is worse than older ViewState attacks

ASP.NET administrators have seen deserialization attacks before. ViewState, the hidden field WebForms uses to carry page state between requests, has been abused for years. Earlier attacks relied on exposed ASP.NET machine keys, the machineKey secrets that sign and encrypt ViewState.

GBHackers points out that this flaw needs no stolen cryptographic material. The anti-CSRF module does its own deserialization with no key involved, so the protection that normally stops ViewState tampering never comes into play. According to the same report and Mandiant's advisory, any anonymously reachable .aspx page is exposed. So is any page that relies on session checks in Page_Load, because the module runs before that code does. The exception is pages that implement the library's ISuppressCsrfCheck interface or carry the [SuppressCsrfCheck] attribute. Put simply, the login checks on the page don't help, because the module is hit first.

What we know about exploitation

Mandiant's advisory states plainly that "active exploitation in the wild has been observed." GBHackers notes that Mandiant has not named an actor or a victim count, and The Hacker News reported that Google's threat intelligence team did not disclose further details and that it had contacted Google for comment. No attribution to any group or nation-state has been made in the sources, and we are not offering one.

The Mandiant advisory credits the discovery to LDB, Genwei Jiang, Dhanesh Kizhakkinan, Brian Bahtiarian and Lucas Kossack of Google Cloud and Mandiant Incident Response. The advisory's timeline says Google's FLARE team completed the root-cause analysis on November 4, 2026, during an incident response investigation. Mandiant began CVE assignment on November 11 and published the advisory on November 18. The sources do not describe the underlying intrusions.

The CVE was published to NVD on November 19, 2026, with Mandiant ([email protected]) as the source. At the time of writing NVD lists it as "Received," an early status that indicates the record has not yet been through NVD's own analysis. The CVSS score shown is the one Mandiant supplied.

What It Means for Defenders

Who is affected. Any ASP.NET WebForms application running Idunno.AntiCsrf at any version through 0.9.1 Beta (assembly version 0.9.1.0). That was the last release, and there is no fixed version. Expect this mostly in older applications, such as internal portals and vendor-built line-of-business apps from the late 2000s and early 2010s that still run on IIS. Small businesses and contractors that inherited applications from a long-gone developer should assume nobody has checked.

Find it. Google's guidance, as reported by The Hacker News, is to audit Web.config files and bin/ directories for references to Idunno.AntiCsrf or AntiCsrfModule. Mandiant adds that organizations that recompiled the library will have different file hashes but the same flaw, so search by name rather than by hash. Search every site on every IIS server, including staging boxes and forgotten virtual directories, not just the applications you know about.

Remove and replace it. No patch exists or is expected. The sources name three replacements:

  • System.Web.Helpers.AntiForgery, Microsoft's anti-forgery helper for classic ASP.NET;
  • For WebForms, setting Page.ViewStateUserKey together with MAC-verified and encrypted ViewState;
  • IAntiforgery in ASP.NET Core, for applications being migrated.

Mandiant's remediation is to remove the module from Web.config and delete the DLL from bin/; its advisory describes no configuration workaround. If you can't do that right away, taking the affected application off the internet or restricting it at the network edge is a reasonable stopgap (our suggestion, not from the sources).

Hunt for compromise. Because exploitation is confirmed, finding the library means you should also look for signs of intrusion. Google recommends reviewing IIS logs for anomalous POST requests to .aspx endpoints that returned HTTP 302 or 500, and inspecting webroots for unauthorized files. GBHackers notes that attackers with code execution can drop web shells.

Rotate secrets if you suspect exploitation. Code running as w3wp.exe can read the application's configuration. Google advises that environments with evidence of exploitation rotate secrets stored in Web.config and applicationHost.config, including machineKey values, encryption keys and database credentials. Rotating the machineKey matters in particular: a stolen key would let an attacker mount classic ViewState attacks against that server even after the library is gone.

For CMMC and federal contractors. An unpatchable, actively exploited component on a public-facing system is hard to defend in a compliance review, and removal is the safer position than risk acceptance. Record where you looked, what you found, when you removed it and which secrets you rotated. Then add a check for abandoned dependencies to your inventory process so the next one turns up before an incident response team finds it.

The broader lesson

Idunno.AntiCsrf was meant to make applications safer, and for years it probably did its narrow job. But security code that nobody maintains still runs on every request, in this case before the application's own checks. If an IIS server has been running untouched since the late 2000s, it's worth checking now what's in its bin/ folder.

Sources