IDOR (at Private Bug Bounty Program) that could Leads to Personal Data Leaks
The checkout request accepted a payment identifier parameter without checking that it belonged to the logged-in user, so changing that value returned other customers' booking details. An attacker could enumerate other users' bookings, including their email address and trip information, by cycling through the identifier values.
Bug Report / Web Apps / Write-Up
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
The checkout endpoint used the client-supplied payment identifier to look up a booking without verifying that the booking belonged to the current session.
Impact
An attacker could read other customers' booking records, including their email address, total transaction, departure month, group size and location, and could do so at scale.
What the attacker needed
A booking flow that reaches checkout; a valid payment identifier to start from
The fix
The issue was fixed by the program owner within about four hours of the report.
How it was found
- Submit the booking flow up to the checkout request that carries the payment identifier.
- Change the payment identifier value to a different number.
- Observe the response redirect to another user's booking number and reveal their booking details.
- Repeat the change automatically to enumerate many users' bookings.
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 a website shows a record based on an identifier in the request, it must also check that the record belongs to the person asking. Here it did not, so swapping the number for someone else's number showed their booking. This is called an insecure direct object reference: the site trusts a value the user can freely change.
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.