VirtuProbe Studio
Download
← All posts
Walkthrough 1 July 2026 3 min read

Detecting HTTP request smuggling without attacking anyone.

The textbook proof of request smuggling traps the next request to reach the back-end, which on a live system can be another user's. VirtuProbe detects smuggling by timing instead. Let's go through how CL.TE and TE.CL work, why the textbook proof is risky and how a timing check flags the bug without touching anyone else's traffic.

What request smuggling is

Put a front-end (a proxy or load balancer) in front of a back-end and they have to agree on one thing for every request: where it ends and the next one begins. They can disagree when a request declares its length two ways at once, with a Content-Length header and Transfer-Encoding: chunked. If the front-end trusts one and the back-end trusts the other, part of your request gets left in the back-end's buffer and glued onto the start of whatever request comes next.

That disagreement is called a desync. In CL.TE the front-end uses Content-Length and the back-end uses Transfer-Encoding; TE.CL is the reverse.

Why confirming it is the dangerous part

The textbook proof sends a partial request on purpose, so that the next request that arrives gets captured or corrupted. In a lab that's your own follow-up request.

Detecting the desync by timing

VirtuProbe's desync check crafts a request so that if the two servers disagree about framing, the back-end waits for bytes that never arrive and the exchange hangs. The check compares the status and the time that exchange takes against a fast baseline. Because the back-end is still waiting for the rest of the request, nothing is left in its buffer to prepend to the next request.

The check sends three requests: BASELINE, CL.TE timing and TE.CL timing.

The verdicts

Each run comes back with one of five verdicts:

  • BASELINE: the reference timing for a well-formed request.
  • NORMAL: no meaningful deviation, no desync detected.
  • DESYNC: the two servers disagree about framing. The check calls it on a 504 Gateway Timeout, 502 Bad Gateway or 408 Request Timeout, or on a response at least five seconds slower than the baseline.
  • INCONCLUSIVE: the connection timed out, closed, reset or returned a partial response without an HTTP status, which is not enough to call a desync.
  • ERROR: the check itself couldn't complete.

Why this needs a client that sends raw bytes

A normalizing HTTP library will not send a Content-Length that lies or a Transfer-Encoding it would rather strip, because it repairs malformed framing before anything is sent. Here the malformed framing is the test. VirtuProbe's HTTP client is hand-written and sends the bytes you give it verbatim. It reports how each exchange ended as a transport outcome, including when it ended below the HTTP layer: OK, EOF, RST, TIMEOUT, MALFORMED_RESPONSE or PARTIAL. The desync check reads that outcome.

# A TE.CL timing request: two lengths, one connection
POST / HTTP/1.1
Host: target.example
Content-Length: 6
Transfer-Encoding: chunked

0

X

The related mutations

The same client drives a mutation fuzz mode that generates malformed framings on purpose. Its mutators are lf-line-endings, dup-content-length, cl-te-conflict, drop-content-length, bare-lf-header and space-before-colon. For each one you see how the transport outcome and status code differ from the baseline.

Authorized targets only. A timing check is non-destructive, but it's still active traffic against live infrastructure. Run it on a lab you control or a system that's explicitly in scope, never someone else's production.

Try the desync check. VirtuProbe Studio is free to download, with no account, no cloud and no telemetry. Raw mode and the desync check are in the Security tier, which is free for students and academics through the Academic License.