Skip to content
KitploitKITPLOIT
ToolsBlog
Log in
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
cve-2026-131914-idunno-anticsrf-deserialization — Reachability lab for CVE-2026-131914: hash-verified Idunno.AntiCsrf DLL, IL sink analysis and dynamic proof that an unkeyed ObjectStateFormatter deserializes attacker-controlled CSRF tokens. | Kitploit
Tools/GitHubGitHub/abraxas/cve-2026-131914-idunno-anticsrf-deserialization
Static AnalysisDynamic Analysis (Sandboxing)Vulnerability AnalysisWeb SecurityBinary AnalysisLearning & EducationLabs & Practice
GitHub
abraxas/cve-2026-131914-idunno-anticsrf-deserialization

cve-2026-131914-idunno-anticsrf-deserialization

Reachability lab for CVE-2026-131914: hash-verified Idunno.AntiCsrf DLL, IL sink analysis and dynamic proof that an unkeyed ObjectStateFormatter deserializes attacker-controlled CSRF tokens.

View Repository
17h 30m agoNot yet reviewed
Share

Abraxas Labs - CVE-2026-131914

CVE-2026-131914 - Idunno.AntiCsrf unkeyed deserialization

Reachability lab for the legacy ASP.NET anti-CSRF library Idunno.AntiCsrf (v0.9.1.0, defunct, no patch): the AntiCsrfModule HTTP module deserializes the attacker-controlled CSRF form field with an unkeyed System.Web.UI.ObjectStateFormatter

  • no MAC, no signature, no type restrictions - before page processing. A single unauthenticated POST with a non-empty cookie and a crafted token reaches the sink.

GHSA / MNDT-2026-0048, CVE-2026-131914. CVSS 4.0 9.3 Critical CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A. CWE-502. Actively exploited in the wild per Mandiant.

What makes this lab credible

The vendored Idunno.AntiCSRF.dll is the genuine official 2008 release build, not a reimplementation. run.sh verifies its SHA-256 against the hash table in the Mandiant advisory before anything else runs:

da1efcfed182597ee946a9ef2895dfdfeab2bdff16855aeef01656d8158ead06  official-2008-release

It is redistributed under its original Microsoft Public License; license.txt is included as the Ms-PL requires.

Recorded result

Mono 6.14.1, macOS arm64. No Docker, no IIS, no network.

RESULT dll-hash            pass  official 2008 build, hash matches the advisory
RESULT il-sink             pass  ctor + Deserialize(formField) in PreRequestHandlerExecute
RESULT dll-load            pass  Idunno.AntiCSRF, Version=0.9.1.0
RESULT config-defaults     pass  __CSRFCOOKIE / __CSRFTOKEN / RaiseException
RESULT forge-deserialize   pass  forged token deserialized, witness CVE131914-WITNESS
RESULT no-origin-check     pass  server-issued token also deserializes unkeyed
RESULT module-post         skip  Mono fidelity limit (NullReferenceException in the
                                 simulated HttpContext)

Three layers of evidence

Static, from the shipped binary. The disassembly of the official build shows, inside PreRequestHandlerExecute, the cookie and form-field reads followed by:

IL_014b:  newobj instance void class [System.Web]System.Web.UI.ObjectStateFormatter::'.ctor'()
IL_016e:  callvirt instance object class [System.Web]System.Web.UI.ObjectStateFormatter::Deserialize(string)

The gate before it is exactly what the advisory describes: checks that Request.Cookies[cookieName] and Request.Form[formFieldName] are non-empty. No GUID validation happens on this path (the advisory confirms GuidTryParse only runs later, in PagePreRender), so Cookie: __CSRFCOOKIE=1 is enough.

Dynamic, at the sink. The module's call is new ObjectStateFormatter().Deserialize(formFieldValue). The harness performs precisely that call with attacker-forged data: a token serialized by the harness itself (what an attacker does before swapping in a gadget chain), carrying a benign Pair witness object. It deserializes and the witness comes back. A server-issued token goes through the same path with the same result - there is no origin check, no MAC, no signature, nothing that distinguishes what the server issued from what an attacker forged.

Config defaults, reflected from the real assembly. CsrfSettings defaults are cookieName=__CSRFCOOKIE, formFieldName=__CSRFTOKEN, detectionResult=RaiseException, matching the advisory.

What this lab deliberately does not contain

No gadget chain. The witness object is a benign System.Web.UI.Pair carrying a marker string. There is no System.Configuration.Install / TextFormattingRunProperties / ObjectDataProvider chain, no process launch, no file write, no network. The deserialization-sink reachability is the claim; carrying it to code execution is the step that is left out, and on an actively-exploited RCE that omission is the point.

The end-to-end attempt, and why it is a skip

The harness also tries to invoke the real private PreRequestHandlerExecute handler against a simulated POST (forged token in the form collection, __CSRFCOOKIE=1). Mono's System.Web does not emulate enough of the ASP.NET context internals, so the module path dies with a NullReferenceException inside Mono's fidelity layer before reaching the sink. That probe is reported as skip with the reason and does not affect the result. The sink itself is proven by the IL evidence plus the direct dynamic probe - which is the identical call the module makes.

Run

python3 cve-2026-131914-idunno-anticsrf-deserialization-Abraxas-Labs.py

or directly:

cd lab && ./run.sh

Requires Mono (brew install mono): mono, mcs, monodis. Compiles the harness against the Mono GAC's System.Web, verifies the DLL hash, checks the IL, runs the probes, writes poc-last-run.txt. Everything is local and loopback-free - there is no network component at all.

Files

FileRole
run.shHash check, IL check, compile, run
poc.csReachability harness
Idunno.AntiCSRF.dllGenuine official 2008 build (hash-verified), Ms-PL
license.txtMs-PL, retained per its redistribution terms
poc-last-run.txtRecorded output

Mono quirks worth knowing if you extend this

  • ObjectStateFormatter.Serialize(object) returns System.String on Mono, not byte[].
  • Mono puts HttpWorkerRequest in System.Web, not System.Web.Hosting.
  • HttpRequest has no HttpWorkerRequest constructor; form/cookie injection is by reflection into private fields.
  • GetMethod(name, NonPublic|Instance) returns null for this DLL's private methods; enumerate GetMethods(... | Static) and filter by name.

Remediation

No patch exists; the project is defunct. Remove Idunno.AntiCsrf.dll and every trace of it from Web.config (<httpModules>/<modules>, <configSections>, <csrfSettings>, any ISuppressCsrfCheck / [SuppressCsrfCheck]), and replace with a supported anti-CSRF mechanism (System.Web.Helpers.AntiForgery, Page.ViewStateUserKey, or ASP.NET Core IAntiforgery). Rotate machineKey and other secrets if exploitation is suspected. Full steps are in the Mandiant advisory.

References

  • MNDT-2026-0048 (Mandiant)
  • CVE-2026-131914
  • Archived AntiCSRF project (basic auth: codeplex / microsoft)

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    923
  • 2

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    923
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    694
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    463
  • 5

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    411
  • 6

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    390

Explore all tools

Browse our collection of tools

View all tools →
Download Tool