Unpatched Idunno.AntiCsrf Flaw Exposes ASP.NET Servers to RCE

Red | Vulnerability
Unpatched Idunno.AntiCsrf Flaw Exposes ASP.NET Servers to RCE | Hive Pro Threat Advisory
Date of publication
November 26, 2026
Admiralty code
A1
TA number
TA2026356
First Seen
November 4, 2026
Exploited in the wild
Yes
Exploit PoC availability
Yes
Affected Products
Idunno.AntiCsrf (Idunno.AntiCsrf.dll) through 0.9.1.0 / 0.9.1 Beta, used in ASP.NET WebForms applications on .NET Framework 4.x / IIS

Summary

CVE-2026-131914 is a critical (CVSS 4.0 9.3), unauthenticated remote code execution flaw in Idunno.AntiCsrf, a long-abandoned anti-CSRF module still found in legacy ASP.NET WebForms applications. The module deserializes the CSRF token from incoming form submissions without any integrity check, so a single crafted POST to an exposed page lets an attacker run code on the web server.

The flaw is already being exploited, a public proof-of-concept is available, and with no patch coming, removing the library is the only fix. A successful attack hands over the server along with its stored secrets, such as machineKey values and database credentials.

CVENameAffected product
CVE-2026-131914Idunno.AntiCsrf Deserialization of Untrusted Data VulnerabilityIdunno (CodePlex) Idunno.AntiCsrf

Vulnerability Details

#1

Idunno.AntiCsrf is a legacy third-party module that adds double-submit cookie CSRF protection to ASP.NET WebForms applications, and CVE-2026-131914 stems from how it validates those tokens. The flaw is classified as CWE-502: Deserialization of Untrusted Data and resides in Idunno.AntiCsrf.dll (version 0.9.1.0 / 0.9.1 Beta), registered in Web.config as Idunno.AntiCsrf.AntiCsrfModule. Its csrfSettings defaults use the cookie __CSRFCOOKIE and the form field __CSRFTOKEN; if the section is omitted entirely, a setter bug overwrites the fallback form field name with the string RaiseException.

#2

The root cause lies in AntiCsrfModule.PreRequestHandlerExecute, which runs for every Page handler that does not implement ISuppressCsrfCheck or carry the SuppressCsrfCheck attribute. On POST, it checks only that the CSRF cookie and form field are non-empty, then deserializes the raw form field with a parameterless ObjectStateFormatter before comparing the result to the cookie. Because that constructor performs no MAC, signature, encryption, or machineKey validation and applies no type restrictions, any Base64-encoded .NET gadget chain in the field is deserialized and executed.

#3

Exploitation needs a single unauthenticated POST with any non-empty CSRF cookie (for example __CSRFCOOKIE=1) and a gadget chain in the CSRF form field; the cookie is never validated as a GUID, and the page does not need a server-side form. Because the sink runs before the Page lifecycle (PreInit, Init, Page_Load), session or login checks inside Page_Load offer no protection, although pipeline-level AuthenticateRequest and AuthorizeRequest rules still run first.

#4

Code executes as the IIS worker process (w3wp.exe), after which the module returns HTTP 302 or HTTP 500 depending on configuration, so the response code does not reveal whether the payload succeeded. The public PoC also offers an out-of-band DNS mode that embeds the server hostname in a lookup to confirm execution.

#5

All versions through 0.9.1.0 and 0.9.1 Beta are affected, including recompiled or customized builds that carry different hashes but retain the vulnerable Deserialize call; the PoC targets WebForms sites on .NET Framework 4.x under IIS. The project was last released in December 2008 and has no maintainer or patch, leaving removal and replacement as the only remediation. The flaw is rated CVSS 4.0 9.3 (Critical), has been exploited in the wild with its root cause identified during an incident response investigation.

Affected products, CPE and CWE
CVE IDAffected productsAffected CPECWE ID
CVE-2026-131914Idunno.AntiCsrf (Through 0.9.1.0 / 0.9.1 Beta)cpe:2.3:a:blowdart:anticsrf:0.9.1:beta:*:*:*:asp.net:*:*cpe:2.3:a:blowdart:anticsrf:0.9.0:beta:*:*:*:asp.net:*:*CWE-502

Recommendations

  1. 01

    Retire Abandoned Dependencies

    Maintain a software bill of materials for legacy web applications and flag components with no active maintainer, such as libraries from the retired CodePlex platform. Plan migration away from end-of-life frameworks and libraries so that future flaws in unsupported code do not leave you without a patch path.

  2. 02

    Inventory Every Use of the Library

    Search all ASP.NET Web.config files and application bin directories for Idunno.AntiCsrf, Idunno.AntiCsrf.dll, and Idunno.AntiCsrf.AntiCsrfModule. Include internally recompiled or customized builds, which will not match the public file hashes but still contain the vulnerable deserialization call. Prioritize internet-facing WebForms applications, since no login is required to reach the flaw.

  3. 03

    Adopt a Supported Anti-CSRF Mechanism

    Replace the library with a maintained anti-forgery implementation, such as System.Web.Helpers.AntiForgery (AntiForgery.GetHtml and AntiForgery.Validate), WebForms Page.ViewStateUserKey combined with MAC-verified and encrypted ViewState, or ASP.NET Core IAntiforgery. This restores CSRF protection without reintroducing an unkeyed deserialization sink.

  4. 04

    Remove Idunno.AntiCsrf

    Delete every add entry that references Idunno.AntiCsrf.AntiCsrfModule from httpModules and modules, remove the csrfSettings section declaration and element from Web.config, strip code references to ISuppressCsrfCheck and SuppressCsrfCheck, and delete Idunno.AntiCsrf.dll from the bin directory. No vendor patch exists, so removal is the only way to close the flaw. CISA has set a November 27, 2026 deadline for federal agencies to remediate this flaw.

  5. 05

    Preserve Evidence Before Changing Anything

    On any application found to use the module, collect IIS logs, Windows event logs, and copies of suspicious files in the webroot before remediation. This keeps the forensic record intact in case the system was already compromised, which is a real possibility given confirmed exploitation.

  6. 06

    Hunt for Signs of Exploitation

    Review IIS logs for unauthenticated POST requests to .aspx endpoints that returned HTTP 302 or HTTP 500 with elevated request sizes, monitor for child processes such as nslookup or cmd.exe spawned by w3wp.exe, and check DNS logs for unexpected lookups of subdomains containing the server's hostname. Inspect webroots for unauthorized files such as web shells.

  7. 07

    Rotate Secrets on Suspect Systems

    On any host showing signs of exploitation, rotate all secrets stored in Web.config and applicationHost.config, including machineKey keys, encryption keys, and database credentials. A stolen machineKey allows forged ViewState and persistent re-entry even after the library is removed.


Indicators of Compromise (IoCs)

TypeValue
SHA256da1efcfed182597ee946a9ef2895dfdfeab2bdff16855aeef01656d8158ead06c5c994891783453ae85f3ef8efb48592b7c560aeb56f531ee9ea5736518246ebaa7bbad4a7ebc38519955ac65517716569508ee4f61fc2f1276086940501e9bf
SHA161c3b6250dd83b2ab018d01975b9123e09c0843fb594518539e2947fceb37befeab417ed30f9b6005f7b617e39cfc6aec0e49b8ba9a63b36ca7ea36a
MD5dba68f9a091242b70b31f12caf90fdf36160ca8df91abd964c93ea98216e81f948acb50c210ede14de69efaf035465ff
FilenameIdunno.AntiCsrf.dll
HTTP RequestPOST /{page}.aspx with Cookie: __CSRFCOOKIE={any non-empty value} and a Base64-encoded ObjectStateFormatter gadget chain in the __CSRFTOKEN form field, returning HTTP 302 or HTTP 500

Note: Hashes and filename identify the vulnerable Idunno.AntiCsrf.dll library, not malware. A match indicates exposure, not compromise. Custom builds will not match.


Potential MITRE ATT&CK TTPs

Initial Access
T1190Exploit Public-Facing Application
Execution
T1059Command and Scripting Interpreter
T1059.003Windows Command Shell
Credential Access
T1552Unsecured Credentials
T1552.001Credentials In Files

References & Patch Details

No patch exists. Idunno.AntiCsrf was last released in December 2008 and has no maintainer, so the only remediation is to remove the module and replace it with a supported anti-forgery mechanism.

References

What Next?

At Hive Pro, it is our mission to detect the most likely threats to your organization and to help you prevent them from happening.

Reduce real exposure. Not just vulnerability volume.