Skip to content
Smuggling / CRLF Disclosed report Intermediate

http request smuggling in twitter.com

The report describes testing twitter.com for HTTP request smuggling, with a POC that would post a tweet to the attacker's own account if successful.

protostar0 Follow

Originally disclosed on HackerOne

  • Disclosed after 13 months

Summary: the same vulnerability reported in other domain , see this report here Description: the Description of HTTP request smuggling attacks : here

##Detect HTTP request smuggling attack (subdomains vulnerable): -to detect HTTP request smuggling attack with add header Transfer-Encoding: chunked and encode the body of request with chunked encode.

  1. send request with a valid chunked encode and you will get response means that the back-end server accept chunked encode
  2. send a large value in hex of chunked encode , if get ** delay of response** means its vulnerable.

resource: https://portswigger.net/web-security/request-smuggling/finding

CONFIRMATION:

##POC:

in this POC i will use TWEET request as second request (payload) ,means that if the HTTP request smuggling attack success, will get a new TWEET in my account

F609847

Steps To Reproduce:

ps : i use chrome browser,with burp 1- choose any valid POST request (or change GET to POST) from twitter.com and send it to repeater 2- delete this header (Connection: close ,Accept-Encoding: gzip, deflate) 3- add this header <Transfer-Encoding: chunked>

4- add chunked encode put a valid chunked code or [ put just 0 with two CRLFs] 5-put the second request [i use a TWEET request ] 6- send the attacker request

Impact

impact of http request smuggling

Attachments

twitter_HTTP_SMUG_POC.mp4 From the original on HackerOne

The original report as published on HackerOne, by protostar0. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a mismatch in how the front-end and back-end servers parse the Transfer-Encoding header, allowing a crafted request to be split into two.

What the attacker needed

Ability to send crafted HTTP requests

How it was found

  1. Choose a valid POST request from twitter.com and send it to Burp Repeater.
  2. Remove the Connection: close and Accept-Encoding headers.
  3. Add a Transfer-Encoding: chunked header.
  4. Add a chunked-encoded body, ending with a zero chunk and two CRLFs.
  5. Append a second request, such as a tweet request.
  6. Send the crafted request.

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 report has not been written yet. The Original tab links to the source.

HTTP request smuggling is a trick where a crafted request is misinterpreted so part of it is treated as a separate request. The report describes testing this on twitter.com, with a POC that would post a tweet to the attacker's own account.

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 protostar0

View all

3 more disclosed reports, best first.

More from X / xAI

View all

The newest disclosed reports for this program.

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.