Skip to content
Account takeover Write-up Beginner

PART 2: THE NEXT CHAPTER IN MY NASA BUG HUNTING JOURNEY

Old session cookies remained valid after logout, allowing an attacker who obtained them to log in again. Separately, the password reset page allowed user enumeration and repeated triggering of brute-force protection could lock or suspend accounts.

rootxabit Follow

Published on rootxabit.medium.com

That P5 categorization left me frustrated. Imagine reporting something you believed could make an impact, only for it to be downgraded.

zabit majeed, on rootxabit.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 server did not invalidate session tokens on logout, and the password reset flow revealed account existence while its lockout could be abused.

Impact

An attacker with a copied session cookie could keep using an account after logout, and the reset flow could be used to enumerate users and lock or suspend accounts.

What the attacker needed

Attacker obtains a valid session cookie; access to the password reset page

How it was found

  1. Log in and save the session cookies with a cookie editor.
  2. Log out and log back in.
  3. Use the old cookies in another browser and observe that login succeeds.
  4. Find a password reset page that reveals whether an email exists.
  5. Enumerate email addresses and repeatedly trigger brute-force protection to lock accounts.

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 cookie, a small piece of data that proves who you are. If that cookie still works after you log out, anyone who copied it can act as you. The report also says the password reset page revealed which email addresses exist, and that repeatedly triggering its protection could lock accounts.

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.