password token validation
Multiple reset tokens all stay valid, so using one reset link does not invalidate the others.
- 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:
- go to the password reset page and request more than one request.
- go to your email and use the first reset link.
- you can change password successfully.
Please check it, Thanks.
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
- Request more than one password reset from the reset page.
- Open the email and use the first reset link.
- 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.