HexBrain

Respondly · Report #7900

OAuth open redirect

Validstatus
8upvotes
22 Apr 2014disclosed

How it was found

An attacker can use an open redirect vulnerability in the Twitter OAuth process to redirect someone to his/her webpage, while also obtaining the OAuth token and verifier of the victim.

The vulnerability is right here: https://app.respond.ly/_oauth/twitter/?requestTokenAndRedirect=https://hackerone.com. When someone authorizes their Twitter account using that URL, the redirect will go to https://hackerone.com.

Recommendation: make sure the requestTokenAndRedirect paramater only accepts hosts on whitelisted domains.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original