United Airlines Bug Bounty: An experience in reporting a serious vulnerability
An API endpoint accepted a MileagePlus number and returned another member's flight reservation details, including the record locator and last name, without checking that the caller owned that account. An attacker could use those values to view and manage a victim's reservation and possibly reuse a club pass barcode.
randywestergren.com
Published on randywestergren.com
About six months ago, United Airlines announced their Bug Bounty program and, almost immediately, it received a ton of press. Though I initially wasn’t interested in pursuing the program (mainly due to its popularity), I decided to take a look a week or two after its launch despite being late to the party.
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
An attacker could view a victim's flight details, payment receipt and passenger contact information, change or cancel the reservation, and likely spoof a club pass barcode to enter a lounge.
What the attacker needed
A MileagePlus account; the victim's MileagePlus number; ability to intercept mobile app traffic
The fix
The endpoint should have checked that the supplied MileagePlus number matched the authenticated user; the text says it was patched after media pressure.
How it was found
- Create a MileagePlus account and log in to the mobile app.
- Proxy the app's traffic and find the wallet request that contains the MileagePlus number.
- Create a second test account and book a cheap flight.
- Send the same request but replace the MileagePlus number with the second account's number.
- Observe the response containing the second account's reservation details.
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 web API is a way for an app to talk to a server. Here the server trusted a number sent by the app to decide whose data to return, instead of checking that the logged-in user owned that number. That let one account read another person's travel booking details.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.