CVE-2026-131914 - Idunno AntiCsrf Deserialization of Untrusted Data Vulnerability

CVE-2026-131914

Idunno.AntiCsrf - Pre-Auth RCE via Unkeyed Deserialization of the CSRF Token

What is Idunno.AntiCsrf?

Idunno.AntiCsrf is a small open-source HTTP module for classic ASP.NET Web Forms that adds cross-site request forgery protection to pages that do not have it. Dropped into Web.config as an IHttpModule, it issues a token cookie (__CSRFCOOKIE by default) and a matching hidden form field (__CSRFTOKEN), then compares the two on every POST. Pages can opt out by implementing ISuppressCsrfCheck or carrying the [SuppressCsrfCheck] attribute.

The project's value to an attacker comes entirely from where it sits. A CSRF module runs before the page's own code, on unauthenticated requests, by design: that is the whole point of a request-forgery check. Anything it does with attacker-supplied token data happens pre-authentication, inside the IIS worker process, on every POST the application accepts. The library was last released as 0.9.1 Beta, with an official build dated December 2008, on the since-retired CodePlex platform. It has no maintainer, no repository that accepts issues, and no mechanism to ship a fix.

Overview

The module validates its own CSRF token by deserializing it. In AntiCsrfModule.PreRequestHandlerExecute, the handler checks only that the cookie and the form field are both non-empty, then passes the raw form value to Deserialize() on a parameterless new ObjectStateFormatter(). That constructor applies no MAC, no signature, no encryption, and no machineKey validation, and it is given no SerializationBinder to restrict which types may be reconstructed. Attacker-controlled bytes become attacker-chosen .NET objects before any token comparison takes place, so the integrity check the module exists to perform never runs.

Exploitation is a single unauthenticated HTTP POST carrying a compiled .NET gadget chain in __CSRFTOKEN and any non-empty __CSRFCOOKIE value, Mandiant's example being literally __CSRFCOOKIE=1. Code runs as the application pool identity in w3wp.exe. The target page does not need a <form runat="server"> block or any CSRF-relevant functionality; any anonymously reachable .aspx page that accepts POST is a viable entry point.

Mandiant published the flaw on 2026-11-18 already reporting active exploitation in the wild, which it discovered while investigating a victim network rather than through routine research. The two published scores differ by CVSS version: Mandiant, as CNA, rates it 9.3 critical under CVSS 4.0 (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A), while NVD scores it 9.8 critical under CVSS 3.1. Both agree it is unauthenticated, network-reachable, low-complexity and total-impact.

Affected Versions

Product Vulnerable Fixed
Idunno.AntiCsrf 0.9.1.0 / 0.9.1 Beta (official December 2008 build) None. Project is defunct; remove the module
Idunno.AntiCsrf Recompiled or customized builds from CodePlex sources that retain the deserialization call None

The official release ships Idunno.AntiCsrf.dll at 69,632 bytes with SHA-256 da1efcfed182597ee946a9ef2895dfdfeab2bdff16855aeef01656d8158ead06. Mandiant's advisory also lists hashes for two known source rebuilds, which matters because in-house recompiles carry different hashes but the same sink.

Technical Details

The weakness is CWE-502, deserialization of untrusted data: the application rebuilds .NET objects from bytes a remote user supplied, without first proving those bytes came from the application itself. ObjectStateFormatter is the same serializer ASP.NET uses for ViewState, where tampering is normally prevented by a machineKey-derived MAC. Constructed without a Page to inherit that configuration from, it validates nothing, which turns a standard ViewState-style gadget chain into direct code execution.

Attack characteristics are about as favourable as they get for an attacker: no authentication, no user interaction, no prior knowledge of the application, low complexity, and a single request with no chaining required. A secondary configuration bug widens the default exposure: if the <csrfSettings> section is omitted from Web.config, the CsrfSettings.DetectionResult setter overwrites the fallback FormFieldName with the string "RaiseException", so deployments that never configured the module are still reachable, just under a differently named field.

Discovery

Mandiant credits LDB; Genwei Jiang and Dhanesh Kizhakkinan of Google Cloud's FLARE Offensive Task Force; and Brian Bahtiarian and Lucas Kossack of Mandiant Incident Response. FLARE completed the root-cause analysis on 2026-11-04 while supporting an incident response engagement, Mandiant began CVE assignment as CNA on 2026-11-11, and the advisory went out on 2026-11-18. Google's threat intelligence team has declined to add detail about the intrusion that surfaced it.

Exploitation Context

Mandiant stated that exploitation in the wild had been observed at the time of publication, without naming a victim sector, campaign or actor. On 2026-11-24, as reported by The Hacker News, watchTowr said its honeypots were catching probes for the flaw using what researcher Yordan Ganchev described as creative compiled .NET gadget payloads, with the payloads triggering a redirect to a unique URL so the operator could confirm which hosts were under control. That pattern - confirm-then-return - is characteristic of mass scanning ahead of targeted follow-up.

No threat actor has been attributed, no ransomware use is recorded, and no chaining with other CVEs has been reported. Public proof-of-concept repositories appeared on GitHub around the time of the KEV listing, so the barrier to opportunistic exploitation is now effectively zero. Exposure is impossible to count reliably: the module is a DLL in an application's bin/ directory, not a product version that fingerprints over the network, so no scan-based estimate exists. The population is likely small but long-lived, concentrated in legacy Web Forms applications that have been running untouched since the late 2000s.

Remediation

  1. There is no patch and there will not be one. Remove the library. Delete the <add ... type="Idunno.AntiCsrf.AntiCsrfModule, Idunno.AntiCsrf" /> entries from both <httpModules> and <modules> in Web.config, remove the csrfSettings section declaration and element, strip any ISuppressCsrfCheck or [SuppressCsrfCheck] references from code, and delete Idunno.AntiCsrf.dll from bin/.
  2. Replace the CSRF protection rather than simply dropping it: System.Web.Helpers.AntiForgery for MVC and Web Pages, Page.ViewStateUserKey with MAC-verified or encrypted ViewState for Web Forms, or IAntiforgery on ASP.NET Core.
  3. Find it first. Audit every ASP.NET Web.config and bin/ directory in the estate for references to Idunno.AntiCsrf or AntiCsrfModule, and match DLL hashes against the advisory rather than trusting file names, since recompiled copies are equally vulnerable.
  4. Where removal cannot happen immediately, block POST requests carrying __CSRFTOKEN or __CSRFCOOKIE at a WAF or reverse proxy, and restrict the application to known networks. Treat this as a holding action, not a fix.
  5. Review IIS logs for POST requests to .aspx endpoints returning HTTP 302 or 500 with unusually large cs-bytes values, the signature of an oversized serialized payload.
  6. If compromise is plausible, rotate every secret the worker process could read: <machineKey> validation and decryption keys, other keys in Web.config and applicationHost.config, and database credentials. Inspect webroots for unauthorized files.
  7. Federal civilian agencies had until 2026-11-27 to act under CISA BOD 26-04. Because no fix exists, compliance here means discontinuing use of the product, which is the path CISA's required action names explicitly.

Key Details

PropertyValue
CVE ID CVE-2026-131914
Vendor / Product Idunno - AntiCsrf
NVD Published2026-11-19
NVD Last Modified2026-11-24
CVSS 3.1 Score9.8
CVSS 3.1 VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SeverityCRITICAL
CWE CWE-502 find similar ↗
CISA KEV Added2026-11-24
CISA KEV Deadline2026-11-27
Known Ransomware Use No

CVSS 3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 26-04 Deadline: 2026-11-27. Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA's BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA's "Forensics Triage Requirements" (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.

Timeline

DateEvent
2008-12-01Final release of Idunno.AntiCsrf, version 0.9.1 Beta, published on the now-retired CodePlex
2026-11-04Google Cloud FLARE OTF completes root-cause analysis of the deserialization sink during a Mandiant incident response engagement
2026-11-11Mandiant, acting as CNA, begins CVE assignment
2026-11-18Mandiant publishes advisory MNDT-2026-0048 reporting active exploitation in the wild
2026-11-19CVE-2026-131914 published
2026-11-24watchTowr reports honeypot captures of exploitation attempts using compiled .NET gadget payloads
2026-11-24Added to CISA Known Exploited Vulnerabilities catalog
2026-11-27CISA BOD 26-04 remediation deadline