Category- Broken Authentication and Session Management (leads to account compromise if some conditions are met)
A password reset link sent to an old email address remained valid after the user changed their email address. An attacker who controls the old email address could use the link to change the account password.
Originally disclosed on HackerOne
- Triaged in 6 hours
- Fixed in 2 days
- Paid in 2 days
- Disclosed after 33 days
Hi,
Hope you are good!
Steps to repro:
- Create a HackerOne account having email address "[email protected]".
- Now Logout and ask for password reset link. Don't use the password reset link.
- Login using the same password back and update your email address to "[email protected]" and verify the same.
- Now logout and use the password reset link which was mailed to "[email protected]" in step 2.
- Password will be changed.
All previous password reset links should automatically expire once a user changes his email address. Please let me know if this can be fixed.
Best Regards Anand Prakash
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
What the attacker needed
Attacker controls the old email address; victim changes account email; old reset link is still valid
How it was found
- Create an account with one email address.
- Log out and request a password reset link, but do not use it.
- Log back in and change the account email address to a new one, then verify it.
- Log out and open the old password reset link that was sent to the previous email address.
- The password is changed using the old link.
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 to set a new one. This report says that if you later change the email address on your account, an old reset link sent to the previous address still works. That means someone who can read the old email inbox could reset the password and take over the 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.