Session invalidation after updating e-mail.
After a user changes their account email address, other active sessions for that account remain logged in instead of being invalidated. An attacker who already holds a session (for example a stolen or shared one) could keep using the account even after the victim changes their email.
Published on medium.com
I’ve started my bug bounty journey about two weeks ago? Maybe less than that.
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
Impact
An attacker who already has a session could keep access to the account after the owner changes the email address, so the change does not remove the intruder.
What the attacker needed
An account; two active sessions; ability to change the email
The fix
The application should invalidate all other sessions when the email address is changed.
How it was found
- Log in to the same account from two different browsers.
- Change the email address from the first browser.
- Check the second browser and observe that it is still logged in.
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, a temporary pass that keeps you signed in. Good sites cancel all other sessions when you change something sensitive like your email, so anyone else using your account is kicked out. Here the old session kept working, so a person who already had access would not be removed.
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.