Skip to content

the CSRF protection is the RCE. it is called Idunno, it was last released in 2008, and Mandiant says it is being exploited. hunt CVE-2026-131914

Hunt Idunno.AntiCsrf CVE-2026-131914: ASP.NET Deserialization RCE, No Patch

the CSRF protection is the RCE. it is called Idunno, it was last released in 2008, and Mandiant says it is being exploited. hunt CVE-2026-131914

somewhere in your estate there may be an ASP.NET WebForms app that a contractor built around 2009, and in its web.config there may be a line that registers a module called Idunno.AntiCsrf. it was put there to make the app safer. Mandiant’s FLARE team found, during an incident response, that the module deserializes the anti-CSRF form token with no MAC, no signature and no binder, before the page even loads. one unauthenticated POST to an anonymously reachable .aspx page is enough for code execution as the IIS worker. there is no patch, because there is no maintainer. this guide finds it, hunts for use, and removes it.

Lab-only / defensive use. config and binary inventory, IIS log hunting, webroot change review, and Mandiant’s removal steps. the downloadable kit reads files you give it. it sends no requests, contains no gadget chains or payloads, and we do not describe how to build an exploit. the vendor-neutral summary is enough: an unkeyed ObjectStateFormatter deserializes attacker input. if you know what that sentence means, you already know why there is no “hardening” option.
The short version. CVE-2026-131914, Mandiant advisory MNDT-2026-0048. affected: Idunno.AntiCsrf.dll version 0.9.1.0 / 0.9.1 Beta (NVD: “versions through 0.9.1 Beta”), plus anything recompiled from that source. vulnerable sink: AntiCsrfModule.PreRequestHandlerExecute calls new ObjectStateFormatter().Deserialize() on the CSRF form field of incoming POSTs to WebForms pages. CVSS 4.0 9.3 from Mandiant (the CNA), with E:A: attacked. Mandiant: “Active exploitation in the wild has been observed.” fixed version: none. the project is defunct, last released December 2008 on the since-retired CodePlex. remediation is removal and replacement. not in CISA KEV as of this morning.

why the safety module is the hole

Idunno.AntiCsrf is an IHttpModule that implements double-submit cookie CSRF protection for WebForms. the idea is fine. set a random value in a cookie, put the same value in a hidden form field, compare them on POST. an attacker on another site cannot read your cookie, so they cannot forge the field.

the implementation, per Mandiant’s decompilation:

  • on render, the module puts a GUID in a cookie and serializes that GUID into the hidden form field with new ObjectStateFormatter().Serialize().
  • on POST, before the page lifecycle starts, it checks only that the cookie and the form field are both non-empty. it does not check the cookie is a well-formed GUID at that point.
  • then it calls new ObjectStateFormatter().Deserialize() on the form field, and only after that compares the result with the cookie.

the parameterless ObjectStateFormatter constructor does no MAC check, no signature check, no encryption, no machineKey validation, and enforces no SerializationBinder. Mandiant: supplying any non-empty cookie and a Base64-encoded .NET ObjectStateFormatter gadget chain in the configured form field executes arbitrary code inside Deserialize() under w3wp.exe. the comparison that was supposed to protect you happens after the code already ran. the bouncer checks your ID after you are behind the bar.

the exposure conditions, exactly

this matters, because “every ASP.NET app” is wrong and “only login pages” is also wrong. from MNDT-2026-0048:

  • the module has to be registered (in <httpModules> and/or <modules> as Idunno.AntiCsrf.AntiCsrfModule, Idunno.AntiCsrf).
  • the target is any System.Web.UI.Page handler that neither implements ISuppressCsrfCheck nor is decorated with [SuppressCsrfCheck].
  • the sink runs at the HttpApplication pipeline level, before Page_Load. pipeline-level auth (AuthenticateRequest / AuthorizeRequest) runs earlier, so a page actually protected by pipeline auth is a different story. but any anonymously reachable .aspx page, or any page that does its session check inside Page_Load, exposes the sink on POST.
  • the page does not need a <form runat="server">. a POST is enough.
  • no prior authentication and no valid CSRF token. one HTTP POST.

defaults, per Mandiant: cookie name __CSRFCOOKIE, form field __CSRFTOKEN, detectionResult RaiseException, unless web.config says otherwise. and a bonus bug: if the <csrfSettings> section is omitted entirely, a setter bug overwrites the fallback form field name with the string "RaiseException". so even the defaults are not the defaults. your log hunting should not assume the field name.

what the failed check looks like from outside

after the deserialize, the module decides the token is wrong and complains. Mandiant spells out the response codes, which is what makes this huntable:

  • detectionResult="Redirect": HTTP 302 to <csrfSettings errorPage="..." />
  • detectionResult="RaiseException" with customErrors active: HTTP 302 to <customErrors defaultRedirect="..." />
  • RaiseException with customErrors mode="Off": HTTP 500

so the signature is a POST to .aspx that gets 302 or 500, with a request body much bigger than your normal form posts (a serialized object chain is not small). Mandiant’s wording: “anomalous POST requests to .aspx endpoints returning HTTP 302 or HTTP 500 with elevated cs-bytes (where logged).” note “where logged.” IIS does not log cs-bytes by default. you may be about to find out you cannot answer the question.

timeline

  • December 2008: last official release, 0.9.1 Beta, on CodePlex.
  • 2026-11-04: FLARE completes root-cause analysis during an incident response investigation.
  • 2026-11-11: Mandiant, as CNA, starts CVE assignment “for public awareness (defunct upstream project; no vendor or maintainer patch available).”
  • 2026-11-18: MNDT-2026-0048 and CVE-2026-131914 published. NVD shows it received 2026-11-19 02:17 UTC, which is the evening of November 18 Pacific.
  • 2026-11-23: The Hacker News coverage. Mandiant has not published details of the in-the-wild activity, and THN says it has asked.

credits, per Mandiant: LDB, Genwei Jiang and Dhanesh Kizhakkinan (FLARE OTF), Brian Bahtiarian and Lucas Kossack (Mandiant Incident Response).

lab setup

you need a copy of each webroot (or a read-only mount), the IIS W3C logs for the period you care about, and Kali or any box with Python 3. do not run hunting scripts on the production web server if you can avoid it. if it is compromised you want it untouched for IR, and if it is not you do not want a sloth’s Python on it anyway.

unzip the kit below, cd anticsrf/lab, and every screenshot in this guide is reproducible against the synthetic files. run any script with no arguments for usage.

step 1: find the module, the DLL, and the code that references it

Mandiant published SHA-256 hashes for three known builds: the official 0.9.1.0 release and Release and Debug rebuilds of the 0.9.1 Beta source. it also warns that internal recompiles will have different hashes “while retaining the vulnerable ObjectStateFormatter.Deserialize sink,” so search by name too. the kit does all three: web.config lines that register the module or its settings, DLLs by hash and by name, and source files that implement ISuppressCsrfCheck or use [SuppressCsrfCheck] (which will break the build once you remove the DLL, so you want the list now). it also lists which configs carry secrets, without printing them.

Kali terminal running anticsrf-131914-check.py scan on a lab webroot, flagging four web.config lines that register the Idunno.AntiCsrf module and csrfSettings section, a bin Idunno.AntiCsrf.dll matched by name, a code file implementing ISuppressCsrfCheck, and listing the portal web.config as a secret-bearing config to rotate if exploitation is found.

the lab DLL is a text stub, so it matches by name and not by Mandiant hash. on a real box with the 2008 build you would see the hash match line.

step 2: hunt for use

two checks. first, the IIS log pattern above: POST to .aspx, status 302 or 500, cs-bytes over a threshold you pick from your own baseline (the kit defaults to 3000, tune it). if your logs include cs(Cookie), a CSRF cookie value that is not a GUID is interesting, since the real module always sets a GUID. second, executable web content that changed after the date you care about. Mandiant tells exploited environments to “inspect webroots for unauthorized files,” and a new .aspx nobody deployed is the classic follow-on.

Kali terminal running anticsrf-131914-check.py iislog on a synthetic IIS log, flagging two POSTs from one documentation-range IP to login.aspx and status.aspx returning 302 and 500 with cs-bytes over 9000 and a CSRF cookie set to 1, then newfiles mode listing a help_d41.aspx created after November 4.

what the lab shows: a normal login POST of 1460 bytes with a GUID cookie is ignored. a 482 KB upload that returned 200 is ignored. two fat POSTs with __CSRFCOOKIE=1 that got 302 and 500, followed a minute later by a GET to a freshly created help_d41.aspx, are not. that is the order of events you are looking for. it is synthetic. yours will be messier.

if you find a hit, stop treating it as a vulnerability ticket. it is an incident. preserve the box, pull memory if you can, and follow your IR plan. Mandiant’s post-compromise list: rotate all secrets in Web.config and applicationHost.config, “including <machineKey> keys, encryption keys, and database credentials,” and inspect webroots. a stolen machineKey is its own problem, because it lets an attacker forge the things ASP.NET signs with it, so rotation is not optional.

step 3: remove it, and replace it in the same change

Mandiant’s removal steps, in order:

  1. remove every <add ... type="Idunno.AntiCsrf.AntiCsrfModule, Idunno.AntiCsrf" /> from <httpModules> and <modules>
  2. remove the <section name="csrfSettings" ... /> from <configSections> and the <csrfSettings ... /> element
  3. remove code references to ISuppressCsrfCheck or [SuppressCsrfCheck]
  4. delete Idunno.AntiCsrf.dll from bin/

the kit’s remover does steps 1 and 2 on a copy of web.config, dry-run by default, backup before --apply, then you re-scan to prove it is gone:

Kali terminal copying a lab web.config to a staging folder, running anticsrf-131914-remove.py with apply, listing the two module registrations, the csrfSettings section and element it removed, the backup path and next steps, then re-running the scan on the staging folder showing zero Idunno.AntiCsrf indicators.

now the part people skip. removing the module removes your CSRF protection. you were relying on it, badly, but you were relying on it. Mandiant names the supported replacements:

  • System.Web.Helpers.AntiForgery (AntiForgery.GetHtml() and AntiForgery.Validate() from System.Web.WebPages)
  • WebForms Page.ViewStateUserKey combined with MAC-verified or encrypted ViewState on postback forms
  • ASP.NET Core IAntiforgery, if this is the moment the app finally gets rewritten. it is not. but it could be.

ship the removal and the replacement together, recycle the app pool, and re-run the scan against the deployed webroot, not just your staging copy.

if you cannot remove it today

there is no vendor workaround, because there is no vendor. Mandiant’s guidance is removal. anything else is a guess, so label it as one: blocking anonymous POSTs to .aspx pages at a WAF or reverse proxy, or putting the whole app behind authentication at the proxy, would shrink who can reach the sink. neither fixes it, and both will break something, probably the login page. treat them as hours, not weeks.

the industry part, since we have to

this bug is a perfect museum piece. a security control, written to stop one class of attack, introduces a worse class of attack, gets abandoned, the hosting platform shuts down, and the DLL lives on in bin/ folders for nearly eighteen years because nobody inventories what their web apps load. then an incident response team finds it the hard way and has to become the CNA because there is nobody left to call.

every SBOM pitch deck says “know your components.” almost none of them would have found this, because it is not in a package manager. it is a file somebody copied into a folder in 2009. your software inventory is only as good as the oldest contractor’s habits. go look in bin/.

download the Kali defensive kit

idunno-anticsrf-cve-2026-131914-defensive-kit.zip contains anticsrf-131914-check.py (scan, iislog and newfiles modes, with Mandiant’s three SHA-256 hashes), anticsrf-131914-remove.py (dry-run by default, backs up before editing), a README, and the synthetic lab webroot and IIS log from the screenshots. no network connections, no gadget chains, no payloads. there is no fixed version to check for, because none exists. lab-only, defensive use.

sources