CISA Lists an Exploited ASP.NET Library Flaw That Has No Patch and a Day-After-Thanksgiving Deadline, but Mandiant’s Hash List Skips the 0.9.0 Beta Build, NVD Files the Library Under a Different Vendor Name, and Default Installs Use a Form Field Called RaiseException
CVE-2026-131914, an unauthenticated deserialization flaw in a 2008 ASP.NET anti-CSRF module with no patch, is on CISA’s exploited list with a November 27 deadline, and our run of both released DLLs...
CISA added CVE-2026-131914 to its Known Exploited Vulnerabilities (KEV) catalog on Tuesday, November 24, and gave federal civilian agencies until Friday, November 27, the day after U.S. Thanksgiving, to act. The flaw is an unauthenticated deserialization bug in Idunno.AntiCsrf, an ASP.NET WebForms module that Mandiant calls “a defunct open-source project” with “no active maintainer or official patch available”. It sits in the same KEV batch as the entries from our Optimizely report and our Drupal report.
Table Of Content
- The record so far
- What the module does
- What we ran
- Two small programs
- Where the public record points defenders the wrong way
- The hash list covers one release
- NVD and CISA name the library differently, and no package manager lists it
- A default install uses a different form field
- Reports differ on small points
- How much exploitation is documented
- What to do now
- Find every copy
- Keep the sites off the open internet while you work
- Reject malformed tokens before the module sees them
- Remove the module in the right order
- Replace the protection
- Hunt for signs of use
- If you find signs of use
- What we could not check
- Sources
Coverage so far repeats Mandiant’s note and watchTowr’s statements, so we went one level down. We read the 2008 source and installers from the CodePlex Archive, checked the CVE, NVD, KEV, EPSS and NuGet records, and ran both released DLLs in a small ASP.NET host with benign requests. Three things in the public record would send a defender after the wrong string: the published hash list covers one release, NVD files the library under a different vendor name, and a default install names its form field RaiseException instead of the documented __CSRFTOKEN. The last section has a read-only scanner, an IIS log filter and an interim guard that rejects malformed tokens before the module sees them, each tested on dummy data or in the lab.
The record so far
Times are UTC. The CodePlex Archive stamps its 2008 to 2014 events in US Pacific time, so those rows are converted. We read the CVE, NVD and KEV records between about 19:10 and 19:20 UTC on November 25.
| When | What happened | Source |
|---|---|---|
| Dec 14 and 15, 2008 | The installers for 0.9.0 Beta and 0.9.1 Beta are uploaded to CodePlex. 0.9.1 Beta is the last release. | CodePlex Archive release list |
| Apr 18, 2009 | Two work items about the settings bug described below are reported and closed within about two minutes, each marked “Resolved with changeset 33281” and planned for a 0.9.2 Beta. The archive lists no such release. | CodePlex Archive, items 13039 and 13040 |
| Mar 18, 2014 | The last work item in the archive is filed. It has no comments and stays in the Proposed state. | CodePlex Archive, item 25278 |
| Nov 4, 2026 | Mandiant’s FLARE team completes root-cause analysis “during incident response investigation”. | Mandiant note |
| Nov 11 | Mandiant, acting as CVE Numbering Authority, starts CVE assignment. | Mandiant note |
| Nov 18, 05:18:41 | The CVE ID is reserved. | CVE record |
| Nov 19, 01:26:41 | The advisory is committed to GitHub, which is the evening of November 18 in US time zones. The CVE record is published at 01:29:12 and NVD’s copy at 02:17:20. | GitHub API, CVE record, NVD |
| Nov 23 | CISA’s KEV additions that day do not include it. | watchTowr FAQ |
| Nov 24 | CISA adds it to KEV with a due date of November 27, flags it for forensic triage and records known ransomware use as Unknown. CISA’s enrichment of the CVE record reads exploitation active, automatable yes, technical impact total. | KEV feed, CVE record |
| Nov 25, 04:56 to 05:18 | The CVE record is updated with CISA’s data. NVD shows the entry as Analyzed, with a CVSS 3.1 score of 9.8 from NIST next to Mandiant’s CVSS 4.0 score of 9.3. | CVE record, NVD |
CISA’s entry says the product “could be end-of-life (EoL) and/or end-of-service (EoS)” and tells users to “discontinue use and/or transition to a supported version”. Its required action includes “discontinue use of the product if mitigations are unavailable”. For this entry that is the whole remedy, because there is no vendor to issue a fix. We found the same end-of-life sentence on 29 of the 1,796 entries in the feed. AngularJS has the same shape, an abandoned web library still in production, and our AngularJS analysis counts what that costs.
What the module does
AntiCsrfModule is an ASP.NET HTTP module that protects WebForms pages with a double-submit token. On a page that has a server-side form it sets a cookie named __CSRFCOOKIE to a new GUID if the browser has none, and writes a hidden form field holding the same GUID, run through ObjectStateFormatter, the class ASP.NET uses to encode view state. On every POST to a page handler it reads both values back. The order of operations is the problem. This is the 0.9.1 Beta source, shortened: the null check and the three empty-value checks are cut.
// AntiCsrfModule.cs, release 0.9.1 Beta, PreRequestHandlerExecute (shortened)
if (context.Request.HttpMethod.Equals("POST", StringComparison.Ordinal))
{
HttpCookie csrfCookie = context.Request.Cookies[CsrfSettings.Settings.CookieName];
string csrfFormField = context.Request.Form[CsrfSettings.Settings.FormFieldName];
// RaiseError if the cookie or the form field is missing or empty
string tokenField = string.Empty;
ObjectStateFormatter stateFormatter = new ObjectStateFormatter();
try
{
tokenField = stateFormatter.Deserialize(context.Request.Form[CsrfSettings.Settings.FormFieldName]) as string;
}
catch
{
RaiseError(new PotentialCsrfException(Properties.Resources.exceptionMessageDeserializationError), context);
}
if (csrfCookie.Value != tokenField)
{
RaiseError(new PotentialCsrfException(Properties.Resources.exceptionMessageNotMatched), context);
}
}
The only checks before the Deserialize call are that the cookie and the field are not empty. The formatter is built with its parameterless constructor, which adds no message authentication code and no encryption, so any process can produce a value it accepts. The handler fires before the page’s own code runs, which is why one POST is enough. Mandiant notes that authentication rules enforced earlier in the pipeline still apply, but any page that is reachable anonymously, or that checks the session inside Page_Load, exposes the sink. The check covers System.Web.UI.Page handlers only, and a page is exempt only if it implements ISuppressCsrfCheck, an interface added in 0.9.1 Beta, or carries the SuppressCsrfCheck attribute.
What we ran
We pulled both DLLs out of the CodePlex Archive installers (they are OLE compound files, so we read the cabinet stream with the Python olefile package and expanded it with Windows’ expand.exe; the archive site’s own notice asks visitors to use the credentials codeplex and microsoft). We then hosted each DLL in an ASP.NET host written for the test, inside one .NET Framework 4.8.1 process on Windows 11, with a web.config that registers the module. There was no IIS, no network listener and nothing sent to any other machine. Every value we sent was benign: GUIDs, short strings and an integer, encoded the way ASP.NET encodes view state. We did not build, fetch or run a gadget chain, and we have not published the host.
| Request, benign values only | 0.9.1.0 | 0.9.0.0 | 0.9.1.0 with the guard below |
|---|---|---|---|
| GET a page that has a server-side form | 200 | 200 | 200 |
| POST with the cookie and token from that GET | 200 | 200 | 200 |
| POST with no earlier visit: the cookie is a GUID and the token is the formatter output for that GUID, made in a different process | 200 | 200 | 200 |
| Same cookie, token made for a different GUID | 500 | 500 | 500 |
POST to a page with no server-side form, cookie 1, token made for the string 1 |
200 | 200 | 400 |
| POST to the same page, no cookie and no token | 500 | 500 | 500 |
POST to a page that implements ISuppressCsrfCheck, no cookie and no token |
200 | 500 | 200 |
| POST with a GUID cookie and a token made for a 60-character string | 500 | not run | 400 |
| POST with a GUID cookie and a token made for the integer 7 | 500 | not run | 400 |
Row 3 is the unkeyed token: the module accepts a value it never issued, on a page nobody visited, because the token carries no secret. Row 5 confirms two of Mandiant’s claims, that any non-empty cookie value passes and that no <form runat="server"> is needed. On pages that do have a server-side form, a cookie that is not a GUID is refused, but the source shows that check runs later, in PagePreRender, after the deserialization. In the 0.9.0 column the opt-out row fails because that release has no ISuppressCsrfCheck interface, so the page cannot load.
Every 500 above, except the 0.9.0 opt-out row, carried a MissingManifestResourceException, not the PotentialCsrfException the source names. The error text says Idunno.AntiCsrf.Properties.Resources.resources was not found in the assembly Idunno.AntiCSRF, and the 0.9.1 binary indeed embeds its resources as Idunno.AntiCSRF.Resources.resources. The request is still refused, but the exception in your logs is not the one the module’s source suggests; the stack trace names Idunno.AntiCsrf.AntiCsrfModule.PreRequestHandlerExecute.
Two small programs
probe.cs loads a DLL and prints the settings the library uses when web.config has no csrfSettings section. Build it with csc from the .NET Framework folder: csc /out:probe.exe /r:System.Web.dll /r:System.Configuration.dll probe.cs.
// probe.cs
using System;
using System.Reflection;
using System.Web.UI;
class Probe
{
static void Main(string[] args)
{
Assembly asm = Assembly.LoadFrom(args[0]);
Console.WriteLine("assembly: " + asm.GetName().Version + " (" + asm.GetName().Name + ")");
Type t = asm.GetType("Idunno.AntiCsrf.Configuration.CsrfSettings");
object s = t.GetProperty("Settings", BindingFlags.Public | BindingFlags.Static).GetValue(null, null);
Console.WriteLine("default CookieName = " + t.GetProperty("CookieName").GetValue(s, null));
Console.WriteLine("default FormFieldName = " + t.GetProperty("FormFieldName").GetValue(s, null));
Console.WriteLine("default DetectionResult= " + t.GetProperty("DetectionResult").GetValue(s, null));
}
}
Output for the 0.9.0 binary, then for the 0.9.1 binary:
assembly: 0.9.0.0 (Idunno.AntiCSRF)
default CookieName = __CSRFCOOKIE
default FormFieldName = RaiseException
default DetectionResult= RaiseException
assembly: 0.9.1.0 (Idunno.AntiCSRF)
default CookieName = __CSRFCOOKIE
default FormFieldName = RaiseException
default DetectionResult= RaiseException
osf.cs builds a token the way the module does and then edits it:
// osf.cs
using System;
using System.Text;
using System.Web.UI;
class Osf
{
static void Main()
{
ObjectStateFormatter f = new ObjectStateFormatter();
string guid = "11111111-2222-3333-4444-555555555555";
string token = f.Serialize(guid);
Console.WriteLine("token for a GUID string : " + token);
byte[] raw = Convert.FromBase64String(token);
Console.WriteLine("decoded bytes : " + BitConverter.ToString(raw).Replace("-", " "));
Console.WriteLine("bytes / chars : " + raw.Length + " / " + token.Length);
// Benign tamper test: change the last character of the GUID text inside the blob.
byte[] edited = (byte[])raw.Clone();
edited[edited.Length - 1] = (byte)'6';
object back = new ObjectStateFormatter().Deserialize(Convert.ToBase64String(edited));
Console.WriteLine("edited blob accepted : " + back + " (" + back.GetType().Name + ")");
// A blob written byte by byte, without the formatter: FF 01 (header), 05 (string), length, text.
byte[] text = Encoding.ASCII.GetBytes(guid);
byte[] hand = new byte[4 + text.Length];
hand[0] = 0xFF; hand[1] = 0x01; hand[2] = 0x05; hand[3] = (byte)text.Length;
Array.Copy(text, 0, hand, 4, text.Length);
string handToken = Convert.ToBase64String(hand);
Console.WriteLine("hand-built equals token : " + (handToken == token));
Console.WriteLine("hand-built blob accepted: " + new ObjectStateFormatter().Deserialize(handToken));
}
}
token for a GUID string : /wEFJDExMTExMTExLTIyMjItMzMzMy00NDQ0LTU1NTU1NTU1NTU1NQ==
decoded bytes : FF 01 05 24 31 31 31 31 31 31 31 31 2D 32 32 32 32 2D 33 33 33 33 2D 34 34 34 34 2D 35 35 35 35 35 35 35 35 35 35 35 35
bytes / chars : 40 / 56
edited blob accepted : 11111111-2222-3333-4444-555555555556 (String)
hand-built equals token : True
hand-built blob accepted: 11111111-2222-3333-4444-555555555555
The token for a GUID is 40 bytes, 56 characters, and begins /wEFJ. It is not signed: the edited copy deserializes without complaint, and so does a blob written byte by byte without the formatter, which comes out identical to the module’s own token. Mandiant’s note says the same about the module’s formatter, unkeyed and without a MAC. The gadget chains it describes ride in the same field; we did not build one.
Where the public record points defenders the wrong way
The hash list covers one release
Mandiant’s note lists three SHA-256 hashes under a heading for 0.9.1.0 builds: the official 2008 build and two rebuilds from the CodePlex source. We hashed the DLLs inside both CodePlex Archive installers. The 0.9.1 Beta file matches the first row on size, MD5, SHA-1 and SHA-256. The 0.9.0 Beta file, also 69,632 bytes, hashes to something else and appears in no list.
| Build | Bytes | SHA-256, first 16 hex digits | In Mandiant’s table |
|---|---|---|---|
| 0.9.0 Beta installer, our extraction | 69,632 | 00fa15347258e4c1 |
No |
| 0.9.1 Beta installer, our extraction | 69,632 | da1efcfed182597e |
Yes, the official 2008 build |
| 0.9.1 Beta source rebuild, Release | 69,632 | c5c994891783453a |
Yes |
| 0.9.1 Beta source rebuild, Debug | 70,144 | aa7bbad4a7ebc385 |
Yes |
The 0.9.0 build is not a harmless old version. NVD’s configuration names 0.9.0 beta as affected, the 0.9.0 source contains the same new ObjectStateFormatter() and Deserialize calls (lines 116 and 119), the binary contains those names, and in the lab it behaved like 0.9.1. Mandiant adds that organizations which rebuilt the library “will have different file hashes while retaining the vulnerable” code, and should search by name. The scanner below follows that advice and adds the 0.9.0 hash.
NVD and CISA name the library differently, and no package manager lists it
The CVE record and CISA’s entry say vendor Idunno, product AntiCsrf. NVD’s configuration has two CPE entries, cpe:2.3:a:blowdart:anticsrf:0.9.0:beta:*:*:*:asp.net:*:* and the same string with 0.9.1:beta. Here blowdart is the CodePlex user name that edited the project page in August 2009. An inventory tool that matches on one vendor name will miss records filed under the other.
NuGet does not fill the gap. The flat-container address for idunno.anticsrf answers BlobNotFound (HTTP 404), and a search for “anticsrf” returns two packages by other authors: AntiCSRF 2.0.0, an HMAC-based token library, and a Sitecore security package. The CodePlex release list holds two installer files and nothing else, so the library lives as loose DLLs in bin folders, where dependency scanners that read package manifests will not look. The assembly also calls itself Idunno.AntiCSRF with a capital CSRF, while the module type and the configuration entries use Idunno.AntiCsrf. .NET resolves the two without regard to case, since the module loaded in our lab with the second spelling in web.config, but a case-sensitive search for one spelling will miss the other.
A default install uses a different form field
The CodePlex page documents a csrfSettings block with formFieldName="__CSRFTOKEN", and the coverage built on Mandiant’s note repeats that name. The block is optional, and without it the library builds its default settings in code. In the source, the default object assigns the cookie name, then the field name, then the detection result, and the detection-result setter writes to the form-field key (base[FromFieldNameConfigurationKey] = value.ToString();), so the last assignment overwrites the field name with the text RaiseException. Mandiant’s note mentions this setter bug in one sentence of its analysis, not as a detection point. What we add is the run-time check on both released binaries (the probe output above), the page markup, and the 2009 work items: the bug was reported, fixed in trunk and never released.
| web.config | Hidden field in the page | Cookie |
|---|---|---|
Documented csrfSettings block |
__CSRFTOKEN |
__CSRFCOOKIE |
No csrfSettings section |
RaiseException |
__CSRFCOOKIE |
This is what the module wrote on a GET in the lab, for the default install and for the documented block:
Set-Cookie: __CSRFCOOKIE=01b5e0aa-3221-4774-9169-fcaf633b0874; path=/; HttpOnly
<input type="hidden" name="RaiseException" id="RaiseException" value="/wEFJDAxY..." />
<input type="hidden" name="__CSRFTOKEN" id="__CSRFTOKEN" value="/wEFJGNhM..." />
A WAF rule, IDS signature or grep keyed on __CSRFTOKEN misses a default install, so look for both names. Viewing the source of a protected page and searching for them is the quickest check on a live site.
Reports differ on small points
- Dates. Mandiant’s note and SecurityWeek say November 18, while the CVE record, NVD and watchTowr say November 19. The GitHub commit is 01:26:41 UTC on November 19, so they describe the same release seen from different time zones.
- Scores. 9.3 is Mandiant’s CVSS 4.0 score and 9.8 is NIST’s CVSS 3.1 score in NVD. Both reproduce from their vectors with the Python cvss library (version 3.6). The Hacker News and SecurityWeek quote only the 9.3.
- CVE ID and versions. The Hacker News says CISA added CVE-2026-132165 on November 24. That is the Drupal entry, and the Idunno entry is CVE-2026-131914. The same article gives the affected versions as 0.9.1.0 and 0.9.1 Beta, which leaves out 0.9.0 Beta.
How much exploitation is documented
There are three kinds of evidence, and none of them gives a count. Mandiant’s note says “Active exploitation in the wild has been observed”, and its timeline puts the root-cause analysis on November 4 “during incident response investigation”. It names no victim count, actor, payload or start date, and Google told The Hacker News it “does not have anything to share at this time”. watchTowr says its honeypots saw probes that used “creative .NET compiled gadget payloads” to check whether a host is vulnerable, with a vulnerable server tricked into redirecting to a unique URL. That is scanning evidence, not a compromise. CISA’s enrichment records exploitation as active and the bug as automatable with total technical impact, and Help Net Security reports that agencies were also told to check for signs of exploitation. FIRST’s EPSS, which models the next 30 days, gave 4.29 percent (91.9th percentile) on November 25.
Nobody has published the products that bundle the library. watchTowr tells defenders to audit ASP.NET products that package it, and Help Net Security quotes watchTowr saying legacy components “tend to stay in place long after their projects end”. We found no public list of vendors, so the file-level search below is the practical way to find out.
What to do now
Find every copy
The script is read-only. It hashes every DLL and EXE under 20 MB in the roots you give it against the four known hashes, flags an assembly in a bin folder that contains both the module name and ObjectStateFormatter (a renamed or rebuilt copy), flags a file whose name matches but whose hash is unknown, and lists configuration and page files that mention the module, its settings section or the opt-out interface. Pass the folder that holds applicationHost.config as an extra root. Run it as .\find-idunno-anticsrf.ps1 -Root C:\inetpub,D:\sites.
# find-idunno-anticsrf.ps1 -Root C:\inetpub,D:\sites
# Windows PowerShell 5.1 or PowerShell 7. Read-only: it never changes or deletes a file.
param([Parameter(Mandatory)][string[]]$Root)
$known = @{
'da1efcfed182597ee946a9ef2895dfdfeab2bdff16855aeef01656d8158ead06' = '0.9.1.0 official 2008 build (Mandiant table)'
'c5c994891783453ae85f3ef8efb48592b7c560aeb56f531ee9ea5736518246eb' = '0.9.1 Beta source rebuild, Release (Mandiant table)'
'aa7bbad4a7ebc38519955ac65517716569508ee4f61fc2f1276086940501e9bf' = '0.9.1 Beta source rebuild, Debug (Mandiant table)'
'00fa15347258e4c1ec04223bd0e8ee8e5d7b95f3de6a38bd0001594f57b5e5c5' = '0.9.0 Beta official 2008 build (not in the Mandiant table)'
}
$latin1 = [Text.Encoding]::GetEncoding(28591)
$found = New-Object System.Collections.Generic.List[object]
function Add-Finding($kind, $path, $detail) {
$found.Add([pscustomobject]@{ Kind = $kind; Path = $path; Detail = $detail })
}
foreach ($r in $Root) {
Get-ChildItem -LiteralPath $r -Recurse -File -ErrorAction SilentlyContinue | ForEach-Object {
$f = $_
if (($f.Extension -in '.dll', '.exe') -and $f.Length -lt 20MB) {
$hash = (Get-FileHash -LiteralPath $f.FullName -Algorithm SHA256).Hash.ToLower()
if ($known.ContainsKey($hash)) {
Add-Finding 'HASH' $f.FullName $known[$hash]
}
elseif ($f.Name -like '*anticsrf*') {
Add-Finding 'NAME' $f.FullName "file name matches, hash $($hash.Substring(0, 12)) is not in the list"
}
elseif ($f.DirectoryName -match '\\bin$') {
$text = $latin1.GetString([IO.File]::ReadAllBytes($f.FullName))
$ic = [StringComparison]::OrdinalIgnoreCase
if ($text.IndexOf('AntiCsrfModule', $ic) -ge 0 -and $text.IndexOf('ObjectStateFormatter', $ic) -ge 0) {
Add-Finding 'CODE' $f.FullName 'module code inside a renamed or rebuilt assembly'
}
}
}
elseif (($f.Extension -in '.config', '.aspx', '.ascx', '.master') -and $f.Length -lt 5MB) {
$hit = Select-String -LiteralPath $f.FullName -Pattern 'Idunno\.AntiCsrf|AntiCsrfModule|csrfSettings|SuppressCsrfCheck' |
Select-Object -First 1
if ($hit) {
$snippet = $hit.Line.Trim(); if ($snippet.Length -gt 70) { $snippet = $snippet.Substring(0, 70) + '...' }
Add-Finding 'REF' $f.FullName ('line {0}: {1}' -f $hit.LineNumber, $snippet)
}
}
}
}
foreach ($x in $found) { '{0} {1} {2}' -f $x.Kind, $x.Path, $x.Detail }
"findings: $($found.Count)"
if ($found.Count -gt 0) { exit 1 } else { exit 0 }
We tested it under Windows PowerShell 5.1 on six dummy sites: the 0.9.1 DLL with a config entry, the 0.9.0 DLL with a settings section, the 0.9.1 DLL with one byte appended and a different name, random bytes, a config file and an opt-out page with no DLL, and a fake file with the library’s name. The output is the expected one, with the random-bytes site silent:
REF C:\sites\site1\web.config line 1: <configuration><system.web><httpModules><add name="AntiCSRF" type="Idu...
HASH C:\sites\site1\bin\Idunno.AntiCsrf.dll 0.9.1.0 official 2008 build (Mandiant table)
REF C:\sites\site2\web.config line 1: <configuration><csrfSettings cookieName="__CSRFCOOKIE" formFieldName="...
HASH C:\sites\site2\bin\Idunno.AntiCsrf.dll 0.9.0 Beta official 2008 build (not in the Mandiant table)
CODE C:\sites\site3\bin\Shared.Web.dll module code inside a renamed or rebuilt assembly
REF C:\sites\site5\opt.aspx line 1: <%@ Page Language="C#" %><%@ Implements Interface="Idunno.AntiCsrf.ISu...
REF C:\sites\site5\web.config line 1: <configuration><system.webServer><modules><add name="AntiCSRF" type="I...
NAME C:\sites\site6\bin\Idunno.AntiCsrf.dll file name matches, hash 40f121f81e0b is not in the list
findings: 8
On a tree holding only the random-bytes site it prints findings: 0 and exits 0.
Keep the sites off the open internet while you work
watchTowr’s guidance is to restrict direct internet access to internal ASP.NET WebForms applications where possible, and to preserve logs and suspicious files before changing anything. Do both before the next steps.
Reject malformed tokens before the module sees them
If you cannot remove the module today, a shape check closes the door without touching the CSRF protection. For the cookie it issues itself, the module writes one kind of token: the formatter output for a 36-character GUID, which is 40 bytes and 56 base64 characters, beginning /wEFJ and ending ==. All 5,000 tokens we generated that way matched ^/wEFJ[A-Za-z0-9+/]{49}==$, and the tokens the module wrote into our lab pages passed the guard below. The pattern admits only a string value of that size, which cannot carry an object graph. The guard runs in BeginRequest, which comes before the module’s PreRequestHandlerExecute, so a token that fails never reaches the deserializer. Apply the same pattern in a WAF to the form fields __CSRFTOKEN and RaiseException, and to any other name you set with formFieldName.
<%-- global.asax --%>
<%@ Application Language="C#" %>
<%@ Import Namespace="System.Text.RegularExpressions" %>
<script runat="server">
// Interim guard, runs in BeginRequest, long before the module's PreRequestHandlerExecute.
// A token the module issues is the ObjectStateFormatter form of a 36 character GUID string:
// 40 bytes, 56 base64 characters, always starting /wEFJ and ending ==.
// Add your own field name to FieldNames if csrfSettings changes formFieldName.
private static readonly Regex TokenShape = new Regex(@"^/wEFJ[A-Za-z0-9+/]{49}==$", RegexOptions.Compiled);
private static readonly string[] FieldNames = new string[] { "__CSRFTOKEN", "RaiseException" };
void Application_BeginRequest(object sender, EventArgs e)
{
HttpRequest req = Context.Request;
if (!string.Equals(req.HttpMethod, "POST", StringComparison.Ordinal)) return;
foreach (string name in FieldNames)
{
string value = req.Form[name];
if (value != null && !TokenShape.IsMatch(value))
{
Response.StatusCode = 400;
Response.Write("bad request");
Context.ApplicationInstance.CompleteRequest();
return;
}
}
}
</script>
In the lab, which is the last column of the table above, the guard turned each malformed token we sent into a 400 and left the normal flows alone. It does not stop a well-formed token for the wrong GUID, which the module still rejects as before. We tested it in the in-process host, not under IIS or a WAF, so try it on a staging copy first. It covers this module’s field only and does nothing about other deserialization sinks in your application. The module also accepts a cookie in other GUID formats. In the lab, a cookie in the 32-digit form made it write a 48-character token and work normally, while the guard refused the POST with a 400. This module never sets such a cookie, so one can only come from a client or another application, and deleting it restores normal behavior.
Remove the module in the right order
Mandiant’s resolution is to remove the module and replace it with a supported protection, and the order matters. In the lab, taking the registrations out of web.config while leaving the DLL in place kept every page working, including the opt-out page, and switched the check off. Deleting the DLL as well broke exactly one page: the one that still implements Idunno.AntiCsrf.ISuppressCsrfCheck failed with HttpException: Could not load type 'Idunno.AntiCsrf.ISuppressCsrfCheck'. So remove both registrations, then the settings section and every opt-out reference (the interface in @ Implements and the attribute), and delete the DLL last. These are the entries as the CodePlex page documents them:
<!-- classic pipeline -->
<system.web>
<httpModules>
<add name="AntiCSRF" type="Idunno.AntiCsrf.AntiCsrfModule, Idunno.AntiCsrf" />
</httpModules>
</system.web>
<!-- integrated pipeline -->
<system.webServer>
<modules>
<add name="AntiCSRF" type="Idunno.AntiCsrf.AntiCsrfModule, Idunno.AntiCsrf" />
</modules>
</system.webServer>
<!-- settings, if present -->
<configSections>
<section name="csrfSettings" type="Idunno.AntiCsrf.Configuration.CsrfSettings, Idunno.AntiCsrf" />
</configSections>
<csrfSettings cookieName="__CSRFCOOKIE" formFieldName="__CSRFTOKEN" detectionResult="RaiseException" errorPage="" />
Replace the protection
Mandiant lists three supported replacements: System.Web.Helpers.AntiForgery (AntiForgery.GetHtml() and AntiForgery.Validate()), Page.ViewStateUserKey with MAC-verified or encrypted view state on postback forms, and ASP.NET Core’s IAntiforgery. Microsoft’s documentation says “Setting the ViewStateUserKey property can help you prevent attacks on your application from malicious users” and warns “You must set this property during the Page_Init phase of page processing”. We did not test any of the three.
Hunt for signs of use
Mandiant’s wording is to review IIS logs for anomalous POST requests to .aspx endpoints returning HTTP 302 or HTTP 500 with elevated cs-bytes, where logged. The script below implements that filter. It lists POSTs to .aspx pages that ended in 302 or 500 and, if the log has a cs-bytes column, keeps only those at or above a threshold. The 2,000-byte default is our choice. Expect noise, because any failed form post also returns 500 or 302.
# iis-post-hunt.ps1 -Log 'C:\inetpub\logs\LogFiles\W3SVC1\*.log' [-MinBytes 2000]
# Lists POSTs to .aspx pages that ended in 302 or 500. If the log has a cs-bytes column, it also needs
# cs-bytes >= MinBytes (Mandiant's wording: "elevated cs-bytes (where logged)"). Expect noise; it is a triage filter.
param([Parameter(Mandatory)][string[]]$Log, [int]$MinBytes = 2000)
foreach ($file in Get-ChildItem -Path $Log -File) {
$fields = $null
foreach ($line in Get-Content -LiteralPath $file.FullName) {
if ($line.StartsWith('#Fields:')) { $fields = $line.Substring(9).Split(' '); continue }
if ($line.StartsWith('#') -or -not $fields) { continue }
$v = $line.Split(' ')
$row = @{}
for ($i = 0; $i -lt $fields.Count -and $i -lt $v.Count; $i++) { $row[$fields[$i]] = $v[$i] }
if ($row['cs-method'] -ne 'POST' -or $row['cs-uri-stem'] -notlike '*.aspx') { continue }
if ($row['sc-status'] -notin '302', '500') { continue }
if ($row.ContainsKey('cs-bytes') -and [int]$row['cs-bytes'] -lt $MinBytes) { continue }
'{0} {1} {2} {3} {4} status={5} bytes={6}' -f $file.Name, $row['date'], $row['time'], $row['c-ip'], $row['cs-uri-stem'], $row['sc-status'], $row['cs-bytes']
}
}
We tested it on two made-up logs, one with a cs-bytes column and one without. Of five and three lines, the first log yields its one large 500 and the second yields its 302 and 500 lines:
u_ex_no_bytes.log 2026-11-25 11:00:00 198.51.100.7 /form.aspx status=302 bytes=
u_ex_no_bytes.log 2026-11-25 11:00:01 203.0.113.9 /login.aspx status=500 bytes=
u_ex_with_bytes.log 2026-11-25 10:00:00 203.0.113.9 /login.aspx status=500 bytes=8421
Two other markers come from the lab. Error pages and any log that keeps stack traces will show the frame Idunno.AntiCsrf.AntiCsrfModule.PreRequestHandlerExecute for requests the module refused. And the hidden field in a saved page tells you which install type you have (RaiseException or __CSRFTOKEN).
If you find signs of use
Mandiant says to rotate all secrets stored in Web.config and applicationHost.config, including machineKey values, encryption keys and database credentials, and to inspect webroots for unauthorized files. The code runs inside the IIS worker process, so anything that process can read is in scope.
What we could not check
- We built and ran no exploit. Everything we sent to the lab host was a GUID, a short string or an integer, and nothing went to any outside machine.
- The lab ran on .NET Framework 4.8.1 on Windows 11. IIS in integrated mode, a
customErrorssetting that redirects with a 302, and other runtimes were not tested. - The guard and its pattern were not tested under IIS or in a real WAF. Custom field names must be added.
- No source gives a victim count, an actor, a payload or a list of products that embed the library, and Google had nothing to add. GitHub’s code search was not available to us, so we cannot say how many public repositories carry the DLL.
- The CodePlex Archive site asks for basic authentication, and its own notice supplies the credentials. NVD and the CVE record may change after our check at about 19:10 to 19:20 UTC on November 25.
Sources
- Mandiant advisory MNDT-2026-0048 and its GitHub commit
- CVE record CVE-2026-131914 and its NVD entry
- CISA KEV entry, read from the KEV JSON feed
- FIRST EPSS API
- watchTowr FAQ
- SecurityWeek, The Hacker News and Help Net Security
- CodePlex Archive project page (releases, source, work items) and the Internet Archive capture of the CodePlex project page
- NuGet flat container and search API
- Microsoft documentation for Page.ViewStateUserKey








No Comment! Be the first one.