Hackers are currently exploiting a significant vulnerability in the Idunno.AntiCsrf library, a third-party tool used by older ASP.NET WebForms applications. According to a November 18 advisory from Mandiant, this flaw allows attackers to execute code on targeted servers without needing to log in.
Details of the Vulnerability
The flaw, identified as CVE-2026-131914, carries a CVSS 4.0 score of 9.3, indicating its severity. Presently, there is no official patch available. The National Vulnerability Database has marked versions up to 0.9.1 Beta as affected, including the 0.9.1.0 DLL. This issue stems from the outdated library rather than ASP.NET WebForms itself.
Mandiant discovered this vulnerability during an incident response investigation, but details about the attackers or the number of affected organizations remain undisclosed.
Understanding the Flaw’s Mechanism
The purpose of Idunno.AntiCsrf is to prevent cross-site request forgery (CSRF) by verifying a form token against a cookie. The vulnerability arises due to the way the library reads the token, using .NET’s ObjectStateFormatter to deserialize incoming data into objects before checking its trustworthiness. This weakness is known as insecure deserialization, or CWE-502.
The flaw is particularly concerning because the module processes the request before reaching the Page_Load stage in WebForms. As a result, a site might appear secure while still exposing vulnerable code if session checks occur only at that point.
Mitigation and Security Measures
Administrators are advised to inspect their Web.config files for mentions of Idunno.AntiCsrf or AntiCsrfModule and examine bin folders for Idunno.AntiCsrf.dll. Identifying the library by name and file hash is crucial, as teams might have modified the library. Removing the module and replacing it with a supported anti-forgery mechanism is recommended. OWASP suggests using built-in framework protections where possible.
Review IIS logs for unusual POST requests that result in HTTP 302 redirects or HTTP 500 errors. These could be indicators of attempted exploitation, particularly if the request size is abnormal. Even if a server returns an error or redirect, it does not guarantee the attack was halted, as unsafe processing might occur before IIS sends a response.
Future Security Outlook
If exploitation is suspected, preserving logs, inspecting web directories for unauthorized files, and reviewing IIS for unexpected modules is crucial. Although no specific web shell was reported by Mandiant, past IIS web shell attacks highlight the importance of thorough inspections.
As a precautionary measure, rotate machine keys, encryption keys, and database credentials stored in Web.config or applicationHost.config. While removing the vulnerable library blocks the entry point, it does not eliminate any potential backdoor an attacker might have installed.
