Skip to content
Smuggling / CRLF Write-up Advanced

How HTTP Request Smuggling (CL.TE) Bypassed Edge WAF Controls for

A CL.TE request smuggling flaw between an edge proxy and back-end server let an attacker bypass WAF path restrictions and inject a smuggled request that captured the next user's raw HTTP headers, including session tokens, into a public profile bio field.

T4nv1 Follow

Published on medium.com

Modern web infrastructure rarely relies on a single monolithic server to handle incoming traffic. Instead, requests pass through a chain of intermediaries — such as Content Delivery Networks (CDNs), Web Application Firewalls (WAFs), and reverse proxies — before reaching the origin application server.

T4nv1, on medium.com

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 disagreed on HTTP message boundaries because the proxy prioritised Content-Length while the back-end prioritised Transfer-Encoding: chunked, and the proxy reused persistent back-end connections.

Impact

An attacker could bypass edge WAF restrictions and capture the next user's session tokens, leading to account takeover without user interaction.

What the attacker needed

Attacker can send HTTP requests to the target; victim sends a request over the same pooled connection; attacker has a valid account with a public profile

The fix

The report recommends enforcing HTTP/2 end-to-end, rejecting requests with both Content-Length and Transfer-Encoding at the edge, or disabling back-end connection reuse.

How it was found

  1. Send a request with both Content-Length and Transfer-Encoding: chunked to the root endpoint and observe a timing delay confirming CL.TE desynchronisation.
  2. Smuggle a request to an internal administrative path inside the body of a legitimate POST request to bypass the edge WAF.
  3. Smuggle a POST to the profile bio update endpoint with a Content-Length larger than the body so the back-end waits for more bytes.
  4. When a victim sends a request over the same pooled connection, the back-end appends the victim's raw headers to the bio parameter and saves them.
  5. Retrieve the attacker's public profile page to read the victim's captured headers and session tokens.

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 request passes through a proxy and then a back-end server, both must agree on where the request ends. Here they disagreed: the proxy used one length header while the back-end used a different encoding, so leftover bytes were treated as the start of the next user's request. The attacker used that gap to make the back-end save the next user's login headers into a public profile field.

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.

More by T4nv1

View all

113 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Request smuggling and header injection

The lesson behind this report.

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.