本文へスキップ
Skillpedia
セキュリティ48k · #4878

hunt-http-smuggling

できること

このツールは「HTTPリクエストスマグリング」と呼ばれるセキュリティ上の脆弱性を探すためのものです。Webサーバーが不正なリクエストを処理する仕組みを悪用して、本来アクセスできないはずの情報や機能にアクセスできないかを試みます。

使う場面

  • ✓Webサイトやwebアプリケーションのセキュリティをテストするとき。
  • ✓サーバーが「スマグリング」攻撃に対して脆弱かどうかを確認するとき。
  • ✓許可を得て実施するセキュリティ監査の一部として使うとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hunt-http-smuggling/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“[WebサイトのURL] がHTTPリクエストスマグリングに脆弱かどうかを確認して”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールは、特別に細工したリクエストをサーバーに送信します。そしてレスポンスを分析し、サーバーが想定外の形でリクエストを処理してしまったかどうか、つまり脆弱性があるかを特定します。

技術的な内容(元の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リクエストスマグリング」とは何ですか?

攻撃者が不正なリクエストを送ってWebサーバーを混乱させ、1つのリクエストを2つのリクエストとして解釈させる攻撃の一種です。これにより、不正アクセスやデータの盗難につながることがあります。

このツールを使うのに、なぜ許可が必要なのですか?

許可を得ずにシステムに使用することは違法です。このツールは、システムが適切に守られているかを確認するための、許可を得たセキュリティテストと教育目的にのみ使ってください。

「スマグリング」攻撃にはどんなリスクがありますか?

他のユーザーの認証情報を盗まれたり、管理者向けの領域にアクセスされたり、キャッシュポイズニング(利用者に悪意のあるコンテンツを表示させること)が起きたり、ファイアウォールやアクセス制御を回避されたりするリスクがあります。

詳細

作者による元の説明

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

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#4878
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル