Password token validation in Weblate Bypass
The password reset token validation in Weblate could be bypassed, allowing an old reset link to remain valid after a new reset request. An attacker could use two browsers to change the password twice and then log in with the last password.
- Disclosed after 55 days
Hi,
This is a bypass of the fix on #229987. I could confirm that old link still works. Though you would need to use 2 browsers to pull this off
##Reproduction Steps
- In Browser1, request a password reset
- Load link sent to your email in the same browser
- Request another password reset in Browser2
- Load link sent to your email in the same browser
- Change the password on Browser2
- Successful :D
- Change the password on Browser1
- Success :D
- Now login in any of the password with the last password.
Shuaib.
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 password reset token is not invalidated when a new reset request is made, so multiple tokens remain valid simultaneously.
Impact
An old reset link still works after a new reset request, allowing the password to be changed again.
What the attacker needed
Two browsers
The fix
The old reset link should stop working once a new reset request is made.
How it was found
- In Browser1, request a password reset.
- Load the link sent to your email in the same browser.
- Request another password reset in Browser2.
- Load the link sent to your email in the same browser.
- Change the password on Browser2.
- Change the password on Browser1.
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 sends a special link to your email to reset it. Normally, once you use that link or request a new one, the old link should stop working. Here, the old link still worked even after a new reset was requested, so someone could use it to change the password again.
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.