Skip to content
Info disclosure Write-up Beginner

The $20,000 Session Cookie

A HackerOne staff member pasted their own session cookie into a public bug report. A hunter replayed the cookie and gained staff-level access to the platform, allowing them to read internal reports and submissions from other programs.

rajnamdev Follow

Published on medium.com

The most-upvoted account takeover in HackerOne’s disclosed-reports dataset contains no exploit. No injection.

Raj Namdev, 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

Impact

The attacker could read internal reports belonging to the security team and submissions from other programs, effectively gaining staff-level access to the platform.

What the attacker needed

Staff member pastes session cookie into a report; report is publicly disclosed

The fix

HackerOne committed to building automated detection for session tokens leaked inside future reports.

How it was found

  1. A hunter reads reports on HackerOne’s own bug bounty program.
  2. The hunter notices a report submitted by a staff member that contains the staff member’s session cookie in plain text.
  3. The hunter replays the session cookie.
  4. The hunter gains staff-level access to the platform, including internal reports and submissions from other programs.

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.

A session cookie is a small piece of text a website gives your browser after you log in, so you don't have to type your password on every page. If someone else gets that text, they can pretend to be you without knowing your password. Here, a staff member accidentally included their cookie in a public report, and a researcher used it to access the staff member's account.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by rajnamdev

View all

4 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.