Critical ASP.NET AntiCsrf Flaw Under Attack, Allowing Hackers to Execute Code Without Login

Blog WriterCybersecurity News - Original News Source is cybersecuritynews.com


Attackers are exploiting a critical flaw in Idunno.AntiCsrf, a third-party library used by older ASP.NET WebForms applications. Mandiant confirmed active exploitation in its November 18 advisory and said the flaw lets remote attackers run code on affected servers without logging in.

The vulnerability, tracked as CVE-2026-131914, has a CVSS 4.0 score of 9.3. No official patch is available. The National Vulnerability Database lists releases through 0.9.1 Beta as affected, including the 0.9.1.0 DLL. The flaw is in the abandoned library, not in ASP.NET WebForms itself.

Mandiant traced the issue during an incident response investigation but did not identify the attackers or disclose how many organizations were affected.

ASP.NET AntiCsrf Flaw Under Attack

Idunno.AntiCsrf was designed to stop cross-site request forgery, or CSRF, which tricks a signed-in user’s browser into taking an action they did not intend. The library checks a form token against a cookie.

The flaw is in how it reads the token: it uses .NET’s ObjectStateFormatter to turn data from the request into objects before verifying that the data can be trusted. This weakness is known as insecure deserialization, or CWE-502.

The order matters. The module processes the request before the WebForms page reaches Page_Load. A site can therefore appear to require a login while still exposing the vulnerable code if its only session check happens at that stage.

Authentication and authorization enforced earlier in the ASP.NET request pipeline can block anonymous access before the module runs. If exploitation succeeds, the code runs with the permissions of the IIS worker process, w3wp.exe.

This is different from the ASP.NET machine-key attacks previously covered by Cyber Security News. Those attacks relied on exposed keys to make tampered ViewState data look valid. Here, the third-party module does not verify the token’s authenticity before reading it. Rotating machine keys alone will not fix that flaw.

Check IIS for Compromise

Mandiant says the project’s last official build dates to December 2008. Administrators should search Web.config files for Idunno.AntiCsrf or AntiCsrfModule and check application bin folders for Idunno.AntiCsrf.dll.

Search by name as well as by file hash, since teams may have rebuilt or customized the library. Remove the module registration, its settings, and the DLL, then replace its protection with a supported anti-forgery mechanism. OWASP recommends using the framework’s built-in protection where available.

Review IIS logs for unusual POST requests to .aspx pages that returned HTTP 302 redirects or HTTP 500 errors, especially when the logged request size was larger than normal. These are leads, not proof of compromise.

An error or redirect does not mean the server stopped the attack, because the unsafe processing can occur before IIS returns the response.

If evidence points to exploitation, preserve logs, inspect web directories for unauthorized files, and review IIS for unexpected modules. Previous IIS web shell attacks show why that review matters, though Mandiant did not report a specific web shell in this case.

Rotate machine keys, encryption keys, and database credentials stored in Web.config or applicationHost.config as part of recovery. Removing the library closes the entry point, but it does not remove any backdoor an attacker may have already installed.

Give your SOC the alert context on the latest threats to stop incidents quickly -> Integrate Threat Intel from 16K SOCs

The post Critical ASP.NET AntiCsrf Flaw Under Attack, Allowing Hackers to Execute Code Without Login appeared first on Cyber Security News.