Web request smuggling

From NoorQureshi/security-skills · View interactive version

Web request smuggling is an AI agent skill from the GitHub repository NoorQureshi/security-skills. HTTP request smuggling (CL.TE/TE.CL/TE.TE/CL.0) — desync front-end and back-end to poison other users' requests. Load behind a proxy/CDN/load-balancer, on "smuggling/desync", or when Content-Length vs Transfer-Encoding handling differs. Signals: front-end + back-end chain, timing anomalies, HTTP/1.1

How to use this skill

Skill file

HTTP request smuggling (desync)

When it applies

Requests pass through a front-end (proxy/CDN/LB) to a back-end, and the two disagree on where

one request ends and the next begins (Content-Length vs Transfer-Encoding parsing).

Why it works

If the front-end and back-end compute request boundaries differently, part of your request is

interpreted by the back-end as the start of the next request — which belongs to another user.

That lets you prepend data to victims' requests: bypass controls, capture their requests, or poison caches.

Method

  1. Detect safely with timing: use Burp's HTTP Request Smuggler / the desync toolkit —

send a CL.TE / TE.CL probe crafted to make the back-end wait, and watch for the tell-tale delay.

  1. Confirm by smuggling a prefix that changes a following request's response (e.g. a

controlled 404→ redirect on the victim's path) without harming users.

  1. Exploit (in scope, carefully): bypass front-end auth/routing, capture other users'

requests (steal cookies/tokens), or web-cache poisoning via the smuggled prefix.

  1. CL.0 / H2 desync: also test HTTP/2 downgrade and CL.0 variants on modern stacks.

Gotchas

capture real user data or disrupt service beyond the minimum PoC. Respect RoE strictly.

Verify success

A smuggled prefix demonstrably affects a subsequent request/response (a controlled, self-owned

victim request shows your injected effect) — proving front/back-end desync.

References

James Kettle "HTTP Desync Attacks"; PortSwigger smuggling labs & Smuggler extension.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.