TUE 24 NOV 2026
Home / Vulnerabilities

Attackers Exploit Critical Idunno.AntiCsrf Flaw to Execute Code on ASP.NET Servers Without Authentication

Attackers are exploiting CVE-2026-131914, a critical insecure deserialization flaw in an abandoned ASP.NET library that can expose servers to remote code execution.

AC By
23 Nov 2026, 10:45 · 3 min read
Attackers are actively exploiting a critical ASP.NET AntiCsrf vulnerability that allows unauthenticated remote code
Attackers are actively exploiting a critical ASP.NET AntiCsrf vulnerability that allows unauthenticated remote code… Image: Securityweek

Attackers are actively exploiting a critical ASP.NET AntiCsrf vulnerability that allows unauthenticated remote code execution on servers running applications with the affected third-party library. Tracked as CVE-2026-131914, the flaw carries a CVSS 4.0 score of 9.3, and no official security patch is available.

Mandiant confirmed the exploitation activity in an advisory published November 18, following the discovery of the vulnerability during an incident response investigation. The security company has not identified the attackers or disclosed how many organizations have been affected.

The vulnerability resides in Idunno.AntiCsrf, a library designed for older ASP.NET WebForms applications. It does not affect ASP.NET WebForms itself.

According to the National Vulnerability Database, affected releases extend through 0.9.1 Beta, including the 0.9.1.0 DLL.

Insecure deserialization exposes applications to remote code execution

Idunno.AntiCsrf was developed to protect applications against cross-site request forgery (CSRF), an attack that tricks an authenticated user’s browser into submitting unintended requests.

The library implements this protection by comparing a token submitted through a form against a corresponding cookie. However, the vulnerability occurs because the module processes the submitted token using .NET’s ObjectStateFormatter before establishing whether the supplied data is trustworthy.

This creates an insecure deserialization vulnerability, classified as CWE-502. By supplying malicious serialized data, an unauthenticated remote attacker can potentially cause the server to execute arbitrary code.

The timing of this processing creates an additional security concern. Idunno.AntiCsrf handles requests before the ASP.NET WebForms page reaches its Page_Load event. Consequently, applications that enforce authentication only at that stage may expose the vulnerable module to requests from unauthenticated users.

Authentication and authorization controls implemented earlier in the ASP.NET request pipeline can prevent anonymous requests from reaching the module.

If exploitation succeeds, malicious code executes under the permissions of the IIS worker process, w3wp.exe.

The issue also differs from previously reported ASP.NET machine-key attacks. Those attacks involved abusing exposed machine keys to make manipulated ViewState data appear legitimate. CVE-2026-131914 instead involves the third-party module deserializing submitted data without first validating its authenticity. Simply rotating ASP.NET machine keys will therefore not address the underlying vulnerability.

Administrators should remove the abandoned library

Mandiant says the project’s last official build dates to December 2008, highlighting the risks of retaining unsupported components in production applications.

Administrators should begin by identifying installations of Idunno.AntiCsrf across their IIS-hosted applications. Mandiant recommends searching Web.config files for Idunno.AntiCsrf and AntiCsrfModule, as well as checking application bin directories for Idunno.AntiCsrf.dll.

Searching by filename and file hash is advisable because organizations may have rebuilt or customized the original library.

Once identified, administrators should remove the module registration, its associated configuration settings and the vulnerable DLL. They should replace its functionality with a supported anti-forgery implementation, preferably using built-in framework protections where available, as recommended by OWASP.

Security teams should also examine IIS logs for unusual POST requests targeting .aspx pages, particularly requests followed by HTTP 302 redirects or HTTP 500 errors. Unusually large request sizes may provide additional investigative leads.

These indicators do not independently confirm exploitation. However, an error response or redirect does not establish that an attack failed, because the vulnerable processing may occur before the server generates its response.

If exploitation is suspected, organizations should preserve relevant logs, inspect web directories for unauthorized files and investigate IIS for unexpected modules or modifications.

Recovery should also include rotating machine keys, encryption keys and database credentials stored in Web.config or applicationHost.config. Removing the vulnerable component closes the identified entry point but does not eliminate malicious files or persistence mechanisms that may already have been installed.

Administrators should prioritize identifying affected applications, removing Idunno.AntiCsrf and investigating potential compromise rather than relying on machine-key rotation alone.

AC

Covers zero-days, CVEs, security advisories and software patches. Alex reports on newly discovered vulnerabilities, actively exploited flaws and security updates, explaining their potential impact on affected systems.

Related stories