Missing access control at password change
After a password reset, the user was automatically logged in, so an attacker who obtained a legitimate reset link could take over the account without needing the new password. The program notes that OWASP recommends forcing a login after reset and has now implemented that approach.
- Triaged in 10 hours
- Fixed in 32 days
- Paid in 16 days
- Disclosed after 12 months
Summary by the program
A security researcher discovered that after resetting a password, the user was automatically logged in. As such, compromising a legitimate password reset link (via referrer token leakage or a similar issue) could lead to compromising the account since the user would not be forced to log in after resetting their password. OWASP forgot password recommendations suggest a better approach, which we have now implemented. Thanks to @attacker911 for another great report!
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 flow issued an authenticated session immediately after the reset instead of requiring the user to log in again.
Impact
If an attacker could obtain a legitimate password reset link, they could compromise the account because the reset would log them in automatically.
What the attacker needed
Attacker obtains a valid reset 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 reset a password, the site should ask you to log in again with the new password. Here it logged you straight in, so anyone who got hold of the reset link could get into the account without knowing the new password.
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.