Skip to content
KitploitKITPLOIT
أدواتالمدونة
إرسال
أدواتالمدونة
إرسال

أدوات الاختراق واختبار الاختراق والأمن السيبراني لترسانتك الأمنية!

Kitploit هو دليل لأدوات الاختراق والأمن السيبراني واختبار الاختراق. اكتشف آخر تحديثات المشاريع للعثور على الثغرات وتحليل الأنظمة وأتمتة الاختبارات وتعزيز أمنك.

··الخلاصات·اتصال·الخصوصية·© 2026 Kitploit

دليل الأدوات

الفئات

عرض جميع الفئات
Loading categories
أدوات/GitHubGitHub/hirokiii/cve-2023-44487
أمن الحاوياتتحليل الثغرات الأمنيةتدقيق التكوينأمن الويبأمن الشبكاتالتعلم والتعليممختبرات وتدريب عملي
GitHubhirokiii/cve-2023-44487

CVE-2023-44487

بيئة تعليمية لـ LTAT.04.022 الواجب 4.

عرض المستودع
منذ 3 أشهرلم تتم المراجعة بعد

الأكثر شعبية

عرض الكل →

اكتشف الأدوات الأكثر استخدامًا من قبل مجتمعنا.

استكشف جميع الأدوات

تصفح مجموعتنا من الأدوات

عرض جميع الأدوات →
مشاركة

CVE-2023-44487 — مختبر اختبار إعادة الضبط السريع لـ HTTP/2

بيئة تعليمية للواجب المنزلي 4 لمقرر LTAT.04.022.
أربع حاويات تتيح لك فحص ومقارنة الإعدادات غير المُصحَّحة مقابل المُصحَّحة.


خريطة المنافذ

الحاويةالمنفذالبرنامجالحالة
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. فحص حدود التدفقات (الفرق الرئيسي)

استخدم nghttp لفحص إطار SETTINGS الذي يرسله كل خادم.
يعرض هذا قيمة 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; 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

# (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%

ستُظهر الحاوية الآمنة عمليات إعادة تعيين أو رفض للاتصال عند بلوغ حد التدفقات؛ بينما ستقبل الحاوية غير المُصحَّحة جميع الطلبات الخمسين دون اعتراض.


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
ServerTokensFull

المراجع

  • 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
النتيجة
8441نعميُحتمل وجود ثغرة
8442نعميُحتمل أنه مُصحَّح
8443نعميُحتمل وجود ثغرة
8444نعمغير معروف
الإعدادغير مُصحَّح (1.24)آمن (1.25.3+)
http2_max_concurrent_streams128 (الافتراضي)32
keepalive_requests10000100
keepalive_timeout300s65s
حارس معدل RST_STREAMلا يوجدمدمج في التصحيح
Prod
تصحيح حماية إعادة الضبطغير موجودمُطبَّق