Attackers exploit unpatched deserialization flaw in abandoned Idunno AntiCsrf library
Mandiant says exploitation needs one unauthenticated HTTP POST; CISA added the bug to its KEV list on Tuesday and there is no patch coming for a library last released in 2008.
On this page
Attackers are exploiting a deserialization bug in Idunno AntiCsrf, a legacy ASP.NET anti-CSRF module that nobody maintains any more. Mandiant, which published the disclosure on November 18, says exploitation takes a single HTTP POST request with no prior authentication and no valid CSRF token, and that active exploitation in the wild has been observed.
The library's last release, 0.9.1 Beta, shipped in December 2008. There is no official patch, and WatchTowr's Yordan Ganchev told SecurityWeek he doesn't expect one: "There is no patch, and likely there won't be one."
CISA added the flaw to its Known Exploited Vulnerabilities list on Tuesday, with a three-day deadline for federal agencies. The KEV entry's required action points at vendor mitigations and, where those don't exist, at discontinuing the product.
What the bug actually is
AntiCsrf is a double-submit cookie module for ASP.NET WebForms: it compares a token in a cookie against a token in a submitted form field. The flaw sits in how it handles the form data before that comparison matters. WatchTowr says the library doesn't check incoming form submission data well enough before rebuilding it into program objects, which is the classic object-injection shape of an insecure deserialization bug.
Mandiant's description is specific about the trigger: any non-empty value in the CSRF cookie plus a Base64-encoded gadget chain gets code execution in the context of the IIS worker process. The gadget chain is the part that does the work; the cookie value just has to be there.
Two details make this worse than a login-form bug. The vulnerable check runs before the application's own page logic, so it can affect many pages on a site, not only ones with a login form. And the code runs as the worker process, which is the process serving the site. WatchTowr's summary of the outcome is blunt enough: a successful attack can lead to full compromise of the server.
WatchTowr says its honeypots caught exploit probes using .NET compiled gadget payloads to test whether a host was vulnerable. Ganchev said the firm validated the exploit and confirmed that a vulnerable server could be made to redirect to a unique URL, quietly telling the attacker the web server was under control.
HackZoneLabs assessment
The severity score is high, but the score isn't the interesting part. What matters is the combination of an unauthenticated, single-request path to code execution and a product that will never be fixed. Anyone still running this module is not waiting on a vendor; they're waiting on themselves.
The exposure question is also narrower than a KEV listing usually implies. This is a library bundled inside ASP.NET applications, not a network appliance with a banner. You can't scan for it from outside with any confidence, and the KEV entry itself notes the affected component could be embedded in other products. In our view, the useful work here is inventory, not perimeter scanning: find which applications package Idunno.AntiCSRF, then decide per application whether it can be ripped out.
We'd treat the "no patch, likely never" line as the operative fact rather than the CVSS number. An 18-year-old library with no maintainer is a permanent liability once it's known to be exploitable, and the honeypot probes suggest someone is already looking for hosts that still have it.
What defenders should do first
Ganchev's guidance is the practical list, and it's short. Audit ASP.NET products to find ones packaging the Idunno.AntiCSRF library. Review audit logs for signs of exploitation. Replace the library where possible. Where replacement isn't possible, put WAF rules in front of it until a workaround turns up.
The log review is worth doing properly rather than as a checkbox. The published indicator is a redirect to an attacker-chosen URL, so look for unusual redirects and for POST requests carrying a CSRF cookie with a value that doesn't match anything the application issued.
What's still unknown
Nobody has published how many hosts are affected, and the sources here don't say who has been hit or what the attackers did after gaining a foothold. The KEV entry lists ransomware use as unknown. Mandiant's advisory is the primary technical document; the SecurityWeek report summarises it and adds WatchTowr's honeypot observations, and we haven't reviewed the Mandiant write-up itself.
The KEV entry also flags that the affected product could be end-of-life or end-of-service, and advises discontinuing use or moving to a supported version. For a library whose newest release is from 2008, "supported version" is doing a lot of work in that sentence.
CVE references
Sources
- Hackers Exploit Unpatched Flaw in Defunct Idunno AntiCsrf LibraryPrimarywww.securityweek.com
If something here is wrong, tell us. Every correction is listed on the corrections page.
Don’t Just Read About Cyberattacks. Learn How They Work.
Go beyond the headlines. Explore hands-on cybersecurity labs, understand real-world vulnerabilities, and build practical security skills with HackZoneLabs.
Start Learning