Skip to content
Smuggling / CRLF Write-up Advanced

When a 404 Isn’t a 404: Confirming HTTP Request Smuggling on assets.claude.ai

The author found that a front-end/CDN layer and the origin server behind assets.claude.ai disagreed about where one HTTP request ends and the next begins, producing a CL.TE desync. On a single reused connection, a smuggled request was queued and answered out of order, though only within the attacker's own connection.

sunnyjha62679 Follow

Published on medium.com

Complete Documentation : https://redheart9724.github.io/HTTPRequestSmuggling/

Sunny Jha, 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

Likely a CL.TE desync: the front-end trusted Content-Length and forwarded the whole declared body, while the back-end honoured Transfer-Encoding: chunked and treated the leftover bytes as a new request.

Impact

The author could poison the response queue only within their own connection; no cross-user data disclosure was demonstrated, and the host serves static brand assets rather than authenticated data.

What the attacker needed

Single-connection request pipelining; attacker controls own connection only; target serves static assets

The fix

The text does not say a fix was applied; it recommends rejecting requests that specify both Content-Length and Transfer-Encoding, and preferring HTTP/2 end-to-end or per-request connections.

How it was found

  1. Send a plain, well-formed request to the asset path and confirm a normal 200 response as a baseline.
  2. Queue two requests on one reused TCP connection using Burp's single-connection send group.
  3. Make the first request well-formed but with both Content-Length and Transfer-Encoding: chunked, ending its body with a zero chunk.
  4. Place the second request inside what the front-end considers the first request's body.
  5. Observe a single response containing fragments belonging to three different requests, showing the queue was poisoned.

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 you send a web request, it travels through a proxy or CDN before reaching the real server. Both sides need to agree on where the request stops and the next one starts, usually using headers that state the length or the chunked format of the body. Here they disagreed, so part of one request was treated as a separate new request, and the server answered it later on the same connection.

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.

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.