Skip to content
IDOR Write-up Beginner

Hunting for IDORs: How I Accessed PII on a Popular Ticketing Site!

The booking details endpoint accepted a user-supplied trip identifier without verifying that the authenticated user owned that booking. An attacker could enumerate identifiers to access other users' personal and travel data.

vanshrathore64 Follow

Published on medium.com

Between navigating computer science coursework and hands-on cybersecurity practice, I spend a lot of time analyzing web traffic and hunting for logical flaws. Recently, during a bug bounty session, I discovered a high-severity Insecure Direct Object Reference (IDOR)—also known as Broken Object Level Authorization…

Vanshrathore, on medium.com

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 server-side code fetched booking records using a client-supplied identifier without checking that the authenticated session owned that record.

Impact

An attacker could enumerate booking IDs to access sensitive user data including names, dates of birth, itineraries, PNRs, contact information, and payment details, enabling privacy violations and targeted phishing.

What the attacker needed

A free account; ability to intercept HTTP traffic

The fix

The platform should enforce server-side authorization checks to ensure the authenticated user owns the requested resource, and replace predictable IDs with indirect references or UUIDs.

How it was found

  1. Log in and navigate to the failed bookings section.
  2. Intercept the request to view booking details using a proxy.
  3. Identify the GET request with the trip-id parameter.
  4. Modify the trip-id parameter in Repeater to confirm a 200 OK response with data.
  5. Use Intruder to fuzz the last four digits of the booking ID.
  6. Observe multiple 200 OK responses containing other users' booking data.

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 you log in to a website, the server should check that any record you ask for actually belongs to you. Here, the site trusted a number in the request (the booking ID) and returned whatever record matched it, even if it belonged to someone else. By changing that number, a user could see other people's bookings.

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.

More by vanshrathore64

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

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.