Threats

CISA flags exploited Idunno.AntiCsrf RCE in ASP.NET library abandoned since 2008

Adam Bream
By Adam Bream , Tech Content Writer
CISA flags exploited Idunno.AntiCsrf RCE in ASP.NET library abandoned since 2008
Cover © Anonhaven

CISA added an unpatched Idunno.AntiCsrf vulnerability to its exploited bugs catalog on November 24, 2026. The flaw, CVE-2026-131914, lets an unauthenticated attacker run code on an ASP.NET web server with one POST request. It scores 9.3 under CVSS 4.0, and the library has not had a release since December 2008.

US federal agencies have until November 27 to act, a three-day window. The Known Exploited Vulnerabilities (KEV) entry describes remote code execution via object injection and marks forensic triage as required under Binding Operational Directive (BOD) 26-04. Affected are ASP.NET WebForms applications that load the module, including products that bundle it.

Mandiant found the bug while investigating a real intrusion. Google Cloud's FLARE team completed the root-cause analysis on November 4, and Mandiant published advisory MNDT-2026-0048 on November 18.

Exploitation requires only a single HTTP POST request with no prior authentication or valid CSRF token. Active exploitation in the wild has been observed.

— Mandiant, advisory MNDT-2026-0048, November 18, 2026

Idunno.AntiCsrf is a third-party IHttpModule, a component that hooks into every request in the ASP.NET pipeline. It protects WebForms applications against cross-site request forgery (CSRF) with a double-submit cookie, so a cookie value must match a hidden form field. The project lived on CodePlex (anticsrf.codeplex.com), a Microsoft code hosting site that has since been retired. Mandiant describes it as defunct, with no active maintainer and no official patch.

Administrators register the module in Web.config under <httpModules> and <modules> as Idunno.AntiCsrf.AntiCsrfModule, Idunno.AntiCsrf. Its settings sit in a <csrfSettings> section read by the Idunno.AntiCsrf.Configuration.CsrfSettings class. Defaults come from [ConfigurationProperty] attributes. Unless Web.config overrides them, the cookie is named __CSRFCOOKIE, the form field __CSRFTOKEN, and the detectionResult option is set to RaiseException.

A separate setter bug in CsrfSettings.DetectionResult turned up in the decompiled code. If the <csrfSettings> section is missing from Web.config, it overwrites the fallback form field name with the string "RaiseException".

The vulnerable check runs before any page code executes. AntiCsrfModule.Init subscribes to PreSendRequestHeaders and PreRequestHandlerExecute, and the second handler attaches PageLoad and PagePreRender to each page. PreRequestHandlerExecute fires before IHttpHandler.ProcessRequest and before the PreInit, Init and Page_Load stages of the page lifecycle. Mandiant gives the full order as Init, PreRequestHandlerExecute, PageLoad, PagePreRender and PreSendRequestHeaders.

Pipeline rules such as AuthenticateRequest and AuthorizeRequest still fire earlier. Any .aspx page reachable without a login is exposed, though, and so is any page that checks the session inside Page_Load. A page escapes the check if it implements ISuppressCsrfCheck or carries the [SuppressCsrfCheck] attribute. It does not even need a <form runat="server"> element.

On a POST, the module checks only that the cookie and the form field are not empty. It never confirms that the cookie holds a well-formed GUID, because that GuidTryParse check happens later, in PagePreRender. Instead it creates a parameterless new ObjectStateFormatter(), an instance of System.Web.UI.ObjectStateFormatter, and calls Deserialize() on the form field before comparing anything with the cookie.

Built without parameters, ObjectStateFormatter performs no MAC, signature, encryption or machineKey validation. It also applies no SerializationBinder, the filter that restricts which .NET types may be rebuilt from the data.

An attacker needs any non-empty cookie, such as Cookie: __CSRFCOOKIE=1. The token field then carries a Base64-encoded gadget chain. A gadget chain strings together existing .NET classes so that deserializing them runs the attacker's commands. The code executes inside Deserialize() under w3wp.exe, the IIS worker process, which Mandiant says means complete compromise of the web application server.

The server's reply after the payload fires leaves a trace in the logs. With detectionResult set to "Redirect", the RaiseError routine sends an HTTP 302 to the page set in <csrfSettings errorPage="..." />. With "RaiseException", the module throws PotentialCsrfException instead. That becomes a 302 to the <customErrors defaultRedirect> page when customErrors is active, or an HTTP 500 when its mode is "Off".

Token generation relies on an unkeyed formatter too. When a page with a server-side form renders without the cookie, PagePreRender calls Guid.NewGuid().ToString("D", CultureInfo.InvariantCulture). The value goes out in PreSendRequestHeaders as Set-Cookie: <cookieName>=<GUID>; HttpOnly.

An existing cookie is reused after the GuidTryParse check. Either way, the module writes the hidden field through another new ObjectStateFormatter().Serialize() call.

Mandiant published file hashes for three known builds of Idunno.AntiCsrf.dll version 0.9.1.0.

Build Size (bytes) MD5 SHA-1 SHA-256
0.9.1.0 official 2008 release build 69,632 dba68f9a091242b70b31f12caf90fdf3 61c3b6250dd83b2ab018d01975b9123e09c0843f da1efcfed182597ee946a9ef2895dfdfeab2bdff16855aeef01656d8158ead06
Rebuild of CodePlex 0.9.1 Beta source, Release 69,632 6160ca8df91abd964c93ea98216e81f9 b594518539e2947fceb37befeab417ed30f9b600 c5c994891783453ae85f3ef8efb48592b7c560aeb56f531ee9ea5736518246eb
Rebuild of CodePlex 0.9.1 Beta source, Debug 70,144 48acb50c210ede14de69efaf035465ff 5f7b617e39cfc6aec0e49b8ba9a63b36ca7ea36a aa7bbad4a7ebc38519955ac65517716569508ee4f61fc2f1276086940501e9bf

Hashes identify unmodified copies. Organizations that recompiled or customized the library in-house will see different values but keep the vulnerable ObjectStateFormatter.Deserialize sink. Mandiant advises searching Web.config and the bin/ directory for Idunno.AntiCsrf and Idunno.AntiCsrf.AntiCsrfModule by name.

Mandiant classifies the bug as CWE-502, deserialization of untrusted data. Its CVSS 4.0 vector is 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, and the final E:A metric records that the flaw is being attacked. The advisory rates impact as Critical and exploitability as High. NIST's National Vulnerability Database (NVD) has not provided its own assessment yet.

The NVD record lists versions through 0.9.1 Beta. Its CPE entries name the vendor "blowdart" and cover the 0.9.0 and 0.9.1 beta releases. CISA and Mandiant call the vendor Idunno.

No maintainer exists to request a CVE. Mandiant's own CVE Numbering Authority (CNA) started the assignment on November 11 "for public awareness." Mandiant dates the advisory and the CVE to November 18. The public CVE record appeared on November 19, and NVD agrees.

Five people are credited with the discovery. Genwei Jiang and Dhanesh Kizhakkinan work at Google Cloud FLARE OTF, and Brian Bahtiarian and Lucas Kossack at Mandiant Incident Response. The fifth appears in the advisory as LDB.

watchTowr released an FAQ on the flaw on November 24, the day of the KEV listing. Its timeline notes that CISA's November 23 additions covered MONAI Label and N-able Mail Assure but not this bug. The FAQ marks exploitation as "In The Wild" and says no attribution has been made public.

The vulnerable check runs before the application's own page logic, so it can affect many pages on an affected site, not just ones that use a login form. A successful attack gives the attacker control over the process that runs the website, which can lead to full compromise of the server.

— watchTowr, Idunno.AntiCsrf CVE-2026-131914 FAQ, November 24, 2026

Mandiant has not named the organization whose intrusion exposed the bug, or the attackers behind it. None of the advisories gives a count of vulnerable servers on the internet.

CISA warns that the library may sit inside other software. Its KEV notes say the flaw could affect an open-source component or third-party library "used by different products." No advisory names such products yet, and CISA lists use in ransomware campaigns as "Unknown."

There is no patch, and likely there won't be one. Defenders should audit ASP.NET products to identify ones packaging the Idunno.AntiCSRF library and review their audit logs for signs of exploitation. Where possible, the library should be replaced in affected applications. Where that's not possible, apply WAF rules until alternative workarounds are identified.

— Yordan Ganchev, principal threat intelligence specialist, watchTowr

CISA's entry says the product could be end-of-life. Users are told to discontinue it or move to a supported version. Agencies must apply the vendor's mitigations under BOD 26-04 and follow its guidance for cloud services. If mitigations are unavailable, they must discontinue use of the product.

A module installed to stop forged requests now hands over the server to one forged request. The last release dates from December 2008, and even recompiled copies keep the same unkeyed Deserialize() call.

— AnonHaven Editorial Team

Warning

CVE-2026-131914 has no patch and is exploited in the wild. Removing Idunno.AntiCsrf is the only fix Mandiant offers.

Removal takes four steps in each application. Delete every <add name="..." type="Idunno.AntiCsrf.AntiCsrfModule, Idunno.AntiCsrf" /> entry from <httpModules> and <modules>. Remove both <section name="csrfSettings" ... /> entries from <configSections> and the <csrfSettings> element itself. Then strip code references to ISuppressCsrfCheck or [SuppressCsrfCheck] and delete Idunno.AntiCsrf.dll from bin/.

Mandiant lists three supported replacements. One is System.Web.Helpers.AntiForgery from System.Web.WebPages, with AntiForgery.GetHtml() and AntiForgery.Validate(). Another is Page.ViewStateUserKey combined with MAC-verified or encrypted ViewState on postback forms. The third, for ASP.NET Core, is the built-in IAntiforgery service.

watchTowr recommends preserving logs and suspicious files ahead of any changes, in case forensic review is needed. Mandiant advises reviewing IIS logs for unusual POST requests to .aspx pages. The pattern to look for is HTTP 302 or HTTP 500 responses with elevated cs-bytes values, where that field is logged. watchTowr further suggests restricting direct internet access to internal WebForms applications where possible while remediation is underway.

Compromised servers need all secrets in Web.config and applicationHost.config rotated. That covers <machineKey> keys, encryption keys and database credentials. Mandiant further recommends inspecting webroots for unauthorized files.

Have a story? Become a contributor.

We work with independent researchers and cybersecurity professionals. Send us a tip or submit your article for editorial review.

Questions on the topic

Is there a patch for the Idunno.AntiCsrf vulnerability CVE-2026-131914?
No. Idunno.AntiCsrf has had no release since December 2008 and no maintainer, so Mandiant advises removing the module and switching to a supported anti-CSRF mechanism such as AntiForgery or IAntiforgery.
How can I tell if my ASP.NET server was attacked through Idunno.AntiCsrf?
Search Web.config and bin/ for Idunno.AntiCsrf, then check IIS logs for unusual POST requests to .aspx pages returning HTTP 302 or 500 with elevated cs-bytes. Compromised servers need machineKey keys and database credentials rotated.
When must US federal agencies fix CVE-2026-131914?
CISA added CVE-2026-131914 to its Known Exploited Vulnerabilities catalog on November 24, 2026, with a due date of November 27 and required forensic triage under BOD 26-04.