Skip to content
IDOR Write-up Beginner

Telangana, Andhra Pradesh, Karnataka, Himachal Pradesh & Kerala — All Government bus services were hacked

The ticket printing endpoint used a sequential numeric identifier without checking that the requester owned the ticket, so anyone could view other passengers' booking details. The same details, plus a mobile number leaked by a separate SMS endpoint, allowed an attacker to cancel another person's ticket.

Krishnadev P Melevila Follow

Published on infosecwriteups.com

Hi Hackers! Welcome back to my new write-up.

Krishnadev P Melevila, on infosecwriteups.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

Likely the ticket print and SMS endpoints trusted a user-supplied identifier and did not verify that the logged-in user owned the booking.

Impact

An attacker could view other passengers' personal and booking details and cancel their tickets across five state bus services.

What the attacker needed

A free account; knowledge of a ticket identifier

The fix

The report says the vulnerability was reported and patched, but does not describe the fix.

How it was found

  1. Register and log in to the bus booking site.
  2. Open the ticket print page with a ticket identifier in the URL.
  3. Change the identifier to a nearby number to view another user's ticket.
  4. Use the send SMS/email action on the ticket and intercept the request to read the mobile number parameter.
  5. Go to the guest ticket cancellation page and enter the PNR, transaction password and mobile number.
  6. Search and use the cancellation option to cancel the victim's ticket.

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 website often puts an identifier in the address of a page, such as a ticket number. If the site does not check that the person asking is allowed to see that ticket, changing the number shows someone else's booking. Here the same details were enough to cancel another person's ticket.

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 Krishnadev P Melevila

View all

18 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.