Two Rulers, One Wire: How an HTTP Desync Earned a First-Time Hunter $6,500 from Slack
A CL.TE request smuggling flaw on slackb.com allowed an attacker to prepend a smuggled request that caused the next user's request to be redirected to an attacker-controlled server, leaking their session cookies. This enabled session takeover without interacting with the victim's browser.
The bounty is worth a footnote. Slack’s usual payout for a critical issue at the time was reportedly $1,500, but Custodio reported during a promotional period with higher rewards, and he describes himself in the report as a first-time hunter on the platform who was drawn in by that promotion.
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 the front-end and back-end servers interpreted conflicting Content-Length and Transfer-Encoding headers differently, causing request boundaries to be misaligned.
Impact
An attacker could steal session cookies from other users, leading to account takeover, and the attack could be automated to affect many users.
What the attacker needed
Target uses CL.TE vulnerable proxy; attacker can send crafted requests; victim sends request on same connection
The fix
The issue was fixed within 24 hours, likely by making the front-end and back-end agree on request boundaries or by rejecting ambiguous headers.
How it was found
- Probe in-scope assets with a custom smuggling tester and find that slackb.com shows CL.TE behaviour.
- Smuggle a prefix that is a GET request causing a 301 redirect to an attacker-controlled host.
- Wait for the next request on the same back-end connection, which belongs to a real customer.
- The victim's request gets welded onto the smuggled prefix and is redirected to the attacker's server.
- Collect the victim's session cookies on a Burp Collaborator instance.
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 visit a website, your request often passes through a front-end server (like a CDN) before reaching the back-end application. If these two servers disagree about where one request ends and the next begins, an attacker can sneak extra data that gets attached to another user's request. Here, the attacker made the back-end redirect the next user's request to a server they controlled, stealing the user's login cookie.
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.