Skip to content
Account takeover Disclosed report Beginner

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.

anandpingsafe Follow

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:

  1. Create a HackerOne account having email address "[email protected]".
  2. Now Logout and ask for password reset link. Don't use the password reset link.
  3. Login using the same password back and update your email address to "[email protected]" and verify the same.
  4. Now logout and use the password reset link which was mailed to "[email protected]" in step 2.
  5. 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

The original report as published on HackerOne, by anandpingsafe. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Create an account with one email address.
  2. Log out and request a password reset link, but do not use it.
  3. Log back in and change the account email address to a new one, then verify it.
  4. Log out and open the old password reset link that was sent to the previous email address.
  5. 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.

More by anandpingsafe

View all

19 more disclosed reports, best first.

More from HackerOne

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.