← All playbooks
CriticalExploited vuln · 2026-11-24

Idunno.AntiCsrf CVE-2026-131914: abandoned ASP.NET anti-CSRF library gives one-request unauthenticated RCE, exploited in the wild, now in CISA KEV, no patch

SockAnalyst · Security+ certified analyst.

What happened

Mandiant (Google Cloud) published advisory MNDT-2026-0048 on November 18, 2026 for CVE-2026-131914 (CVSS 4.0 9.3, CWE-502), an insecure deserialization flaw in Idunno.AntiCsrf, a third-party ASP.NET IHttpModule that adds double-submit-cookie CSRF protection to WebForms applications. On any HTTP POST to a WebForms page that is not exempted, the module's PreRequestHandlerExecute handler checks only that the CSRF cookie and form field are non-empty, then deserializes the form field with an unkeyed .NET ObjectStateFormatter (no MAC, signature, encryption or machineKey check) before comparing it to the cookie. An attacker can send any non-empty cookie (e.g. __CSRFCOOKIE=1) plus a Base64 .NET gadget chain in the form field (default name __CSRFTOKEN) and run code as the IIS worker process (w3wp.exe) with a single unauthenticated request, even on pages without a server-side form. Mandiant says active exploitation in the wild has been observed; FLARE found the root cause on November 4 during an incident response investigation. The project was last released in December 2008 on the retired CodePlex site and has no maintainer, so there is no patch. Google gave no details on the attacks or attacker when asked by The Hacker News. CISA added CVE-2026-131914 to the Known Exploited Vulnerabilities catalog on November 24, 2026 (federal due date November 27, forensic triage required), noting the product may be end-of-life and advising users to discontinue it.

Update (2026-11-25): Update Nov 25: CISA added CVE-2026-131914 to the Known Exploited Vulnerabilities catalog on November 24, 2026 (catalog 2026.11.24) with a November 27 federal due date and forensic triage required under BOD 26-04; ransomware use is listed as unknown. Because the library is end-of-life with no patch, CISA's required action is to apply mitigations or discontinue use. watchTowr reports exploit probes on its honeypots that use compiled .NET gadget payloads to check whether a host is vulnerable: on a vulnerable server the payload makes the app redirect to a unique attacker URL that confirms code execution. Add to your hunt: POSTs carrying the CSRF form field answered with an unexpected HTTP 302 to an external domain. Action unchanged: find and remove Idunno.AntiCsrf from every WebForms app, replace it with a supported anti-forgery control, and WAF-filter long Base64 CSRF-field values until it is gone.

Who's affected

Any organization running legacy ASP.NET WebForms applications (in-house or vendor-built) that register Idunno.AntiCsrf.AntiCsrfModule in Web.config, including recompiled or customized internal copies. Anonymously reachable .aspx pages, or pages that only check login inside Page_Load, are exposed. Compromise gives the attacker the web server and the secrets in its configuration (machineKey, encryption keys, database credentials).

✅ Fix / patch

  • Find it: search every Web.config and bin/ folder on IIS servers for 'Idunno.AntiCsrf', 'AntiCsrfModule' and 'csrfSettings', and ask software vendors whether their WebForms products bundle it. Known public DLL hashes are listed below; custom builds will differ.
  • Remove it (no patch exists): delete the <add ... type="Idunno.AntiCsrf.AntiCsrfModule, Idunno.AntiCsrf" /> entries from <httpModules> and <modules>, the csrfSettings section and element, any ISuppressCsrfCheck / [SuppressCsrfCheck] references, and Idunno.AntiCsrf.dll from bin/.
  • Replace it with a supported anti-forgery mechanism: System.Web.Helpers.AntiForgery, WebForms Page.ViewStateUserKey with MAC-verified/encrypted ViewState, or ASP.NET Core IAntiforgery.
  • If you cannot remove it immediately, block or WAF-filter POSTs to affected apps that carry the configured CSRF form field with a long Base64 value, and restrict the app to trusted networks.
  • If exploitation is suspected, rotate every secret in Web.config and applicationHost.config (machineKey keys, encryption keys, database credentials) and inspect webroots for unauthorized files (Mandiant).

🔎 Quick hunt check

Mandiant published no attacker IPs, payload hashes or web shell names. Hunt for the exploit pattern it describes: (1) IIS log POSTs to .aspx endpoints that return HTTP 302 or 500 with unusually large cs-bytes, especially to apps that use Idunno.AntiCsrf; (2) w3wp.exe spawning cmd.exe, powershell.exe or other shells; (3) new .aspx/.ashx/.asmx files written to webroots. The DLL hashes below identify the vulnerable library (use for inventory), not malware.

MITRE ATT&CK: T1190, T1505.003, T1059.001, T1552.001

IOCs

  • Files / paths: Vulnerable library (inventory, not malware) Idunno.AntiCsrf.dll 0.9.1.0 official 2008 build SHA-256 da1efcfed182597ee946a9ef2895dfdfeab2bdff16855aeef01656d8158ead06, Vulnerable library rebuild of 0.9.1 Beta source (Release) SHA-256 c5c994891783453ae85f3ef8efb48592b7c560aeb56f531ee9ea5736518246eb, Vulnerable library rebuild of 0.9.1 Beta source (Debug) SHA-256 aa7bbad4a7ebc38519955ac65517716569508ee4f61fc2f1276086940501e9bf, Default cookie name __CSRFCOOKIE and form field __CSRFTOKEN (unless overridden in Web.config)

No attacker IOCs published. The hashes are Mandiant's published hashes of the vulnerable Idunno.AntiCsrf.dll builds, for finding the library; internally recompiled copies will have different hashes. T1505.003/T1059.001 reflect likely post-exploitation on IIS, not activity Mandiant described in detail.

Hunt queries

Starting points built only from published indicators. Field names vary; tune before use.

```Idunno.AntiCsrf CVE-2026-131914: IIS POSTs to .aspx returning 302/500 with large request bodies (Mandiant detection guidance) + w3wp.exe spawning shells, since Nov 1, 2026```
index=* earliest=11/01/2026:00:00:00 ((sourcetype=ms:iis:* OR sourcetype=iis) cs_method=POST) OR (tag=process (parent_process_name=w3wp.exe OR ParentImage="*\\w3wp.exe"))
| eval page=lower(coalesce(cs_uri_stem, uri_path, "")), status=coalesce(sc_status, status), reqbytes=tonumber(coalesce(cs_bytes, bytes_in, 0)), child=lower(coalesce(process_name, Image, ""))
| eval signal=case(like(page, "%.aspx") AND status IN ("302","500",302,500) AND reqbytes>=4000, "aspx_post_302_500_large_body", match(child, "(cmd|powershell|pwsh|cscript|wscript|rundll32|certutil|whoami)\.exe$"), "w3wp_spawned_shell")
| where isnotnull(signal)
| stats count min(_time) as first_seen max(_time) as last_seen values(page) as pages values(status) as statuses max(reqbytes) as max_req_bytes values(c_ip) as client_ips values(CommandLine) as cmdlines by signal, host
| convert ctime(first_seen) ctime(last_seen)
| sort signal - count
``` Tune reqbytes to your app baseline. Inventory: search Web.config/bin for Idunno.AntiCsrf / AntiCsrfModule and DLL SHA-256 da1efcfed182597ee946a9ef2895dfdfeab2bdff16855aeef01656d8158ead06 ```
// Idunno.AntiCsrf CVE-2026-131914: large POSTs to .aspx answered 302/500 (IIS W3CIISLog) + w3wp.exe child shells + vulnerable DLL on disk, since Nov 1, 2026
let Since = datetime(2026-11-01);
let DllHashes = dynamic(["da1efcfed182597ee946a9ef2895dfdfeab2bdff16855aeef01656d8158ead06","c5c994891783453ae85f3ef8efb48592b7c560aeb56f531ee9ea5736518246eb","aa7bbad4a7ebc38519955ac65517716569508ee4f61fc2f1276086940501e9bf"]);
union isfuzzy=true
 (W3CIISLog | where TimeGenerated >= Since and csMethod == "POST" and csUriStem endswith ".aspx" and scStatus in ("302","500") and csBytes >= 4000
  | summarize Count = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), Detail = make_set(csUriStem, 20), Src = make_set(cIP, 20) by Computer
  | extend Check = "aspx POST 302/500 large body"),
 (DeviceProcessEvents | where TimeGenerated >= Since and InitiatingProcessFileName =~ "w3wp.exe" and FileName in~ ("cmd.exe","powershell.exe","pwsh.exe","cscript.exe","wscript.exe","rundll32.exe","certutil.exe","whoami.exe")
  | summarize Count = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), Detail = make_set(ProcessCommandLine, 20), Src = make_set(AccountName, 5) by Computer = DeviceName
  | extend Check = "w3wp.exe spawned shell"),
 (DeviceFileEvents | where TimeGenerated >= ago(30d) and (FileName =~ "Idunno.AntiCsrf.dll" or SHA256 in (DllHashes))
  | summarize Count = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), Detail = make_set(FolderPath, 20), Src = make_set(SHA256, 5) by Computer = DeviceName
  | extend Check = "Idunno.AntiCsrf.dll present (vulnerable library)")
| order by Check asc, Count desc

See all hunt queries →

⏱ CISA deadline

CVE-2026-131914CVSS 9.3 Critical (v4.0, CNA)
--
Federal due 2026-11-27 · CISA KEV catalog

Sources

Related playbooks

Get the SockAnalyst Weekly Brief free, every Thursday.

One email a week with the KEV deadlines, patches and hunt queries that matter. New playbooks still post here on the site every morning.

Subscribe free

Read the free weekly pack →