Why we shouldn’t use sequential booking references
The booking references used by Heathrow Parking were sequential and predictable, allowing an attacker who knows a victim's email address and approximate booking time to brute-force the reference and access or modify the booking. This could lead to information disclosure, cancellation, or unauthorised extension of parking bookings.
pentestpartners.com
Published on pentestpartners.com
I travel a lot with work. In the last 6 months there have only be 2 weeks where I haven’t been to Heathrow airport.
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 access a victim's booking details (name, address, email, car registration) and could cancel or extend the booking, potentially causing inconvenience and financial charges, though altering the booking required the victim's email address.
What the attacker needed
Know victim's email address; know approximate booking time; no brute-force protection
The fix
Booking references should be generated randomly instead of sequentially.
How it was found
- Book parking and note the booking reference.
- Book again later and observe that the new reference is sequential.
- Estimate the booking reference range for a victim based on their booking time.
- Brute-force the booking reference using the victim's email address.
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.
Booking references are short codes like 'JFFNM5' that identify a parking reservation. Because these codes were generated in order (each new booking got the next code in sequence), someone could guess a victim's code by knowing roughly when they booked and trying nearby codes. This let an attacker view or change the booking without permission.
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.