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.
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.
- send request with a valid chunked encode and you will get response means that the back-end server accept chunked encode
- 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
- https://portswigger.net/research/http-desync-attacks-request-smuggling-reborn
- https://portswigger.net/web-security/request-smuggling/exploiting
Attachments
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
- Choose a valid POST request from twitter.com and send it to Burp Repeater.
- Remove the Connection: close and Accept-Encoding headers.
- Add a Transfer-Encoding: chunked header.
- Add a chunked-encoded body, ending with a zero chunk and two CRLFs.
- Append a second request, such as a tweet request.
- 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.