Langsung ke konten
Skillpedia
Keamanan5.4k Β· #14914

hunt-http-smuggling

Fungsinya

Skill ini memeriksa request smuggling HTTP, yaitu ketika proxy dan server web tidak sepakat di mana satu permintaan berakhir. Ditujukan untuk pengujian resmi pada situs yang berada di balik proxy atau CDN.

Kapan dipakai

  • βœ“Saat sebuah situs memakai load balancer atau CDN di depan server webnya.
  • βœ“Saat sebuah proxy menangani header Content-Length dan Transfer-Encoding dan Anda ingin memeriksanya.
  • βœ“Saat Anda perlu tahu apakah versi proxy tertentu kemungkinan rentan.

Link skill

https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/hunt-http-smuggling/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/hunt-http-smuggling/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œSitus kami berjalan di belakang load balancer. Bisakah Anda memeriksa request smuggling dalam uji resmi kami?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent lebih dulu mengidentifikasi proxy front-end, karena banyak proxy modern menolak trik ini. Setelah itu agent mengirim pasangan permintaan dengan waktu yang diatur dan memeriksa apakah permintaan kedua terpengaruh.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

17. 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"

The highest-impact smuggling outcome needs no per-victim interaction. Instead of blindly poisoning the queue, smuggle a request aimed at a back-end handler that echoes the full request β€” a search endpoint that reflects headers, or a redirect that mirrors the request line. The next victim's headers (Cookie, Authorization, X-Access-Token) get attributed to your smuggled request, and the reflecting handler returns them in a response you read. Repeated on a busy keep-alive socket, this harvests live credentials from arbitrary users at scale β€” and it works even through a CDN (Akamai/Cloudflare) when the CDN↔origin hop desyncs. Chains to hunt-ato.


Related Skills & Chains

  • hunt-cache-poison β€” Smuggling + cache is the canonical critical chain; one smuggled request becomes the cached response for every subsequent victim. Chain primitive: CL.TE smuggle a request whose response body contains attacker HTML/JS β†’ front-end cache stores it under a popular URL (/, /login) β†’ de-sync poisoning where the smuggled request becomes the cached response for the next N victims, persisting for the cache TTL.
  • **`hunt-a
Pertanyaan umum

Apakah serangan ini masih umum?

Skill ini menyatakan banyak proxy modern menolak pola ini, sehingga disarankan mengidentifikasi proxy terlebih dahulu.

Apa yang bisa dihasilkan dari smuggling?

Skill ini menyebut permintaan berikutnya yang teracuni, sesi yang dicuri, dan cache poisoning sebagai dampak yang mungkin.

Alat apa yang disebut?

Skill ini menyebut ekstensi HTTP Request Smuggler untuk Burp Suite sebagai alat pengujian.

Detail

Deskripsi asli dari pembuat

Hunt HTTP request smuggling (CL.TE, TE.CL, H2.CL, H2.TE). Cause: front-end proxy and back-end server disagree on where one request ends and the next begins (Content-Length vs Transfer-Encoding header parsing inconsistency). CL.TE: front-end uses CL, back uses TE β†’ smuggle by sending TE: chunked but with body that fits CL count. TE.CL: opposite. H2.CL: HTTP/2 downgrade, smuggle CL into HTTP/1.1 back-end. Detection tools: Burp HTTP Request Smuggler extension, smuggler.py, h2csmuggler. Confirm: time-delay technique (smuggled GET with 30s timeout) β€” if front-end returns slow on next victim request

repo: elementalsouls/Claude-BugHunter

Popularitas

Bintang GitHub
5.4k
Peringkat
#14914
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa