# MNDT-2026-0048 ## Description The legacy ASP.NET anti-CSRF library `Idunno.AntiCsrf` (`Idunno.AntiCsrf.dll`, version `0.9.1.0` / `0.9.1 Beta`) contains an insecure deserialization vulnerability in the `Idunno.AntiCsrf.AntiCsrfModule` HTTP module (`PreRequestHandlerExecute`). When processing incoming HTTP `POST` requests to ASP.NET WebForms (`System.Web.UI.Page`) endpoints, the module deserializes untrusted CSRF form token data using an unkeyed `.NET` `System.Web.UI.ObjectStateFormatter` instance without cryptographic MAC or signature verification, allowing a remote attacker to achieve arbitrary remote code execution (RCE). ## Impact Critical: A remote attacker can supply any non-empty value in the configured CSRF cookie alongside a Base64-encoded `.NET` `ObjectStateFormatter` gadget chain in the configured CSRF form field to execute arbitrary code in the context of the IIS worker process (`w3wp.exe`), resulting in complete compromise of the web application server. ## Exploitability High: `AntiCsrfModule.PreRequestHandlerExecute` executes at the `HttpApplication` pipeline level prior to `IHttpHandler.ProcessRequest` and the ASP.NET `Page` lifecycle (`PreInit`, `Init`, and `Page_Load`). Although pipeline-level authentication rules (`AuthenticateRequest` / `AuthorizeRequest`) execute earlier, any anonymously reachable `.aspx` page or any page relying on application-level session checks inside `Page_Load` (and neither implementing `ISuppressCsrfCheck` nor decorated with `[SuppressCsrfCheck]`) exposes the deserialization sink on `POST`--even if the page contains no `