At a glance
| Item | Detail |
|---|---|
| CVE | CVE-2026-131914 (Mandiant advisory MNDT-2026-0048) |
| Component | Idunno.AntiCsrf, a third-party IHttpModule (Idunno.AntiCsrf.dll) that adds double-submit cookie CSRF protection to ASP.NET WebForms |
| Bug class | Deserialisation of untrusted data (CWE-502) |
| Impact | Unauthenticated remote code execution as the IIS application pool identity (w3wp.exe) |
| Severity | CVSS 4.0 9.3 Critical (AV:N/AC:L/AT:N/PR:N/UI:N, high impact on confidentiality, integrity and availability) |
| Fixed in | None. The project has not been updated since December 2008 |
| Not fixed | All releases, including 0.9.1.0 and 0.9.1 Beta |
| Disclosed | CVE published 19 November 2026; added to CISA KEV 24 November 2026 |
What is wrong
Idunno.AntiCsrf protects WebForms pages by comparing a value in a cookie with a value in a hidden form field. On every POST it reads the form field back with .NET's ObjectStateFormatter, the same serialiser ViewState uses, but it does so without a key and without any MAC check. Whatever the client sends is turned back into .NET objects.
That is a textbook insecure deserialisation bug. An attacker who sends a crafted serialised object in the module's form field, plus any non-empty value in its cookie, can get code to run inside the IIS worker process. No login and no valid CSRF token are needed: one HTTP POST to any page the module protects is enough.
The irony is worth stating plainly: a component added to make the site safer is the way in.
Who is exposed
- Legacy ASP.NET WebForms applications (.NET Framework on IIS) that reference
Idunno.AntiCsrf.dllor registerIdunno.AntiCsrf.AntiCsrfModuleinweb.config. - The module is old, so look in places people forget: line-of-business apps built in the late 2000s, vendor products that bundled it, intranet portals later exposed through a reverse proxy, and copies of old code reused in newer projects.
- ASP.NET Core applications are not affected unless someone has deliberately ported this module; Core does not use
IHttpModule. - Impact depends on the app pool identity. An app pool running as
LocalSystemor a domain account turns this into a much bigger incident.
Is it exploited?
Yes.
- Mandiant (Google Cloud and Mandiant Incident Response) found the flaw while responding to an intrusion and reports active exploitation in the wild. It has not named the attacker.
- watchTowr reported on 24 November that its honeypots are receiving probes that use compiled .NET gadget payloads. The probes confirm success by making the vulnerable page redirect to a unique URL, so expect scanners to find exposed sites quickly.
- CISA listed it in KEV on 24 November 2026. Its note says the product may be end of life and users should stop using it.
How to check
Run these read-only checks on each IIS server. They only search files; they change nothing.
Find the module in configuration and binaries (PowerShell):
# Web roots: adjust paths if your sites live elsewhere
$roots = @('C:\inetpub', 'D:\inetpub', 'D:\Sites')
# web.config files that register the module
Get-ChildItem -Path $roots -Recurse -Filter web.config -ErrorAction SilentlyContinue |
Select-String -Pattern 'Idunno|AntiCsrfModule' -List |
Select-Object Path, LineNumber, Line
# The DLL itself in any bin folder
Get-ChildItem -Path $roots -Recurse -Filter 'Idunno.AntiCsrf*.dll' -ErrorAction SilentlyContinue |
Select-Object FullName, Length, LastWriteTime,
@{n='Version';e={$_.VersionInfo.FileVersion}}
List the physical paths of every IIS site so you know which folders to search:
Import-Module WebAdministration
Get-Website | Select-Object Name, State, PhysicalPath
Check which identity each app pool runs as (to judge blast radius):
Get-ChildItem IIS:\AppPools | Select-Object Name, @{n='Identity';e={$_.processModel.identityType}}
If nothing is found, also search source repositories and build artefacts for Idunno.AntiCsrf, in case a deployment is not on the servers you checked.
How to fix
There is no patched version. Remove the module.
- Remove the module registration from
web.config(<httpModules>and<system.webServer><modules>) and deleteIdunno.AntiCsrf.dllfrombin. Do this as a normal change with a backup. - Replace the CSRF protection so you do not open a different hole:
- WebForms: set
Page.ViewStateUserKeyper user (for example to the session ID) and keep ViewState MAC validation on (it is on by default and should never be turned off), with encrypted ViewState where possible. - MVC on .NET Framework:
System.Web.Helpers.AntiForgery(@Html.AntiForgeryToken()and[ValidateAntiForgeryToken]). - ASP.NET Core: the built-in
IAntiforgeryservice.
- WebForms: set
- Test the forms that relied on the module, then redeploy.
- If the site was internet-facing at any point since early November, treat it as possibly compromised and work through the detection steps below before you call it done.
If you can't remove it yet
- Take the application off the internet or put it behind VPN or an authenticating reverse proxy until the module is gone. This is the only control that reliably stops unauthenticated POSTs.
- WAF rules: block POST requests where the module's form field holds a long Base64 blob, or where the request body is far larger than the form normally sends. This is a stopgap; gadget payloads vary.
- Lower the privilege of the app pool to
ApplicationPoolIdentityand make sure it cannot write to the web root. - Rotate secrets now if you cannot rule out exposure (see below).
Detection ideas
IIS logs. Mandiant suggests looking for unusual POST requests to .aspx pages that return HTTP 302 or 500, especially with a larger than normal request size (cs-bytes, if you log it). A burst of 302s on a form that normally returns 200 matches the redirect check watchTowr describes. A quick read-only search of the default log folder:
Get-ChildItem 'C:\inetpub\logs\LogFiles' -Recurse -Filter *.log |
Select-String -Pattern ' POST .*\.aspx .* (302|500) ' |
Select-Object -First 200 Filename, Line
Microsoft Defender for Endpoint / Sentinel (Advanced Hunting). Two hunts: which servers load the vulnerable DLL, and whether the IIS worker has started shells or other suspicious children.
// 1) Servers where IIS has loaded the Idunno.AntiCsrf module (last 30 days)
DeviceImageLoadEvents
| where Timestamp > ago(30d)
| where FileName =~ "Idunno.AntiCsrf.dll"
| summarize FirstSeen=min(Timestamp), LastSeen=max(Timestamp), Paths=make_set(FolderPath, 10)
by DeviceName, InitiatingProcessFileName
// 2) Suspicious child processes of the IIS worker since 1 November 2026
DeviceProcessEvents
| where Timestamp > datetime(2026-11-01)
| where InitiatingProcessFileName =~ "w3wp.exe"
| where FileName in~ ("cmd.exe","powershell.exe","pwsh.exe","whoami.exe","net.exe","net1.exe",
"certutil.exe","rundll32.exe","regsvr32.exe","mshta.exe","bitsadmin.exe","csc.exe")
| project Timestamp, DeviceName, AccountName, FileName, ProcessCommandLine,
InitiatingProcessCommandLine
| order by Timestamp desc
Image-load telemetry is not complete on every device, so treat query 1 as a starting point and confirm with the file search above. Query 2 catches post-exploitation on any IIS app, not just this one; tune out known-good admin tooling.
Web root changes. Look for new or modified .aspx, .ashx, .asmx, .config or .dll files in web roots since early November, which is the usual sign of a web shell.
If you find signs of exploitation: rotate everything stored in web.config and applicationHost.config (the machineKey validation and decryption keys, other encryption keys, database and service credentials), check the app pool account for misuse elsewhere in the domain, and preserve logs before cleaning up.
Checklist
- Searched every IIS server, source repository and build artefact for
Idunno.AntiCsrfandAntiCsrfModule - Removed the module and DLL from every affected application
- Replaced it with ViewStateUserKey, AntiForgery or IAntiforgery, and tested the forms
- Any app that cannot be fixed today is off the internet or behind authentication
- App pools run with least privilege and cannot write to the web root
- IIS logs reviewed for POSTs to
.aspxreturning 302/500 with large bodies - Defender hunts run for w3wp.exe child processes and new files in web roots
- Secrets in
web.config/applicationHost.configrotated where exposure cannot be ruled out
References
- Mandiant advisory MNDT-2026-0048
- CISA KEV catalog entry: CVE-2026-131914
- NVD: CVE-2026-131914
- The Hacker News: hackers exploit critical ASP.NET anti-CSRF library flaw
- Security Affairs: CISA adds Drupal Core, Idunno AntiCsrf and Optimizely flaws to KEV
- SecurityOnline CVE Watchtower: CVE-2026-131914
- Microsoft Learn: Prevent CSRF attacks in ASP.NET Core
Facts as of 26 November 2026. We will update this post if a fix, attribution or new indicators are published.