November 26, 2026
Seventeen Years in a bin Folder
The module did its job in the only way a seventeen-year-old library can: it kept running. The pages that were safe were the ones that hadโฆ

By Raj Namdev
7 min read
The module did its job in the only way a seventeen-year-old library can: it kept running. The pages that were safe were the ones that had switched it off.
30-second version:_ CISA gave US federal agencies until November 27 to deal with CVE-2026โ131914, a remote code execution in an ASP.NET anti-CSRF module. The module's last release was compiled on December 15, 2008, at 09:10:26. It has no patch, and there will never be one, because nobody has maintained it since 2009. Here's what most coverage skipped: the code that executes your payload is the CSRF check itself, which means the pages that were "protected" were the exposed ones. I pulled the archived source and the installer, traced the exact call, and wrote the hunt you can run against your own webroots โ because your scanner has nothing to match._
A file called module sits in an installer cabinet with a timestamp of 09:10:26 on December 15, 2008. It is 69,632 bytes. CodePlex logged that installer's upload at 01:16:07 Pacific time the same morning.
On November 24, 2026, the vulnerability inside it was added to CISA's Known Exploited Vulnerabilities catalog with a due date of November 27. Three days, for a binary old enough to have a teenage driver's permit.
The request that starts it
Everything the attacker sends fits in one HTTP request to any .aspx page the site will answer without a login:
POST /account/login.aspx HTTP/1.1
Host: app.example.com
Cookie: __CSRFCOOKIE=1
__CSRFTOKEN=<base64 ObjectStateFormatter payload>POST /account/login.aspx HTTP/1.1
Host: app.example.com
Cookie: __CSRFCOOKIE=1
__CSRFTOKEN=<base64 ObjectStateFormatter payload>No session, no valid token, no form on the page required. The module looks at two things: is the cookie non-empty, and is the form field non-empty. 1 is non-empty. The Base64 blob is non-empty. Mandiant scores the flaw 9.3 under CVSS 4.0; NVD scores it 9.8 under 3.1.
The cookie is not checked against a GUID before the form field is parsed. That check exists in the same file โ GuidTryParse โ but it runs later, in PagePreRender, when the module is writing a token out, not when it is reading one in.
The lines that matter
From the archived 0.9.1 Beta source, AntiCsrfModule.cs, lines 103 to 126, whitespace trimmed:
HttpCookie csrfCookie = context.Request.Cookies[CsrfSettings.Settings.CookieName];
string csrfFormField = context.Request.Form[CsrfSettings.Settings.FormFieldName];
if (string.IsNullOrEmpty(csrfFormField) && (csrfCookie == null || string.IsNullOrEmpty(csrfCookie.Value)))
RaiseError(new PotentialCsrfException(...), context);
if (csrfCookie == null || string.IsNullOrEmpty(csrfCookie.Value))
RaiseError(new PotentialCsrfException(...), context);
if (string.IsNullOrEmpty(csrfFormField))
RaiseError(new PotentialCsrfException(...), context);
string tokenField = string.Empty;
ObjectStateFormatter stateFormatter = new ObjectStateFormatter();
try
{
tokenField = stateFormatter.Deserialize(context.Request.Form[CsrfSettings.Settings.FormFieldName]) as string;
}
catch
{
RaiseError(new PotentialCsrfException(...), context);
}
if (csrfCookie.Value != tokenField)
RaiseError(new PotentialCsrfException(...), context);HttpCookie csrfCookie = context.Request.Cookies[CsrfSettings.Settings.CookieName];
string csrfFormField = context.Request.Form[CsrfSettings.Settings.FormFieldName];
if (string.IsNullOrEmpty(csrfFormField) && (csrfCookie == null || string.IsNullOrEmpty(csrfCookie.Value)))
RaiseError(new PotentialCsrfException(...), context);
if (csrfCookie == null || string.IsNullOrEmpty(csrfCookie.Value))
RaiseError(new PotentialCsrfException(...), context);
if (string.IsNullOrEmpty(csrfFormField))
RaiseError(new PotentialCsrfException(...), context);
string tokenField = string.Empty;
ObjectStateFormatter stateFormatter = new ObjectStateFormatter();
try
{
tokenField = stateFormatter.Deserialize(context.Request.Form[CsrfSettings.Settings.FormFieldName]) as string;
}
catch
{
RaiseError(new PotentialCsrfException(...), context);
}
if (csrfCookie.Value != tokenField)
RaiseError(new PotentialCsrfException(...), context);Read the order. Three guards, all of them "is this empty." Then a deserializer. Then a string comparison. Then an error.
The comparison is the security control. It happens after the object graph has already been rebuilt in the worker process.
What the formatter was for
ObjectStateFormatter is the serializer ASP.NET uses for ViewState. Its parameterless constructor takes no key, sets no MAC, installs no SerializationBinder restrictions, and applies no encryption. That is not a flaw in the class โ the class is a serialization primitive. When the framework uses it for a page, the surrounding pipeline supplies the machine key.
The module supplies nothing. It calls the public no-argument constructor and hands it Request.Form[...].
So the form field is not a token. It is a serialized object graph, and the only validation before it runs is that it is not an empty string. Whatever Deserialize does, happens โ inside w3wp.exe, with the application's identity, before the page code the request was aimed at.
The check is the payload
The module shipped as protection, and the protection is the exploit. A page that used the module had the sink. A page that opted out โ via ISuppressCsrfCheck or [SuppressCsrfCheck] โ returned before the POST block and never reached the deserializer.
That inversion has a practical consequence for hunting. The endpoints to test are not "the ones with forms" but every page that did not turn the module off โ in most deployments, every page.
The attribute-based opt-out was there from 0.9.0 โ line 78, checked before anything else. 0.9.1 added an interface version for pages with no code-behind, which is the entire reason a two-day follow-up release exists. Every POST to every page that did not opt out hit the same block.
The error page is the receipt
After Deserialize returns, the module compares the result to the cookie. Unless your payload deserializes to a string that equals the cookie value, the comparison fails and RaiseError fires: a 302 to the configured errorPage, or an unhandled exception and a 500.
That is why detection guidance points at logs rather than at responses. A successful compromise looks like a rejected request. Mandiant flags POSTs to .aspx endpoints returning 302 or 500 with elevated cs-bytes; watchTowr points at the same redirects and errors with oddly large responses. The gadget ran during deserialization; the rejection is just the module noticing afterwards that the object it built was not a matching string.
Three snapshots, one unchanged line
The CodePlex archive keeps all three source trees: 0.9.0, 0.9.1, and Trunk. I diffed them.
0.9.0 Beta (Dec 13, 2008) โ the sink call, lines 116โ119 0.9.1 Beta (Dec 15, 2008) โ the sink call, lines 103โ126 Trunk (final source) โ the sink call, lines 154โ157
The call moved down the file as code was added above it; the call itself is byte-identical in all three. Nobody touched it in any snapshot the archive kept.
The last release was December 2008
The archive's release table has two entries and no more:
Dec 13, 2008โ0.9.0 Beta installer uploaded, 16:40 PT Dec 15, 2008โ0.9.1 Beta installer uploaded, 01:16 PT; module timestamped 09:10:26 Apr 17, 2009 โ two config bugs filed, both planned for "0.9.2 Beta" Sep 10, 2009 โ issue #14105 filed: module misses forged post-backs using verbs other than GET Dec 2017 โ CodePlex archive snapshot taken Nov 4, 2026 โ Mandiant FLARE completes root-cause analysis during an incident response Nov 18, 2026 โ advisory MNDT-2026โ0048 published Nov 19, 2026 โ CVE-2026โ131914 published Nov 24, 2026 โ added to CISA KEV; due November 27
0.9.2 Beta never shipped. The tracker still lists issues from 2009 in "Proposed" state. The final source in Trunk still carries two configuration setters that write to the wrong property key โ DetectionResult and ErrorPage both assign into the form-field-name slot โ which is the kind of bug that gets fixed in a week when anyone is still looking.
Nobody was looking for seventeen years.
Your scanner has nothing to match
Here is the measurement that matters more than the CVE.
Idunno.AntiCsrf is not a NuGet package. I checked the flat-container index (/v3-flatcontainer/idunno.anticsrf/index.json) and got a 404 BlobNotFound. A search of nuget.org for the exact package ID returns zero hits.
The project's own documentation explains why. The install instructions say: "Add a reference the AntiCSRF assembly, or copy the assembly to your web applications BIN folder." Distribution was a zip, an MSI, and a bin directory.
That means no manifest entry for a composition scanner to read, no version constraint to bump, no advisory to attach to a package node, no deprecation flag to set on a package that does not exist. The only artifacts are 69,632 bytes of DLL and one line in a Web.config. A scanner that inventories packages will report this application as clean, every time, for as long as it runs.
The hunt, run
So the hunt has to be file-based. I wrote a short scanner that walks a webroot, looks for bin/Idunno.AntiCsrf.dll, flags any DLL of 69,632 or 70,144 bytes regardless of name, hashes it against the three builds Mandiant published, and greps every *.config for the module type or the csrfSettings section.
$ python3 anticsrf-hunt.py /srv/apps
[CRITICAL] app-c/bin/legacy-csrf.dll: 69632 bytes, b5822048397cfb7eโฆ โ size matches a known build, hash does not (custom rebuild)
app: app-b
app: app-a
[CRITICAL] app-a/Web.config:4: <section name="csrfSettings" type="Idunno.AntiCsrf.Configuration.CsrfSettings, Idunno.AntiCsrf"
[CRITICAL] app-a/Web.config:9: <add name="AntiCSRF" type="Idunno.AntiCsrf.AntiCsrfModule, Idunno.AntiCsrf"/>
[CRITICAL] app-a/bin/Idunno.AntiCsrf.dll: 69632 bytes, b5822048397cfb7eโฆ โ size matches a known build, hash does not (custom rebuild)
2 webroots scanned, 4 findings$ python3 anticsrf-hunt.py /srv/apps
[CRITICAL] app-c/bin/legacy-csrf.dll: 69632 bytes, b5822048397cfb7eโฆ โ size matches a known build, hash does not (custom rebuild)
app: app-b
app: app-a
[CRITICAL] app-a/Web.config:4: <section name="csrfSettings" type="Idunno.AntiCsrf.Configuration.CsrfSettings, Idunno.AntiCsrf"
[CRITICAL] app-a/Web.config:9: <add name="AntiCSRF" type="Idunno.AntiCsrf.AntiCsrfModule, Idunno.AntiCsrf"/>
[CRITICAL] app-a/bin/Idunno.AntiCsrf.dll: 69632 bytes, b5822048397cfb7eโฆ โ size matches a known build, hash does not (custom rebuild)
2 webroots scanned, 4 findingsThat output came from a tree I built to test the scanner โ one app with the module registered, one with a framework anti-forgery module, one with the DLL renamed but not recompiled. I do not have a Windows or .NET host here, so I could not run IIS, and I could not unpack the installer's cabinet, so the official binary never touched this machine. The size branch and the custom-rebuild branch are exercised; the exact-hash branch is the same three-line comparison against Mandiant's published digests, and it stayed dark.
The rename case is the one I would not skip in real life. Mandiant publishes three hashes: the official 2008 build, and release and debug rebuilds of the same source. Everything else is a custom rebuild โ same size, different bytes, same sink. A hash-only check gives you a false negative on exactly the organizations that compiled it themselves.
What three days actually buys
There is no patch to apply, so the KEV clock is not a patching deadline. It is a removal deadline.
The minimum viable remediation is short and unpleasant: delete the module registration from <httpModules> and <modules>, delete the csrfSettings section and its configSections entry, delete the DLL from bin/, and replace the protection with something that has a key โ System.Web.Helpers.AntiForgery, or WebForms ViewState with ViewStateUserKey and MAC enabled.
Then rotate. The sink runs in the worker process, so treat machineKey values, connection strings, and anything else the app identity can read as exposed on any host where you find the DLL and unexplained 302/500 POSTs.
If the application cannot be rebuilt in three days, the honest interim answer is not a WAF rule tuned to a payload you have not seen. It is to take the app off the internet or put it behind authentication that runs before PreRequestHandlerExecute.
The module did its job in the only way a seventeen-year-old library can: it kept running. The pages that were safe were the ones that had switched it off.
Sources
- CVE-2026โ131914 โ NVD record, published 2026โ11โ19, CWE-502, CVSS 3.1 9.8 (NVD) and CVSS 4.0 9.3 (Mandiant).
- Mandiant advisory MNDT-2026โ0048 โ root cause, the
ObjectStateFormatter.Deserializesink, the three published DLL hashes, disclosure timeline. - CISA KEV catalog โ CVE-2026โ131914, dateAdded 2026โ11โ24, dueDate 2026โ11โ27, cwes:
["CWE-502"]. - watchTowr FAQ โ exploitation in the wild, honeypot probes, log signature, remediation order.
- SecurityWeek, 2026โ11โ25 โ CISA addition, "no patch, and likely there won't be one."
- AntiCSRF source archive (CodePlex) โ
AntiCsrfModule.cslines 103โ126 (0.9.1), lines 116โ119 (0.9.0), lines 154โ157 (Trunk);CsrfSettings.cs; releaseList.json timestamps. (Site now requires basic auth:codeplex/microsoft; source zip is inside the archive's download endpoint.) - Project wiki โ install instructions: "copy the assembly to your web applications BIN folder" (inside the archive zip,
wiki/downloadWiki.zip). - NuGet v3 API โ
/v3-flatcontainer/idunno.anticsrf/index.jsonreturns 404 BlobNotFound; search forpackageid:Idunno.AntiCsrfreturns 0 hits (checked 26 Nov 2026).