Skip to content
KitploitKITPLOIT
ToolsBlog
Einreichen
ToolsBlog
Einreichen

Hacking-, PenTest- und Cybersicherheits-Tools für Ihr Sicherheitsarsenal!

Kitploit ist ein Verzeichnis von Hacking-, Cybersicherheits- und Pentesting-Tools. Entdecken Sie die neuesten Projekt-Updates, um Schwachstellen zu finden, Systeme zu analysieren, Tests zu automatisieren und Ihre Sicherheit zu stärken.

··Feeds·Kontakt·Datenschutz·© 2026 Kitploit

Tool-Verzeichnis

Kategorien

Alle Kategorien anzeigen
Loading categories
CVE-2023-44487 — Bildungsumgebung für LTAT.04.022 Homework 4. | Kitploit
Tools/GitHubGitHub/hirokiii/cve-2023-44487
Container-SicherheitSchwachstellenanalyseKonfigurationsprüfungWebsicherheitNetzwerksicherheitLernen & BildungLabs & Praxis
GitHubhirokiii/cve-2023-44487

CVE-2023-44487

Bildungsumgebung für LTAT.04.022 Homework 4.

Repository anzeigen
vor 3 MonatenNoch nicht geprüft

Beliebteste

Alle anzeigen →

Entdecken Sie die meistgenutzten Tools unserer Community.

Alle Tools erkunden

Durchsuchen Sie unsere Tool-Sammlung

Alle Tools anzeigen →
Teilen

CVE-2023-44487 — HTTP/2 Rapid Reset Test-Labor

Lernumgebung für die Hausaufgabe 4 von LTAT.04.022.
Vier Container ermöglichen es Ihnen, verwundbare und gepatchte Konfigurationen zu scannen und zu vergleichen.


Port-Zuordnung

ContainerPortSoftwareStatus
nginx-vuln8441nginx 1.24Verwundbar
nginx-secure8442nginx latestGepatcht
apache-vuln8443Apache 2.4.57Verwundbar
apache-secure8444Apache latestGepatcht

1. Einrichtung

root@kitploit:~
# Generiere selbstsignierte TLS-Zertifikate (von allen Containern benötigt)
bash gen-certs.sh

# Starte alle 4 Container
docker compose up -d

# Überprüfe, ob alle laufen
docker compose ps

2. Grundlegender Konnektivitätstest

root@kitploit:~
# Überprüfe, ob jeder Container antwortet (ignoriere Zertifikatsfehler mit -k)
curl -k --http2 -I https://localhost:8441   # nginx verwundbar
curl -k --http2 -I https://localhost:8442   # nginx sicher
curl -k --http2 -I https://localhost:8443   # apache verwundbar
curl -k --http2 -I https://localhost:8444   # apache sicher

Erwartet: HTTP/2 200 von allen vier.


3. Bestätige, dass HTTP/2 aktiv ist

root@kitploit:~
curl -k --http2 -v https://localhost:8441 2>&1 | grep -E "ALPN|HTTP/"

Suche nach:

root@kitploit:~
* ALPN: server accepted h2
< HTTP/2 200

4. Führe den CVE-Scanner aus

root@kitploit:~
# Kopiere den Scanner hierher (oder passe den Pfad an)
cp ../scanner.py .

python3 scanner.py localhost 8441   # nginx verwundbar
python3 scanner.py localhost 8442   # nginx sicher
python3 scanner.py localhost 8443   # apache verwundbar
python3 scanner.py localhost 8444   # apache sicher

Erwartete Ergebnisse:

Ziel

5. Überprüfe Stream-Limits (Hauptunterschied)

Verwende nghttp, um den SETTINGS-Frame zu überprüfen, den jeder Server sendet.
Dies zeigt den Wert SETTINGS_MAX_CONCURRENT_STREAMS direkt an.

root@kitploit:~
# Installiere nghttp2-Client
sudo apt install nghttp2-client   # Ubuntu/Debian
brew install nghttp2              # macOS

# Untersuche den SETTINGS-Frame
for port in 8441 8442 8443 8444; LIKELY PAdo
  streams=$(nghttp -nvy https://localhost:$port 2>&1 | grep "MAX_CONCURRENT" | tail -1 | awk -F: '{print $2}' | tr -d ']')
  echo "port $port → MAX_CONCURRENT_STREAMS: $streams"
done

# (Ergebnisse)
port 8441 → MAX_CONCURRENT_STREAMS: 128
port 8442 → MAX_CONCURRENT_STREAMS: 32
port 8443 → MAX_CONCURRENT_STREAMS: 1000
port 8444 → MAX_CONCURRENT_STREAMS: 32

Verwundbarer Server: hohes Stream-Limit (128+)
Sicherer Server: begrenzt auf 32


6. Simuliere Rapid Reset-Druck (Sicher, nur lokal)

Dies sendet 50 Anfragen schnell auf einer Verbindung – kein echter Angriff,
zeigt aber das RST-Handling-Verhalten des Servers in den Logs.

root@kitploit:~
# h2load ist Teil von nghttp2-client
h2load -n 1000 -c 1 -m 50 https://localhost:8441   # verwundbar
h2load -n 1000 -c 1 -m 50 https://localhost:8442   # sicher

Erwartete Logs für Beispiele:

root@kitploit:~
$ h2load -n 1000 -c 1 -m 1000 https://localhost:8441
starting benchmark...
spawning thread #0: 1 total client(s). 1000 total requests
TLS Protocol: TLSv1.3
Cipher: TLS_AES_256_GCM_SHA384
Server Temp Key: X25519 253 bits
Application protocol: h2
progress: 10% done
progress: 20% done
progress: 30% done
progress: 40% done
progress: 50% done
progress: 60% done
progress: 70% done
progress: 80% done
progress: 90% done
progress: 100% done

finished in 22.51ms, 44428.65 req/s, 5.38MB/s
requests: 1000 total, 1000 started, 1000 done, 1000 succeeded, 0 failed, 0 errored, 0 timeout
status codes: 1000 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 124.07KB (127049) total, 83.01KB (85000) headers (space savings 38.85%), 23.44KB (24000) data
                     min         max         mean         sd        +/- sd
time for request:      260us      2.98ms      2.25ms       384us    87.70%
time for connect:     2.51ms      2.51ms      2.51ms         0us   100.00%
time to 1st byte:     3.24ms      3.24ms      3.24ms         0us   100.00%
req/s           :   45059.11    45059.11    45059.11        0.00   100.00%

$ h2load -n 1000 -c 1 -m 1000 https://localhost:8442
starting benchmark...
spawning thread #0: 1 total client(s). 1000 total requests
TLS Protocol: TLSv1.3
Cipher: TLS_AES_256_GCM_SHA384
Server Temp Key: X25519 253 bits
Application protocol: h2
progress: 10% done

finished in 5.38ms, 18583.91 req/s, 2.33MB/s
requests: 1000 total, 1000 started, 167 done, 100 succeeded, 900 failed, 900 errored, 0 timeout
status codes: 100 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 12.83KB (13134) total, 8.30KB (8500) headers (space savings 38.85%), 2.25KB (2300) data
                     min         max         mean         sd        +/- sd
time for request:       83us      1.04ms       533us       256us    63.00%
time for connect:     2.96ms      2.96ms      2.96ms         0us   100.00%
time to 1st byte:     3.55ms      3.55ms      3.55ms         0us   100.00%
req/s           :   19316.22    19316.22    19316.22        0.00   100.00%

Der sichere Container zeigt Verbindungsrücksetzungen oder Verweigerungen, wenn das Stream-Limit erreicht ist; der verwundbare akzeptiert alle 50 ohne Beanstandung.


7. Vergleiche Server-Header

root@kitploit:~
# Verwundbare Server geben Versionsinformationen preis
curl -k -I https://localhost:8441 2>/dev/null | grep -i server
curl -k -I https://localhost:8443 2>/dev/null | grep -i server

# Sichere Server verstecken oder minimieren Versionsinformationen
curl -k -I https://localhost:8442 2>/dev/null | grep -i server
curl -k -I https://localhost:8444 2>/dev/null | grep -i server

8. Abbau

root@kitploit:~
docker compose down

Zusammenfassung der Konfigurationsänderungen

nginx

Apache

EinstellungVerwundbar (2.4.57)Sicher (2.4.58+)
H2MaxSessionStreams100032
ServerTokensFull

Referenzen

  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2023-44487
  • Cloudflare-Bericht: https://blog.cloudflare.com/technical-breakdown-http2-rapid-reset-ddos-attack/
  • Google-Bericht: https://cloud.google.com/blog/products/identity-security/how-it-works-the-novel-http2-rapid-reset-ddos-attack
  • CISA-Hinweis: https://www.cisa.gov/news-events/alerts/2023/10/10/http2-rapid-reset-vulnerability-cve-2023-44487
Tool herunterladen
HTTP/2
Urteil
8441JAWAHRSCHEINLICH VERWUNDBAR
8442JAWAHRSCHEINLICH GEPATCHT
8443JAWAHRSCHEINLICH VERWUNDBAR
8444JAUNBEKANNT
EinstellungVerwundbar (1.24)Sicher (1.25.3+)
http2_max_concurrent_streams128 (Standard)32
keepalive_requests10000100
keepalive_timeout300s65s
RST_STREAM-RatenbegrenzungKeinerIm Patch enthalten
Prod
Reset-Schutz-PatchNicht vorhandenAngewendet