Skip to content
Smuggling / CRLF Write-up Advanced

My First Critical Bug In HackerOne Platform

The target website was vulnerable to HTTP request smuggling because the front-end and back-end servers disagreed on how to determine request length. An attacker could smuggle a request that would be processed as a separate request, potentially bypassing security controls or poisoning the next user's response.

EX_097 Follow

Published on web.archive.org

Today I will talk about the first critical vulnerability that I discovered But first,

EX_097, on web.archive.org

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

Impact

An attacker could bypass security controls, gain unauthorised access to sensitive data, and potentially compromise other users, though the text does not demonstrate these beyond a 404 response.

What the attacker needed

Target uses HTTP/2 but accepts HTTP/1.1; front-end and back-end disagree on request length

How it was found

  1. Send a request to the target and observe it uses HTTP/2.
  2. Change the request to HTTP/1.1 and confirm it still works.
  3. Add a Transfer-Encoding header, change method to POST, and increase the header value to make the body appear larger; observe a delay indicating CL.TE behaviour.
  4. Craft a smuggled request with a Transfer-Encoding header, POST method, Connection: keep-alive, and a smuggled GET request at the end.
  5. Send two requests in a group: first the smuggling request, second a normal request with Connection: keep-alive, using 'send group single connection'.
  6. Observe that the second request receives the response of the smuggled request (404).

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.

HTTP request smuggling is a trick where an attacker sends a request that two servers interpret differently. One server thinks the request ends at one point, while the other thinks it continues, so a hidden second request gets processed. This can let an attacker bypass security or affect other users.

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 EX_097

View all

1 more disclosed report, 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.