# Account takeover via leaked session cookie

A HackerOne analyst accidentally pasted their own valid session cookie into a report reply, letting a hacker reuse it to access triage inboxes and read other customers' reports.

- Payout: $20,000
- Severity: high
- Program: HackerOne
- Found by: haxta4ok00
- Disclosed: 2019-12-03
- Write-up quality: 6/10
- Original: https://hackerone.com/reports/745324
- Library page: https://bugbountylibrary.com/r/h1%3A745324
- Tags: area:web domain:web impact:ato impact:data-leak impact:pii-leak kind:bounty platform:hackerone sev:high tech:rest technique:recon vuln:access-control vuln:secrets-leak

**Target:** hackerone.com session management / triage inboxes
**Root cause:** Session cookies were not bound to IP or device, so a leaked cookie from a cURL command pasted into a report reply remained valid and reusable from any browser.
**Steps:**
1. Analyst copies a cURL command from browser console to reproduce a report, leaving the `Cookie:` header intact.
2. Analyst posts the reply to the report, disclosing their live session cookie.
3. Hacker extracts the cookie and sets it in their own browser for hackerone.com.
4. Hacker loads HAS Inbox, Triage Inbox, and Report View, reading titles, metadata, and full report contents.
**How found:** Hacker noticed the analyst's reply contained a live session cookie embedded in a pasted cURL command, then tested whether it was still valid by loading it in their own browser.
**Exploitation:** Attacker reused the leaked session cookie in their own browser to impersonate the Security Analyst, browsing HAS/Triage/Inbox and Report View to read report titles, metadata, and full vulnerability contents across the analyst's supported programs.
**Escalation:** Access to the analyst's HAS Inbox exposed reports from programs not using HackerOne Triage, widening the data exposure beyond the analyst's direct customer set.
**Insight:** When triaging, analysts paste reproduction cURL commands into reports; check every reply for `Cookie:`/`Authorization:` headers in pasted commands, and test whether leaked session tokens are IP- or device-bound before assuming they're dead.

