Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Http Request Smuggling?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-http-request-smuggling)
---
name: http-request-smuggling
description: "HTTP request smuggling / desync — front-end and back-end disagree on request boundaries (CL.TE, TE.CL, TE.TE, CL.0, 0.CL, H2.CL/H2.TE/HTTP2-downgrade, client-side desync). Timing-first safe detection, self-affecting confirmation only. Tier 1 (high production-disruption risk — read the caution). Payloads: payloads/crlf-http.md. Use on proxy/CDN↔origin chains."
---
# HTTP Request Smuggling / Desync
A front-end and back-end disagree on where one request ends and the next begins → smuggle a prefix onto the next request on the connection. Length can be stated four ways: Content-Length (CL), Transfer-Encoding (TE), implicit zero (0), and HTTP/2 framing.
## Caution (production disruption)
This class can poison **shared** connection pools and response queues, corrupting other users' traffic or taking endpoints down. Stay at proof-of-concept: detect with **timing probes**, confirm only with a prefix that affects **your own very next request on the same connection** (Burp "Send group in sequence, single connection"). Never loop smuggled payloads against shared pools, never poison a cache/queue on production, and prefer a staging/lab replica for exploitation. Confirm RoE allows desync testing before starting.
## Trigger phrases
`http request smuggling, desync, cl.te, te.cl, cl.0, 0.cl, h2.cl, h2.te, http2 downgrade, client-side desync`
## Method
1. **Map the chain:** identify front-end/CDN ↔ origin (via `Via`, `Server`, timing, differing error pages). Pick low-risk endpoints (static files, redirects) for probes.
2. **Timing detection (SAFE primitive):** send a CL.TE / TE.CL timeout probe on a single connection — if the back-end honours the "wrong" header it blocks waiting for a terminating chunk. Long delay vs fast control = candidate (no corruption):
```
POST / HTTP/1.1
Host: target
Transfer-Encoding: chunked
Content-Length: 4
1
A
X
```
3. **Classify discrepancy** with HTTP Request Smuggler v3.0 (header-obfuscation variants, diff vs baseline): **V-H** (front-end sees header, back-end doesn't) → usually CL.0; **H-V** → CL.TE or 0.CL when TE blocked. Also test **bare-LF** acceptance.
4. **Safe confirm:** smuggle a prefix targeting a made-up `/hopefully404` you control; verify only *your own* next response flips to 404 on the same single connection.
5. **Report** the differential + impact (prefixing, access-control bypass, Host/credential capture) — do not weaponize against live users.
## Modern / rare techniques
- [NEW] **CL.0** — back-end ignores CL on body-less endpoints (`/favicon.ico`, redirects, error pages). Detect: over-long CL answered without waiting for body. amazon.com `/b/` was public.
- [NEW] **0.CL** — front-end ignores CL; alone it deadlocks, exploitable with an **early-response gadget** (IIS reserved device name, some redirects). Unexplained **400s** are the tell; **double-desync (0.CL→CL.0)** with Turbo Intruder `0cl-find-offset`.
- [NEW] **Expect-based desync** (2025): vanilla/obfuscated `Expect: 100-continue` → 0.CL or CL.0; HEAD+Expect deadlock; `100 Continue` header-stripping-filter bypass.
- [NEW] **Client-Side Desync (CSD)** — from a victim browser via `fetch()` (`mode:'no-cors', credentials:'include'`, body = smuggled request) on non-h2 targets ignoring cross-domain POST bodies; confirm in DevTools (Preserve log + Connection-ID).
- [NEW] **Pause-based desync** — headers promise a body, pause, server-level component responds during pause → delayed bytes parsed as new request.
- [NEW] **HTTP/2 → 1.1 downgrade:** H2.CL (bogus `content-length`), H2.TE (`transfer-encoding: chunked` in h2), CRLF/header-name injection in h2 values, request-line injection via `:method`/`:path`, request splitting (double CRLF), request tunnelling (smuggle full GET, HEAD for blind), `:authority`/`host` mismatch, duplicate `:path`, `:scheme` injection.
- [NEW] **Connection-state** — first-request validation/routing: valid Host first, internal/`421` Host second on the same connection → internal vhost access.
## Bypass / evasion
${CLAUDE_PLUGIN_ROOT}/payloads/crlf-http.md + waf-bypass.md: TE.TE obfuscation (`Transfer-Encoding: xchunked`, space-before-colon, tab, `\x0b`/`\x0c` suffix, header folding, duplicate TE), h2 CRLF smuggling to bypass HTTP/1 WAFs, fully RFC-compliant CL.0/0.CL to evade front-end filters.
## Escalation / chaining
Prefixing → steal victim requests/tokens, bypass front-end access control → `access-control`, `host-header-injection`. Combine with `web-cache-attacks` (response-queue/cache poisoning) and `cors`. CSD → browser cache poisoning / internal reach.
## Backend & tooling
Preferred Kali path (native / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike): Burp **HTTP Request Smuggler v3.0**, **Turbo Intruder** (single-connection sequences, `0cl-find-offset`), `h2csmuggler`, headless browser for CSD, Web Security Academy labs for safe practice. If a Burp MCP is present, drive probes/confirmation through it (single-connection groups). Windows-local last resort. See `zazy-orchestrator`.
## Verification (background, before reporting)
Re-confirm the discrepancy independently (second probe/variant or distinct vantage) and reproduce on a single self-owned connection before marking CONFIRMED. Never confirm by corrupting shared traffic. Report true positives only.
## Evidence
The timing-probe delta, the classified discrepancy (CL.TE/CL.0/0.CL/H2.*), the self-affecting prefix proof (your own request flipped), affected chain/endpoint, impact. Remediation: HTTP/2 end-to-end incl. upstream, reject messages with both CL+TE and obfuscated TE, reject bodies on GET/HEAD/OPTIONS, honour CL on every endpoint, drop connection on any parse error, don't rely on WAFs.