Session not invalidated after password reset
After a password reset, sessions created with the 'Remember me for a week' option were not invalidated, so an attacker with a stolen remembered session could keep access even after the victim changed their password. The reporter demonstrated two active sessions using different passwords simultaneously.
- Triaged in under an hour
- Fixed in 2 hours
- Paid in 2 hours
- Disclosed after 2 hours
After a password reset link is requested and a user's password is then changed, not all existing sessions are logged out automatically. The automatic removal of existing sessions linked to a user whose password was changed is only the case if the session was initiated with the 'Remember me for a week' box NOT checked at the log-in page; sessions with the 'remember' option enabled will persist after the password change.
Logging in with the new password doesn't invalidate the older session either: I could browse HackerOne using two sessions (in two different browsers) which were initiated using two different passwords.
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 only revoked sessions without the remember-me flag, leaving remember-me tokens valid.
What the attacker needed
Attacker has a remembered session token; victim changes password
How it was found
- Log in with 'Remember me for a week' checked.
- Request a password reset and change the password.
- Observe that the remembered session remains active.
- Log in with the new password in another browser and confirm both sessions work.
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 log in with 'Remember me', the site keeps that session active. This report found that changing your password did not cancel those remembered sessions, so they still worked.
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.