Skip to content
Account takeover Disclosed report Beginner

password token validation

Multiple reset tokens all stay valid, so using one reset link does not invalidate the others.

flex0geek Follow

Originally disclosed on HackerOne

  • Disclosed after 13 hours

Hello, when I reset password all tokens are valid can be used, should keep valid only token in the last request or you can invalidate all reset links after using one of the requests successfully.

Steps:

  1. go to the password reset page and request more than one request.
  2. go to your email and use the first reset link.
  3. you can change password successfully.

Please check it, Thanks.

The original report as published on HackerOne, by flex0geek. 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

Root cause

Likely the application stores multiple reset tokens per user and does not invalidate previous tokens when a new one is issued or when one is successfully used.

What the attacker needed

Ability to request password resets; access to the email inbox receiving the reset links

The fix

The application should invalidate all previous reset tokens when a new one is issued and invalidate the used token immediately after a successful password reset.

How it was found

  1. Request more than one password reset from the reset page.
  2. Open the email and use the first reset link.
  3. The password change succeeds, showing the old link still works.

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 site emails a link to set a new one. This report says if you ask for several links, every one keeps working, even after you use one.

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 flex0geek

View all

5 more disclosed reports, best first.

More from WakaTime

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.