Bugcrowd · Token Leak · $750 · Hall of Fame

A session token, mailed to the attacker

Platform: BugcrowdBounty: $750Class: Session token exfiltrationHall of Fame
Travel app on a phone with light leaking from the screen

Whoever holds the token is the user. The only question is where tokens can go.

TL;DR — A flow in Viator's web application allowed a user's session token to be sent to an attacker-controlled destination. With the token, an attacker can impersonate the traveller's session. Accepted on Bugcrowd — $750 and a Hall of Fame place.

Background

Session tokens are bearer instruments: whoever presents one is treated as the user, no password required. Every web security control around sessions — HttpOnly, Secure, SameSite — exists to answer one question: can this token ever reach someone who shouldn't have it?

Viator, Tripadvisor's experiences marketplace, handles traveller accounts with bookings, personal details and payment-adjacent data. A stolen session there is a ready-made identity.

The vulnerability

The vulnerable flow caused the session token to be included in a request to a destination the attacker could control or observe — the exfiltration pattern. The user's browser, faithfully following the application's own logic, carried the credential out. No malware, no phishing page of mine, no victim interaction beyond using the affected flow.

Token-exfiltration bugs usually hide in one of these places:

How I proved it

Impact

Session hijacking at the victim's privilege level: bookings, personal data and account actions under the traveller's identity, bypassing the password and any MFA on the login — because a stolen session is already past the login.

Remediation

Lessons

When auditing, follow the token like money in a ledger: every place it is written, sent or logged is a line item. Exfiltration bugs are accounting errors in that ledger.

Found something similar?

I help teams verify and fix issues like this — and I retest my own reports for free. Reach me at sr558079@gmail.com or read more writeups.