Welcome to our first article on this account!
A password reset link remains valid after the user changes their email address. An attacker who obtained the old link could still reset the password and access the account even after the victim changes their email.
Welcome to our first article on this account! In this article, we will address a critical vulnerability where a password reset link does not expire after an email change.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up 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 the account's email address changes.
Impact
An attacker with the old reset link could gain unauthorised access to the account and maintain control even after the victim changes their email to secure it.
What the attacker needed
Attacker has the old reset link; victim changes email after link issued
How it was found
- Request a password reset link for the current email address.
- Copy the reset link from the email and save it without using it.
- Log in and change the account email to a new one, completing verification.
- Open the saved old reset link in the browser.
- Reset the password successfully using the old 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 write-up has not been written yet. The Original tab links to the source.
When you forget your password, a website emails you a special link to set a new one. Normally that link should stop working after you use it or after some time. Here, the link kept working even after the user changed their email address, so anyone who had the old link could still take over the account.
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.