
Reproduzierbares Loopback-Lab + Invarianten-Batterie für Integer-Fehler in der HTTP/2-Flusskontrolle (Klasse nginx CVE-2026-123007). Nur für Labore, koordinierte Offenlegung.
Reproduzierbares Loopback-Lab + Invarianten-Batterie für die Integer-Bug-Klasse bei HTTP/2-Flow-Control / Zähler / Länge (CWE-191), validiert gegen nginx CVE-2026-123007.
Validiertes Ergebnis: Die cleanup_overcredit-Probe FAILt auf nginx 1.31.8 (bekannt verwundbar) und PASSt auf nginx 1.31.9 (gepatcht) sowie auf Apache, Caddy, Envoy, Go net/http und nghttpd — übereinstimmend mit arkrwns öffentlichem --safe-PoC auf denselben Listenern. Acht echte HTTP/2-Stacks; sieben RFC-9113-Proben; Ein-Kommando-Ausführung.
Ausführlichere Beschreibung: WRITEUP.md.
127.0.0.1). Treiber verweigern Nicht-Loopback-Hosts.git clone https://github.com/c0re-i5/intbug-lab.git
cd intbug-lab
python3 -m venv .venv && .venv/bin/pip install -r ours/requirements.txt
./scripts/run-all.sh # or: make battery
Das bringt die gepinnten Ziele hoch, führt Offline-Unit-Tests aus und schreibt die
Matrix unter evidence/. Abbauen mit ./scripts/lab-down-targets.sh
(oder make down).
# arkrwn --safe PoC (for scripts/proof.sh cross-check)
git clone https://github.com/arkrwn/NGINX2Root-CVE-2026-123007.git \
detectors/arkrwn-nginx2root
(cd detectors/arkrwn-nginx2root && cargo build --release)
# Rapid7 reproduction notes (reference only)
git clone https://github.com/sfewer-r7/CVE-2026-123007.git \
detectors/sfewer-r7-cve
# h2spec for the optional zero-WU RFC cross-check (make zero-wu)
# see bin/README.md for the download command
Details: detectors/README.md, bin/README.md.
make battery # = ./scripts/run-all.sh
# or, skip the ~45s heavy probe:
make battery-light # = ./scripts/run-all.sh --skip-heavy
./scripts/run-all.sh ist der kanonische Ein-Befehl (auch als make battery verfügbar, wenn GNU make installiert ist). Er ist idempotent:
./scripts/box-dockerd.sh)./scripts/lab-up-targets.sh)Exit-Codes: 0 nach einem erfolgreichen Harness-Lauf (FAIL/ANOMALY in der Matrix sind
Beobachtungen, keine Harness-Fehler). Nicht null nur, wenn Docker nicht erreichbar ist,
Unit-Tests fehlschlagen oder die Batterie abstürzt.
Abbau: make down (oder ./scripts/lab-down-targets.sh).
| id | Rolle | Listen | Image-Digest |
|---|---|---|---|
nginx-1.31.8 | bekannt verwundbar (CVE-2026-123007) | 127.0.0.1:19443 | nginx@sha256:5ab5b0b01097420873a3f3330f44248e34a3c2a3e8d5ee30658aeae8cb7435da |
nginx-http2-off | Negativkontrolle (gleiches Image, http2 aus) | 127.0.0.1:19444 | wie oben |
httpd-2.4.71 | Cross-Impl (Apache + mod_http2) | 127.0.0.1:19445 | httpd@sha256:32e9403360ab2f1047523e72f256527fb9aee68b342abf6ad03f0d629157f3d9 |
nginx-1.31.9 | gepatchte saubere Kontrolle | 127.0.0.1:19446 | nginx@sha256:08f354a3b44c422021a5c0f5efb3e27f8f90236b5447d3bac4053f5f50ab6760 |
caddy-2.10 | Cross-Impl (Caddy) | 127.0.0.1:19447 | caddy@sha256:c3d7ee5d2b11f9dc54f947f68a734c84e9c9666c92c88a7f30b9cba5da182adb |
envoy-1.32 | Cross-Impl (Envoy) | 127.0.0.1:19448 | envoyproxy/envoy@sha256:6bf0d37dd5e8eac4b37effe89a1aec4760f7f2ce860d1fd6af22147eb87a5058 |
go-nethttp | Cross-Impl (Go net/http stdlib) | 127.0.0.1:19449 | gebaut aus golang@sha256:1a6d4452c65dea36aac2e2d606b01b4a029ec90cc1ae53890540ce6173ea77ac |
nghttpd | Referenz (nghttp2) | 127.0.0.1:19450 | gebaut aus debian@sha256:734a72b3d6142a71993b4bc580ca01d8ca687f77a2c422d96a961d3376b179bc (+ apt nghttp2-server, selbst nicht digest-gepinnt) |
Alle Veröffentlichungen sind nur 127.0.0.1. Bodies sind 896-Byte-/index.html (Range-fähig).
go-nethttp wird aus dem gepinnten golang-Digest mit ausschließlich stdlib neu gebaut (kein Modul-Fetch).nghttpd installiert nghttp2-server via apt auf einer gepinnten debian-Basis — die apt-Paket-
version schwankt mit dem Distro-Snapshot. Behandle es als Referenz-Baseline, nicht als
Bit-für-Bit-Pin. Hier dokumentiert, damit niemand etwas anderes vorgibt.Implementiert in ours/battery.py. Jede Probe zitiert RFC 9113 (HTTP/2).
| Probe-ID | Was geprüft wird | RFC |
|---|---|---|
h2_alpn | ALPN h2 vorhanden/abwesend wie erwartet | §3.3 / RFC 7301 |
wu_zero_conn | WINDOW_UPDATE-Inkrement 0 auf Verbindung → PROTOCOL_ERROR | §6.9.1 |
wu_zero_stream | WINDOW_UPDATE-Inkrement 0 auf Stream → PROTOCOL_ERROR | §6.9.1 |
wu_conn_overflow | Verbindungs-WU, die MAX=2^31-1 überschreiten würde → FLOW_CONTROL_ERROR | §6.9.1 |
wu_stream_overflow | Stream-WU, die MAX überschreiten würde → FLOW_CONTROL_ERROR | §6.9.1 |
settings_iw_overflow | SETTINGS_INITIAL_WINDOW_SIZE-Delta, das einen Stream über MAX schiebt | §6.9.2 |
cleanup_overcredit | Queued-DATA-Cleanup darf das Verbindungsfenster nicht über MAX treiben; Post-Refund-WU-Guard (CVE-2026-123007 Accounting-Klasse) | §6.9 / CWE-191 |
Status: PASS (Invariante gehalten), FAIL (Invariante gebrochen — Bug-Klassen-Signal), ANOMALY (manuelle Prüfung erforderlich, keine bestätigte CVE), INCONCLUSIVE (Probe konnte nicht abgeschlossen werden — kein PASS), SKIP, ERROR.
Schwere Probe cleanup_overcredit ≈ 14 MiB / ~45s pro Ziel. Überspringen mit
./scripts/run-battery.sh --skip-heavy oder make battery-light.
Aus evidence/BATTERY-MATRIX-latest.txt (graceful cleanup + open-stream wu_zero fix):
probe | nginx-1.31.8 | nginx-http2-off | httpd-2.4.71 | nginx-1.31.9 | caddy-2.10 | envoy-1.32 | go-nethttp | nghttpd
h2_alpn | PASS | PASS | PASS | PASS | PASS | PASS | PASS | PASS
wu_zero_conn | PASS | - | PASS | PASS | PASS | ANOMALY | PASS | PASS
wu_zero_stream | PASS | - | PASS | PASS | ANOMALY | ANOMALY | ANOMALY | PASS
wu_conn_overflow | PASS | - | PASS | PASS | PASS | ANOMALY | PASS | PASS
wu_stream_overflow | FAIL | - | ANOMALY | FAIL | ANOMALY | ANOMALY | ANOMALY | ANOMALY
settings_iw_overflow | FAIL | - | ANOMALY | FAIL | PASS | ANOMALY | PASS | ANOMALY
cleanup_overcredit | FAIL | - | PASS | PASS | PASS | PASS | PASS | PASS
cleanup_overcredit schließt jetzt auf allen 8 h2-Zielen ab (kein Broken-Pipe-Soft-PASS).
caddy/envoy/go/nghttpd verwenden key_updates=0 / carrier=200000 (voller KeyUpdate-Druck
führt bei diesen Stacks zu Broken Pipe). Siehe evidence/MANUAL-REVIEW-NOTES.txt.