$6,000 for Two Servers Disagreeing About Where a Request Ends: An
The front-end proxy and back-end server disagreed on how to parse requests containing both Content-Length and Transfer-Encoding headers, allowing a request smuggling desync. An attacker could poison the shared connection's response queue, potentially exposing other users' session data or account contents.
The bug that paid out here didn’t live in any application code at all. It lived in the disagreement between two pieces of infrastructure that were both, individually, working exactly as designed.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The front-end proxy and back-end server used different rules to decide message length when both Content-Length and Transfer-Encoding headers were present, and neither rejected the ambiguous request.
Impact
An attacker able to send requests to the shared front-end could poison the connection's response queue, potentially exposing other users' session data, authentication tokens, or account contents; the researcher demonstrated this only between two sessions they controlled.
What the attacker needed
Ability to send requests to the front-end; shared connection reuse between proxy and back-end; no rejection of ambiguous length headers
The fix
The front-end was changed to reject requests containing both Content-Length and Transfer-Encoding headers, and the team was evaluating HTTP/2 for internal traffic.
How it was found
- Send a request with both Content-Length and Transfer-Encoding headers and observe a response delay on the back-end.
- Repeat the timing probe several times alongside a control request to confirm the delay is consistent.
- Send a crafted request whose body contains a smuggled GET request for an account settings page.
- Use two browser sessions you control, timing the second session's request to land on the poisoned connection.
- Observe that the second session receives the response intended for the smuggled request.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
When a website sits behind a proxy, the proxy and the server behind it share a connection for speed. If they disagree about where one request ends and the next begins, an attacker can slip part of a request into someone else's. That can make the server send one user's private page to the attacker.
What is Smuggling / CRLF?
A front end and a back end split one connection's bytes into requests differently, letting an attacker hide a request inside another user's.