Password Change Didn’t Log Me Out — A Bug Bounty Finding
The application did not invalidate existing sessions after a password change, so a session on another browser stayed logged in. An attacker who already had an active session could keep full account access even after the victim changed their password.
medium.com
Published on medium.com
Most users believe that changing their password instantly secures their account everywhere. In reality, that’s not always true.
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 application did not invalidate or rotate existing session identifiers when the password was changed.
Impact
An attacker with an already active session could retain full account access even after the victim changes their password.
What the attacker needed
Attacker already has an active session; victim changes password
The fix
The application should invalidate all active sessions and rotate session identifiers after a password change.
How it was found
- Log in to the same account on two different browsers.
- Change the password using Browser A.
- Refresh Browser B and observe that it is still logged in.
- Confirm full account access continues from Browser B.
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 log in, the site gives your browser a session token so it remembers you. If you change your password, the site should throw away all old tokens so anyone else logged in is kicked out. Here it did not, so another browser kept access.
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.