WakaTime · Report #244958
No redirect uri for Twitter Oath resulting in token leak
Validstatus
lowseverity
9upvotes
3 Jul 2017disclosed
How it was found
Good afternoon,
There's an opportunity to steal Oath tokens upon the return uri in the following redirect.
If I change the &next= to my profile for example /@5e22456d-9aae-4267-b1a9-4315c2605d89
This results in an open redirect to my main profile leaking the Oauth token:
#POC
results in F199105
Here's a video demonstrating the vulnerability. F199111
#Patch Add a redirect uri that can't be tampered with.
#References
This is almost the exact same scenario that is in this report. https://hackerone.com/reports/140432