When testing an HTTP/2 proxy, try sending a :a pseudo-header to see if it desynchronizes the translation layer and allows arbitrary HTTP requests to be smuggled through. This can be done by sending an HTTP/2 request with a :a pseudo-header and a small value, such as :a: xx. If t…
HTTP request smuggling: how to hunt it
Where to look
- Conflicting Content-Length and Transfer-Encoding headers (CL.TE, TE.CL) and disguised Transfer-Encoding values.
- HTTP/2 to HTTP/1.1 downgrades that let lengths or headers through (H2.CL, H2.TE).
- Client-side desync, where a browser itself can be made to send the poisoned request.
- Timing differences that show a desync safely, before anything that could affect others.
What proves it
Confirm with timing first: on a busy site your smuggled prefix can land on another user’s request instead of your follow-up, so go further only where the program allows it.
Read further
Writeups on HTTP request smuggling, by hunters and researchers, most with a short summary.
Related classes