Password reset link not expiring after changing password in settings
Password reset links were not expired when a user changed their password through the account settings page, because links were only expired on password changes made via a reset request.
- Triaged in 2 days
- Fixed in 6 days
- Paid in 2 days
- Disclosed after 7 days
Summary by the program
@blackbibin reported password reset link not expiring when password was updated from an active session, by going to the Account's Login & Security setting. We were only expiring password reset links when the password was updated through a password reset request. Now we expire password reset links whenever a password is updated (besides regular time-based expiration).
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
Impact
A reset link that was not expired could in theory still be used after the victim changed their password, though the text does not confirm this.
What the attacker needed
Attacker has a valid reset link; victim changes password in settings
The fix
The fix was to expire password reset links whenever a password is updated, in addition to the regular time-based expiration.
How it was found
- Request a password reset link for the account.
- Log in to an active session and change the password via Login & Security settings.
- The previously obtained reset link was not expired by the password change.
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.
A password reset link is a special URL sent by email that lets someone set a new password. Here, links stayed active after a password change made in the settings page, because links were only expired when the password was changed through a reset request.
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.