Idunno.AntiCsrf library flaw exploited to execute code via CVE-2026-131914
TL;DR
Idunno's AntiCsrf library is vulnerable to CVE-2026-131914, a critical flaw allowing unauthenticated remote code execution. Attackers are actively exploiting this to compromise web servers. If you use this legacy library, remove it immediately and replace it with a supported alternative.
What happened
Researchers have discovered a critical insecure deserialization vulnerability in the Idunno.AntiCsrf.AntiCsrfModule HTTP module. The flaw, tracked as CVE-2026-131914 (CVSS 9.3), exists because the module deserializes untrusted CSRF form token data using an unkeyed System.Web.UI.ObjectStateFormatter instance without cryptographic signature or MAC verification.
The Idunno.AntiCsrf project is defunct and has not been updated since December 2008. Despite its age, active exploitation in the wild has been observed. An attacker can achieve full remote code execution by sending a single HTTP POST request containing a Base64-encoded .NET ObjectStateFormatter gadget chain in a configured CSRF form field, alongside any non-empty value in the corresponding CSRF cookie.
Why it matters
This is a high-impact vulnerability because it requires no prior authentication or valid CSRF token to execute. Because the deserialization happens at the PreRequestHandlerExecute stage of the HTTP pipeline, any anonymously reachable .aspx page is a potential target. Successful exploitation allows an attacker to execute arbitrary code within the context of the IIS worker process (w3wp.exe), leading to a complete compromise of the web application server.
Who is affected
- Idunno.AntiCsrf versions 0.9.1.0
- Idunno.AntiCsrf versions 0.9.1 Beta
What to do now
- Delete
Idunno.AntiCsrf.dllfrom your application'sbin/directory. - Remove all references to
Idunno.AntiCsrfandAntiCsrfModulefrom yourWeb.configfiles. - Replace the library with
System.Web.Helpers.AntiForgery,ASP.NET Core Anti-Request Forgery (IAntiforgery), orASP.NET WebForms Page.ViewStateUserKeywith MAC-verified/encrypted ViewState. - Audit IIS logs for anomalous POST requests to
.aspxendpoints that return HTTP 302 or HTTP 500 errors with elevatedcs-bytes. - If exploitation is suspected, rotate all secrets in
Web.configandapplicationHost.config, including<machineKey>keys, encryption keys, and database credentials.
What we don't know yet
- The specific nature or target of the observed active exploitation activity.
- The total number of victims or compromised servers.
