Security

Attackers Are Exploiting an Unpatched ASP.NET Anti-CSRF Library. There’s No Fix, So Rip It Out

Leave a comment

Mandiant says attackers are exploiting CVE-2026-131914 (CVSS 9.3) in Idunno.AntiCsrf, an old third-party anti-CSRF module for ASP.NET WebForms, The Hacker News reports. Versions 0.9.1.0 and 0.9.1 Beta are affected. The project has been dead since December 2008, so there’s no patch coming.

The module deserializes the CSRF form token with an unkeyed ObjectStateFormatter and no MAC or signature check. One unauthenticated POST with any non-empty CSRF cookie and a Base64 gadget chain in the form field runs code as the IIS worker process (w3wp.exe). “Active exploitation in the wild has been observed,” Mandiant said.

What to do:

  • Search every Web.config and bin/ folder for Idunno.AntiCsrf or AntiCsrfModule.
  • Remove it. Use Page.ViewStateUserKey with MAC-verified or encrypted ViewState, or ASP.NET Core’s IAntiforgery.
  • Check IIS logs for odd POSTs to .aspx pages that returned 302 or 500 with unusually large request sizes.

My take

This is the risk nobody budgets for: a dependency nobody has touched in 18 years, sitting in some old internal WebForms app. If you’ve got legacy .NET anywhere, go look today.

God Bless, and Needs Garlic!

References & Further Reading

Subscribe (RSS) Follow Security via RSS

Leave a note

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.