Chuyển đến nội dung
Skillpedia
Bảo mật48k · #4878

hunt-http-smuggling

Skill này làm gì

Công cụ này tìm kiếm lỗ hổng bảo mật gọi là 'HTTP request smuggling'. Nó cố khai thác cách máy chủ web xử lý các yêu cầu độc hại để truy cập thông tin hoặc chức năng không nên được phép truy cập.

Khi nào nên dùng

  • ✓Khi kiểm thử bảo mật một website hoặc ứng dụng web.
  • ✓Để kiểm tra xem máy chủ có dễ bị tấn công 'smuggling' không.
  • ✓Như một phần của đợt kiểm toán bảo mật được ủy quyền.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hunt-http-smuggling/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Kiểm tra xem website [URL website] có dễ bị HTTP request smuggling không.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ gửi các yêu cầu được tạo đặc biệt đến máy chủ. Nó phân tích phản hồi để xác định xem máy chủ có bị đánh lừa xử lý yêu cầu một cách bất thường hay không, cho thấy có lỗ hổng.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

⚠️ 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"

…

Câu hỏi thường gặp

“HTTP request smuggling” là gì?

Đó là kiểu tấn công trong đó kẻ tấn công gửi yêu cầu độc hại làm máy chủ web bị nhầm lẫn, khiến nó hiểu một yêu cầu duy nhất như hai yêu cầu riêng biệt. Điều này có thể dẫn đến truy cập trái phép hoặc đánh cắp dữ liệu.

Tại sao tôi cần sự ủy quyền để dùng công cụ này?

Dùng công cụ này trên hệ thống không có sự cho phép rõ ràng là bất hợp pháp. Nó chỉ dành cho kiểm thử bảo mật được ủy quyền và mục đích học tập để đảm bảo hệ thống được bảo vệ.

Rủi ro của một cuộc tấn công “smuggling” là gì?

Rủi ro gồm đánh cắp thông tin đăng nhập của người dùng khác, truy cập khu vực quản trị, nhiễm độc cache (khiến người dùng thấy nội dung độc hại) và vượt qua tường lửa hoặc kiểm soát truy cập.

Chi tiết

Mô tả gốc của tác giả

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

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#4878
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự