Google’s Mandiant security researchers are warning organizations to stop using a discontinued ASP.NET anti-CSRF library after discovering a critical vulnerability that attackers are actively exploiting.

The flaw, tracked as CVE-2026-131914, has a CVSS score of 9.3 out of 10 and could allow unauthenticated attackers to execute arbitrary code on vulnerable web servers.

The vulnerability affects Idunno.AntiCsrf, an open-source ASP.NET HTTP module designed to protect WebForms applications against Cross-Site Request Forgery (CSRF) attacks. Mandiant says versions 0.9.1.0 and 0.9.1 Beta are affected.

The issue lies in the way the library handles incoming HTTP POST requests. Its AntiCsrfModule component uses .NET’s System.Web.UI.ObjectStateFormatter to deserialize untrusted CSRF form token data without verifying its authenticity through a cryptographic message authentication code (MAC) or digital signature.

An attacker can exploit this weakness by submitting a non-empty value in the configured CSRF cookie alongside a Base64-encoded .NET ObjectStateFormatter gadget chain in the corresponding form field. The request can trigger arbitrary code execution in the context of the IIS worker process, w3wp.exe, potentially resulting in a complete compromise of the web application server.

Exploitation does not require authentication or a valid CSRF token, according to Mandiant. The researchers also confirmed that the vulnerability is already being exploited in the wild, although Google has not disclosed details about the attacks or the organizations targeted.

The vulnerability was discovered by LDB, Genwei Jiang, Dhanesh Kizhakkinan, Brian Bahtiarian, and Lucas Kossack from Google Cloud and Mandiant Incident Response.

READ
Wellington IT Breach Exposes Irish Credit Union Payee Data

Idunno.AntiCsrf was designed as a third-party security component for ASP.NET WebForms, but the open-source project has been inactive since December 2008. There is no official patch available, prompting Mandiant to recommend that organizations discontinue its use rather than wait for an update.

Organizations running legacy ASP.NET WebForms applications can replace the library with System.Web.Helpers.AntiForgery or use Page.ViewStateUserKey alongside properly MAC-verified and encrypted ViewState. Applications built with ASP.NET Core can use the platform’s built-in IAntiforgery functionality.

Administrators should search ASP.NET Web.config files and application bin directories for references to Idunno.AntiCsrf or AntiCsrfModule. Mandiant also recommends checking IIS logs for unusual POST requests to .aspx endpoints, including requests that return HTTP 302 or HTTP 500 responses and show unusually high cs-bytes values, where those values are logged.

If exploitation is suspected, organizations should treat the affected server as compromised. Mandiant recommends rotating secrets stored in Web.config and applicationHost.config, including machineKey values, encryption keys, and database credentials, and inspecting web directories for unauthorized files.

The disclosure adds to a growing list of remotely exploitable flaws being abused against internet-facing services. Abijita has also reported on a critical PHP remote code execution vulnerability and an Apache Roller remote code execution flaw exploited in attacks.


Buy ExpressVPN with PayPal or Credit Card

Google’s technical disclosure is available in the Mandiant vulnerability advisory.

Advertisement