Back to Blog
ASP.NETCVE-2026-131914Vulnerability ManagementCyber Essentials

The security add-on that became the hole: an abandoned ASP.NET module is being exploited, and there's no patch

November 24, 2026
Assertive Infosec Team
Share

If your business has an ASP.NET WebForms site that someone built a long time ago, it's worth checking it for one specific file: Idunno.AntiCsrf.dll.

It's a small add-on that protected WebForms sites against cross-site request forgery (CSRF). Its last release was a beta in December 2008, on CodePlex, which Microsoft has since shut down. On 18 November, Mandiant published an advisory (CVE-2026-131914, CVSS 4.0 score 9.3): one unauthenticated request to almost any page on a site using it runs code on the server. Mandiant says active exploitation has been observed. It found the flaw while responding to an incident.

There's no maintainer and there will never be a patch.

What the flaw is

On every POST request, the module is supposed to compare a cookie with a hidden form field. What it actually does first:

  • It checks that the cookie and the form field are not empty. Any value will do.
  • It then deserialises the form field with .NET's ObjectStateFormatter, created without a key. There's no MAC, signature or machineKey check.
  • All of this happens before the page itself runs, and before the cookie and token are compared.

Deserialising untrusted data in .NET is a well-known route to code execution (CWE-502), and public tools generate the payloads. So a single POST with __CSRFCOOKIE=1 and a crafted __CSRFTOKEN field runs code as the IIS worker process.

What makes it worse:

  • No login needed. Any page an anonymous visitor can reach is enough.
  • The page doesn't need a form. Any .aspx page that hasn't opted out of the check will do.
  • No stolen keys needed. Unlike the usual ViewState attacks, this one doesn't depend on a leaked machineKey.

In other words, the security add-on is the hole.

Why this one is easy to miss

Most of the usual checks won't flag it:

  • There's nothing to patch. "Keep software up to date" assumes someone publishes updates. Your patching process won't flag a component that was abandoned in 2008.
  • It's not in the framework. It's a DLL in bin/ and a few lines in Web.config, so a check of your .NET and Windows versions won't mention it.
  • Whoever added it is probably long gone. Bespoke WebForms portals (customer logins, booking systems, internal tools exposed to the internet) were often built by a contractor 10 or 15 years ago and have run untouched since.

Cyber Essentials already requires you to remove software that's no longer supported. This is a good example of why the requirement covers components as well as operating systems.

What to do now

  1. Search for it. Look through every Web.config and every bin/ folder on your IIS servers for Idunno.AntiCsrf or AntiCsrfModule. From the outside, a __CSRFCOOKIE cookie or a __CSRFTOKEN hidden field is a giveaway, though a recompiled copy may use different names.
  2. Remove it completely. Delete the module entries from httpModules and modules, the csrfSettings section and its declarations, any code that references ISuppressCsrfCheck or [SuppressCsrfCheck], and the DLL itself.
  3. Replace the protection. Use a supported mechanism: System.Web.Helpers.AntiForgery, or Page.ViewStateUserKey with MAC-protected ViewState in WebForms, or IAntiforgery if you're on ASP.NET Core.
  4. If it was there and exposed, assume the worst. Mandiant recommends checking IIS logs for odd POSTs to .aspx pages that returned 302 or 500, checking webroots for files nobody put there, and rotating every secret in Web.config and applicationHost.config: machineKey, encryption keys and database credentials.
  5. Ask what else is in there. If one 2008 component is still running, there are probably others. Get a list of third-party components in the application and check each one is still maintained.

Frequently asked questions

How do I know if my site uses Idunno.AntiCsrf?

Search every Web.config for Idunno.AntiCsrf or AntiCsrfModule, and every bin/ folder for Idunno.AntiCsrf.dll. In the browser, a __CSRFCOOKIE cookie or a hidden __CSRFTOKEN form field is a strong sign, although a recompiled copy may use different names.

Is there a patch?

No. The project has had no maintainer since its last release in December 2008, and Mandiant says there's no official patch. The only fix is to remove the module and use a supported anti-forgery mechanism instead.

Which sites are affected?

Only sites that load the module. It was built as an IIS module for ASP.NET WebForms on the .NET Framework. Any page an anonymous visitor can reach is enough for an attacker, even one without a form.

We've removed it. Are we safe now?

From this flaw, yes. If the site was internet-facing while the module was installed, treat it as possibly compromised: check IIS logs and webroots, and rotate the machineKey, encryption keys and database credentials in Web.config and applicationHost.config.

Technical References

Share

Ready to Secure Your Business?

Get a free security assessment from our experts.

Contact Us Today