Skip to content
KitploitKITPLOIT
उपकरणब्लॉग
जमा करें
उपकरणब्लॉग
जमा करें

हैकिंग, पेनटेस्ट और साइबर सुरक्षा उपकरण आपके सुरक्षा शस्त्रागार के लिए!

Kitploit हैकिंग, साइबर सुरक्षा और पेंटेस्टिंग टूल्स की एक निर्देशिका है। कमजोरियों को खोजने, सिस्टम का विश्लेषण करने, परीक्षण को स्वचालित करने और अपनी सुरक्षा को मजबूत करने के लिए नवीनतम प्रोजेक्ट अपडेट खोजें।

··फ़ीड·संपर्क·गोपनीयता·© 2026 Kitploit

टूल निर्देशिका

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
CVE-2023-44487 — LTAT.04.022 होमवर्क 4 के लिए शैक्षिक वातावरण। | Kitploit
उपकरण/GitHubGitHub/hirokiii/cve-2023-44487
कंटेनर सुरक्षाभेद्यता विश्लेषणकॉन्फ़िगरेशन ऑडिटिंगवेब सुरक्षानेटवर्क सुरक्षालर्निंग और शिक्षालैब और अभ्यास
GitHubhirokiii/cve-2023-44487

CVE-2023-44487

LTAT.04.022 होमवर्क 4 के लिए शैक्षिक वातावरण।

रिपॉजिटरी देखें
3 महीने पहलेअभी तक समीक्षित नहीं

सबसे लोकप्रिय

सभी देखें →

हमारे समुदाय द्वारा सबसे अधिक उपयोग किए जाने वाले उपकरण खोजें।

सभी उपकरण खोजें

हमारे उपकरणों का संग्रह ब्राउज़ करें

सभी उपकरण देखें →
साझा करें

CVE-2023-44487 — HTTP/2 तीव्र रीसेट परीक्षण प्रयोगशाला

LTAT.04.022 होमवर्क 4 के लिए शैक्षिक वातावरण।
चार कंटेनर आपको कमजोर बनाम पैच किए गए कॉन्फ़िगरेशन को स्कैन और तुलना करने देते हैं।


पोर्ट मानचित्र

कंटेनरपोर्टसॉफ्टवेयरस्थिति
nginx-vuln8441nginx 1.24अतिसंवेदनशील
nginx-secure8442nginx latestपैच किया गया
apache-vuln8443Apache 2.4.57अतिसंवेदनशील
apache-secure8444Apache latestपैच किया गया

1. सेटअप

root@kitploit:~
# Generate self-signed TLS certs (required by all containers)
bash gen-certs.sh

# Start all 4 containers
docker compose up -d

# Verify all are running
docker compose ps

2. बुनियादी कनेक्टिविटी परीक्षण

root@kitploit:~
# Check each container responds (ignore cert warning with -k)
curl -k --http2 -I https://localhost:8441   # nginx vulnerable
curl -k --http2 -I https://localhost:8442   # nginx secure
curl -k --http2 -I https://localhost:8443   # apache vulnerable
curl -k --http2 -I https://localhost:8444   # apache secure

अपेक्षित: सभी चार से HTTP/2 200।


3. HTTP/2 सक्रिय है की पुष्टि करें

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

खोजें:

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

4. CVE स्कैनर चलाएँ

root@kitploit:~
# Copy the scanner here first (or adjust the path)
cp ../scanner.py .

python3 scanner.py localhost 8441   # nginx vuln
python3 scanner.py localhost 8442   # nginx secure
python3 scanner.py localhost 8443   # apache vuln
python3 scanner.py localhost 8444   # apache secure

अपेक्षित परिणाम:


5. स्ट्रीम सीमाएँ जाँचें (मुख्य अंतर)

प्रत्येक सर्वर द्वारा भेजे गए SETTINGS फ्रेम का निरीक्षण करने के लिए nghttp का उपयोग करें।
यह सीधे SETTINGS_MAX_CONCURRENT_STREAMS मान दिखाता है।

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

# Inspect SETTINGS frame
for port in 8441 8442 8443 8444; do
  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

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

अतिसंवेदनशील सर्वर: उच्च स्ट्रीम सीमा (128+)
सुरक्षित सर्वर: 32 तक सीमित


6. तीव्र रीसेट दबाव का अनुकरण करें (सुरक्षित, केवल स्थानीय)

यह एक कनेक्शन पर तेज़ी से 50 अनुरोध भेजता है — वास्तविक हमला नहीं, लेकिन लॉग में सर्वर के RST हैंडलिंग व्यवहार को दर्शाता है।

root@kitploit:~
# h2load is part of nghttp2-client
h2load -n 1000 -c 1 -m 50 https://localhost:8441   # vuln
h2load -n 1000 -c 1 -m 50 https://localhost:8442   # secure

उदाहरणों के लिए अपेक्षित लॉग:

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%

सुरक्षित कंटेनर कनेक्शन रीसेट या अस्वीकार दिखाएगा जब स्ट्रीम सीमा हिट होती है; अतिसंवेदनशील कंटेनर बिना शिकायत के सभी 50 स्वीकार करेगा।


7. सर्वर हेडर की तुलना करें

root@kitploit:~
# Vulnerable servers expose version info
curl -k -I https://localhost:8441 2>/dev/null | grep -i server
curl -k -I https://localhost:8443 2>/dev/null | grep -i server

# Secure servers hide or minimize version info
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. टियरडाउन

root@kitploit:~
docker compose down

कॉन्फ़िगरेशन क्या बदलते हैं (सारांश)

nginx

Apache

सेटिंगअतिसंवेदनशील (2.4.57)सुरक्षित (2.4.58+)
H2MaxSessionStreams100032
ServerTokensपूर्ण

संदर्भ

  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2023-44487
  • Cloudflare रिपोर्ट: https://blog.cloudflare.com/technical-breakdown-http2-rapid-reset-ddos-attack/
  • Google रिपोर्ट: https://cloud.google.com/blog/products/identity-security/how-it-works-the-novel-http2-rapid-reset-ddos-attack
  • CISA सलाह: https://www.cisa.gov/news-events/alerts/2023/10/10/http2-rapid-reset-vulnerability-cve-2023-44487
टूल डाउनलोड करें
लक्ष्य
HTTP/2
निर्णय
8441YESसंभावित रूप से अतिसंवेदनशील
8442YESसंभावित रूप से पैच किया गया
8443YESसंभावित रूप से अतिसंवेदनशील
8444YESअज्ञात
सेटिंगअतिसंवेदनशील (1.24)सुरक्षित (1.25.3+)
http2_max_concurrent_streams128 (default)32
keepalive_requests10000100
keepalive_timeout300s65s
RST_STREAM दर गार्डकोई नहींपैच में निर्मित
प्रोड
रीसेट गार्ड पैचमौजूद नहींलागू