JupiteX Get the app
Defence & Security24 Nov 2026 · about 6 min

Hackers Exploit Critical ASP.NET Anti-CSRF Library Flaw Allowing Unauthenticated RCE

The brief

One unauthenticated HTTP POST can be enough to trigger remote code execution through Idunno.AntiCsrf. The flaw matters because the module processes incoming form data without checking that the data has a cryptographic signature or MAC. Mandiant says exploitation requires no prior authentication or valid CSRF token. For example, an attacker can send any non-empty value in the configured CSRF cookie and put a Base64-encoded .NET ObjectStateFormatter gadget chain in the configured CSRF form field. When the vulnerable module handles the POST to an ASP.NET WebForms page, it deserializes that untrusted value. Mandiant says this can execute code as the IIS worker process, w3wp.exe. The affected versions are 0.9.1.0 and 0.9.1 Beta. The project is defunct, with no update since December 2008, and there is no official patch described. Organizations are advised to stop using it, replace it, and check IIS logs for suspicious POST requests to .aspx endpoints.

01

How can an attacker exploit this flaw with a single HTTP POST request?

One unauthenticated HTTP POST can be enough to trigger remote code execution through Idunno.AntiCsrf. The flaw matters because the module processes incoming form data without checking that the data has a cryptographic signature or MAC. Mandiant says exploitation requires no prior authentication or valid CSRF token.

For example, an attacker can send any non-empty value in the configured CSRF cookie and put a Base64-encoded .NET ObjectStateFormatter gadget chain in the configured CSRF form field. When the vulnerable module handles the POST to an ASP.NET WebForms page, it deserializes that untrusted value. Mandiant says this can execute code as the IIS worker process, w3wp.exe.

The affected versions are 0.9.1.0 and 0.9.1 Beta. The project is defunct, with no update since December 2008, and there is no official patch described. Organizations are advised to stop using it, replace it, and check IIS logs for suspicious POST requests to .aspx endpoints.

02

What is Idunno.AntiCsrf, and what was it designed to protect?

Idunno.AntiCsrf is a third-party ASP.NET IHttpModule that was designed to provide Cross-Site Request Forgery protection for ASP.NET WebForms applications. It uses a double-submit cookie approach, in which a cookie and form data are involved in the protection. This matters because the library sits in the path of incoming requests to WebForms pages.

The vulnerable component is Idunno.AntiCsrf.AntiCsrfModule. When handling HTTP POST requests to ASP.NET WebForms endpoints, it deserializes submitted CSRF form token data with an unkeyed .NET System.Web.UI.ObjectStateFormatter. It does not verify a cryptographic MAC or signature first, allowing attacker-supplied data to be processed unsafely.

The project is open source but defunct, and it has not been updated since December 2008. The flaw affects versions 0.9.1.0 and 0.9.1 Beta. With no official patch described, organizations still using the module are advised to discontinue it and adopt an actively supported anti-CSRF alternative.

03

How severe is the flaw, and which versions of the library are affected?

CVE-2026-131914 has a CVSS score of 9.3 out of 10.0, placing it at the critical end of the scale cited in the article. Mandiant gave it a “High” exploitability assessment. The severity reflects a path to arbitrary remote code execution through a vulnerable ASP.NET module.

The affected releases are Idunno.AntiCsrf version 0.9.1.0 and version 0.9.1 Beta. In those versions, the AntiCsrfModule deserializes untrusted form-token data using an unkeyed ObjectStateFormatter without cryptographic MAC or signature verification. An attacker can exploit that behavior with a single HTTP POST, without prior authentication or a valid CSRF token.

The article reports active exploitation in the wild and says there is no official patch. The open-source project is defunct and has not been updated since December 2008. Organizations using either affected version are advised to discontinue the library, replace it with a supported alternative, and investigate for signs of exploitation.

04

Why can deserializing untrusted data without verifying its signature let an attacker run code?

Serialization turns data into a form that software can later reconstruct as an object. Deserialization reverses that process. In general, if an application reconstructs objects from untrusted data without checking its authenticity, an attacker may be able to supply data crafted to trigger unsafe behavior. That general risk is the basis of this flaw.

In Idunno.AntiCsrf, the module uses an unkeyed .NET System.Web.UI.ObjectStateFormatter to deserialize incoming CSRF form-token data. It does not verify a cryptographic MAC or signature first. Mandiant says an attacker can place a Base64-encoded ObjectStateFormatter gadget chain in the configured form field, alongside a non-empty value in the CSRF cookie. Processing that data can execute code.

The reported outcome is arbitrary remote code execution in the context of the IIS worker process, w3wp.exe. The flaw affects versions 0.9.1.0 and 0.9.1 Beta, and Mandiant says exploitation has been observed in the wild. Organizations are advised to stop using the library and investigate potentially affected systems.

05

What could an attacker do after gaining code execution in an IIS worker process?

The flaw can let an attacker execute arbitrary code in the context of the IIS worker process, w3wp.exe. Mandiant describes the result as complete compromise of the web application server. That is serious because the vulnerable request is handled by a process running the application, not merely rejected as an invalid form submission.

The article does not list specific attacker actions after code execution. It does warn that environments showing evidence of exploitation should rotate secrets stored in Web.config and applicationHost.config. The named examples include machineKey keys, encryption keys, and database credentials. It also advises inspecting webroots for unauthorized files.

Organizations should first determine whether they use Idunno.AntiCsrf and review IIS logs for anomalous POST requests to .aspx endpoints. The library has no official patch described, so the advised response is to discontinue it and replace it with a supported alternative. The article does not provide further details about the observed attackers or their activity.

06

What supported alternatives can organizations use instead of Idunno.AntiCsrf?

Organizations still using Idunno.AntiCsrf are advised to discontinue it because the project is defunct and the article reports no official patch. The module was designed to provide CSRF protection for ASP.NET WebForms, but its unsafe deserialization flaw creates a route to remote code execution. Replacing it with an actively supported option is the recommended direction.

The article names three alternatives: System.Web.Helpers.AntiForgery; ASP.NET WebForms Page.ViewStateUserKey combined with MAC-verified or encrypted ViewState on postback forms; and ASP.NET Core Anti-Request Forgery, IAntiforgery. These are the specific options it recommends. The ViewState option is described as a combination, not as Page.ViewStateUserKey alone.

Organizations should also audit ASP.NET Web.config files and bin directories for references to Idunno.AntiCsrf or AntiCsrfModule. The article recommends reviewing IIS logs for anomalous POST requests to .aspx endpoints. Where exploitation is evident, it advises rotating stored secrets and inspecting webroots for unauthorized files.

07

What is a CSRF attack, and how do anti-CSRF protections help prevent it?

As general background, a Cross-Site Request Forgery attack tricks a user's browser into sending a request to a site where the user is already authenticated. The request can appear to come from that user's browser, even though the user did not intend to perform the action. The source article identifies CSRF as the threat Idunno.AntiCsrf was designed to address, but does not define the attack in detail.

Anti-CSRF protections add checks to help a site distinguish its own legitimate form submissions from forged requests. Idunno.AntiCsrf used a double-submit cookie approach for ASP.NET WebForms applications. In the reported flaw, however, the module deserialized untrusted form-token data without cryptographic MAC or signature verification, so the protection itself became an attack path.

The article recommends replacing the defunct library with an actively supported alternative, including System.Web.Helpers.AntiForgery or ASP.NET Core IAntiforgery. For WebForms, it also names Page.ViewStateUserKey combined with MAC-verified or encrypted ViewState. These options are the article's suggested replacements; it does not compare their implementation details.

This brief was written by AI from the original reporting and checked by other models. Names, figures and quotes come from the source; read it for full context.

Read more in the JupiteX app

Pulse is free. New stories every 4 hours, each one broken into the questions that explain it.

Or read more news on the web