Skip to content
Account takeover Write-up Beginner

How I Earned $50 for a Session Bug That Never Got Properly Killed

After changing the account password, an existing session in another browser container remained valid and could still view and modify payment methods, addresses and orders. An attacker who had stolen a session cookie could keep full control of the account even after the victim changed their password.

sangpalisha Follow

Published on medium.com

It’s funny how we tell users to “log out and all sessions will end” — and then casually fail to do it ourselves. So yes, I found what I’ll call a session zombie bug at a coffee chain’s website, I reported it, and… I ended up with $50.

Isha Sangpal, on medium.com

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 existing sessions on password change, and a third-party cache kept the old session usable for a short window.

Impact

A stolen session cookie could still be used to view and modify payment methods, addresses and personal data after a password change, though the vendor said a third-party cache limited the stale session to about five minutes and rated it low severity.

What the attacker needed

A valid account; a stolen session cookie; victim changes password

The fix

The application should invalidate all active sessions on password change and use per-session tokens or revocation lists so old cookies are rejected.

How it was found

  1. Log into the account and open two separate browser containers for the same account.
  2. Change the password in one container.
  3. In the other container, refresh pages and confirm orders, payment methods and addresses are still visible.
  4. Update payment information in the stale container, then re-login in the first container to see the changes reflected.

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 website gives your browser a session cookie so it remembers you. If someone steals that cookie, they can act as you. Changing your password should make all old cookies stop working, but here the old session kept working, so a thief could still change your payment details even after you thought you were safe.

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.

More by sangpalisha

View all

3 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.