Skillpedia
الأمان48k · #4878

hunt-http-smuggling

ما الذي تفعله

تبحث هذه المهارة عن ثغرة أمنية تُسمى «تهريب طلبات HTTP» (HTTP request smuggling). تحاول استغلال طريقة تعامل خادم الويب مع الطلبات الخبيثة للوصول إلى معلومات أو وظائف لا يُفترض أن تكون متاحة.

متى تستخدمها

  • ✓عندما تختبر أمان موقع أو تطبيق ويب.
  • ✓للتحقق مما إذا كان الخادم معرضًا لهجمات «التهريب».
  • ✓كجزء من تدقيق أمني مصرّح به.

رابط المهارة

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hunt-http-smuggling/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hunt-http-smuggling/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“تحقق مما إذا كان الموقع [website URL] معرضًا لتهريب طلبات HTTP.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

ترسل هذه المهارة طلبات مصممة خصيصًا إلى الخادم. وتحلل الاستجابات لتعرف إن كان الخادم قد خُدع لمعالجة الطلب بشكل غير متوقع، مما يدل على وجود ثغرة.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

⚠️ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.

Mandatory confirmation gate Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:

  1. Ask the user to state the exact target URL, IP, account, or resource.
  2. Ask the user to confirm written authorization and the permitted scope.
  3. Show the exact command(s) and explain their expected effect.
  4. Wait for explicit confirmation in the current conversation.

Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.

HTTP REQUEST SMUGGLING

Lowest dup rate. $5K–$30K. PortSwigger research by James Kettle.

CL.TE (Content-Length front, Transfer-Encoding back)

POST / HTTP/1.1
Content-Length: 13
Transfer-Encoding: chunked

0

SMUGGLED

Detection

1. Burp extension: HTTP Request Smuggler
2. Right-click request → Extensions → HTTP Request Smuggler → Smuggle probe
3. Manual timing: CL.TE probe + ~10s delay = backend waiting for rest of body

Impact Chain

Poison next request → access admin as victim
Steal credentials → capture victim's session
Cache poisoning → stored XSS at scale

Target-Suitability Matrix (2026 reality check)

The classic CL.TE / TE.CL payloads are NOT universally exploitable in 2026. Modern proxies are RFC 9112 strict by default. Fingerprint the front-end BEFORE investing time.

Front-end CL.TE TE.CL H2.CL H2.TE Notes
Nginx ≥ 1.21 NO NO partial (H2 ingress) partial RFC-strict; rejects CL+TE with HTTP 400. Verified locally on Nginx 1.27 — all 9 documented variants killed by front-end (docs/verification/phase2h-smuggling-cachepoison.md).
Caddy 2.x NO NO — — Hardened by default
Envoy ≥ 1.20 NO NO partial partial Hardened in most paths
HAProxy ≤ 2.4 ✓ ✓ — — Vulnerable, see CVE-2021-40346
AWS ALB + specific upstream partial partial ✓ ✓ Several disclosed-paid reports 2022-2024
Cloudflare → S3 / Lambda chains — — ✓ ✓ H2-downgrade attacks remain viable
Older F5 BIG-IP (TMM < 16) ✓ — — — Vendor advisories
Citrix ADC / NetScaler (older firmware) ✓ ✓ — — Disclosed in 2020-2022
Squid 3.x ✓ — — — Older deployments
Apache Traffic Server (older) ✓ ✓ ✓ ✓ PortSwigger research
Apache mod_proxy_ajp → Tomcat — — — — Cross-protocol HTTP→AJP desync (CVE-2022-26377); smuggled request is opaque to the WAF and reaches internal AJP admin/status paths that lack the external auth controls
Custom Python / Go proxies ✓ ✓ — — Frequently miss RFC enforcement

Operator fingerprint quick-check

curl -sI https://target/ | grep -i "Server:"
  • nginx/1.21+, Caddy, envoy → CL/TE classic is dead — pivot to H2.CL/H2.TE if the front-end speaks HTTP/2, or look for legacy proxies upstream
  • HAProxy, header points to AWS/CDN → run the full payload matrix
  • No Server header → assume hardened, but run a single quick space-before-colon probe; if it doesn't 400, dig deeper

H2.CL / H2.TE (the modern dominant vector)

H2-downgrade smuggling attacks rely on the front-end speaking HTTP/2 to the client and HTTP/1.1 to origin. The downgrade introduces CL/TE confusion because HTTP/2's frame-length headers don't survive the conversion cleanly. Most CDN+origin chains in 2024-2026 use this exact topology.

Tools that send HTTP/2 raw frames (Burp Pro's HTTP Request Smuggler extension, h2csmuggler, smuggler.py) are the right starting point against CDN-fronted targets. Avoid HTTP/1.1-only test clients (curl, raw sockets) against H2-front-ended targets — you'll send the wrong protocol entirely.

Mass credential harvesting — the "collector gadget"

…

الأسئلة الشائعة

ما هو «تهريب طلبات HTTP»؟

هو نوع من الهجوم يرسل فيه المهاجم طلبات خبيثة تربك خادم الويب، فيفسّر الطلب الواحد على أنه طلبان منفصلان. وقد يؤدي ذلك إلى الوصول غير المصرح به أو سرقة البيانات.

لماذا أحتاج إلى تصريح لاستخدام هذه المهارة؟

استخدامها على أنظمة دون إذن صريح غير قانوني. وهي مخصصة للاختبار الأمني المصرّح به والأغراض التعليمية لضمان حماية الأنظمة.

ما مخاطر هجوم «التهريب»؟

تشمل سرقة بيانات اعتماد المستخدمين الآخرين، والوصول إلى المناطق الإدارية، وتسميم الذاكرة المؤقتة (فيظهر للمستخدمين محتوى خبيث)، وتجاوز جدران الحماية أو ضوابط الوصول.

التفاصيل

الوصف الأصلي من المؤلف

Hunt HTTP request smuggling (CL.TE, TE.CL, H2.CL, H2.TE).

repo: sickn33/agentic-awesome-skills

الشعبية

نجوم GitHub
48k
الترتيب
#4878
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة