$RodHat_/search
MOTD

Idunno.AntiCsrf CVE-2026-131914: A 2008 CSRF Module Hands Out RCE

Published by

This article may contain Amazon affiliate links. I may earn a commission if you buy through them. Disclosure.

Editorial card for the Idunno.AntiCsrf deserialization vulnerability
Editorial card: RodHat

Here is a security module for ASP.NET WebForms whose job was to stop attackers from forging requests. It turns out to be a way to run code on the web server with one POST. CVE-2026-131914 covers Idunno.AntiCsrf through 0.9.1 Beta, and Mandiant scored it 9.3 under CVSS 4.0: network, low complexity, no privileges, no user interaction. NVD lists the weakness as CWE-502, deserialization of untrusted data.

The project is dead. Per Mandiant, the last release is 0.9.1 Beta, an official build from December 2008, on CodePlex, which is also dead. There is no maintainer and no patch. Mandiant’s timeline says FLARE found the root cause during an incident response investigation on November 4, and the CVE went public on November 18. The advisory says active exploitation is happening, and gives no further detail, so I won’t invent any.

The bug is the kind you’d fail a junior for. In PreRequestHandlerExecute, the module checks that the CSRF cookie and the CSRF form field are both non-empty. That’s it. It doesn’t check that the cookie is a GUID. Then it makes a parameterless new ObjectStateFormatter() and calls Deserialize() on the form field, and only afterward compares the result to the cookie. A parameterless ObjectStateFormatter does no MAC and no signature check, so any Base64 gadget chain you send gets deserialized, in the IIS worker process (w3wp.exe).

Two details make it worse. It runs before Page_Load, so pages that do their auth checks inside Page_Load are exposed to anonymous users. And the sink fires on any POST to an .aspx page that doesn’t opt out with ISuppressCsrfCheck or [SuppressCsrfCheck], even if the page has no form of its own. One request. Nobody needs a valid token.

The fix is to rip it out, since nobody is going to patch it:

# Web.config: remove the module registration and the config section
#   Idunno.AntiCsrf.AntiCsrfModule, Idunno.AntiCsrf
# delete bin/Idunno.AntiCsrf.dll
# remove ISuppressCsrfCheck / [SuppressCsrfCheck] references

Mandiant suggests System.Web.Helpers.AntiForgery, Page.ViewStateUserKey with MAC-verified or encrypted ViewState, or ASP.NET Core’s IAntiforgery. To find it, search every Web.config and bin/ for the name Idunno.AntiCsrf. Mandiant publishes MD5, SHA-1 and SHA-256 hashes for three public builds, but a recompiled copy will have different hashes and the same sink, so grep by name too. If you find it and have evidence of exploitation, Mandiant says to rotate everything in Web.config and applicationHost.config, including machine keys and database credentials, and to inspect the webroot for files that don’t belong. Their IIS log hint is anomalous POSTs to .aspx endpoints returning 302 or 500 with unusually large cs-bytes, where you log that.

The lesson I keep re-teaching: a security library that nobody has touched since 2008 is not a control, it’s a liability with a nice name. Somebody dropped a DLL in bin/ fifteen years ago, ticked a compliance box and forgot about it. Go look at your own dependency inventory, and read the CVE scoring inflation piece before you decide which of this month’s 9.x scores matter. This one does. The Apache Roller bug from Saturday has the same disease, and the kernel and security hub has the rest of the pile.

Sources

  1. CVE-2026-131914 (NIST National Vulnerability Database)
  2. MNDT-2026-0048, Idunno.AntiCsrf insecure deserialization (Mandiant)