Skip to content
Account takeover Write-up Beginner

The Easy Bug Series | #01

The article describes a class of bug where changing an account password does not terminate other active sessions. An attacker who already holds a valid session cookie keeps access to the account even after the legitimate user changes the password.

medium.com

Published on medium.com

I’m starting a 15 days series where i’ll share simple methodology to find your first valid findings with this series which is called as Low Hanging Fruits series. This are not so heavy bugs i will explain you in very simple words.

Soham D. Jadhav, 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 does not invalidate or rotate existing server-side sessions when the password is changed.

Impact

An attacker who already has a valid session could keep access to the account even after the victim changes the password.

What the attacker needed

Attacker already holds a valid session; victim changes password

The fix

The application should invalidate all other active sessions when the password is changed.

How it was found

  1. Log in with valid credentials in two different browsers.
  2. In the first browser, open the password change function.
  3. Change the password in that browser.
  4. In the second browser, refresh the page.
  5. If the second browser is still logged in, the bug is present.

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, a kind of temporary pass that keeps you logged in. If you change your password, you expect every other device using that pass to be kicked out. Here the old pass keeps working, so someone who stole it stays logged in.

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.

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.