Account takeover using reset password link
The password reset link contained a parameter controlling the reset page path, which an attacker could change to point to a domain they control. When a victim clicked the modified link, the attacker could capture the reset token and use it to reset the victim's password and take over the account.
Originally disclosed on HackerOne
- Triaged in 6 days
- Fixed in 40 days
- Disclosed after 5 months
Summary by the program
A vulnerability was found in the Mars website (█████████) where the reset password functionality can be manipulated. The reset password link sent via email contains a parameter that specifies the path of the reset password page. An attacker can modify this parameter to redirect users to a domain under their control when the link is clicked. This allows the attacker to obtain the password reset token and use it to reset the user's password, gaining unauthorized access to their account.
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 the reset link trusted a user-controlled parameter for the destination path instead of using a fixed server-side route, allowing redirection to an attacker-controlled domain.
Impact
An attacker could obtain the password reset token and reset the user's password, gaining unauthorised access to their account.
What the attacker needed
Victim clicks a crafted reset link; attacker controls a domain
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.
When you forget your password, a website emails you a special link that lets you set a new one. This report says that link had a setting an attacker could change so it sent you to a fake page instead. On that fake page the attacker could steal the secret code meant for you and then use it to change your password and get into your account.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.