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.
Published on infosecwriteups.com
Hi Hackers! Welcome back to my new 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
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
- Register and log in to the bus booking site.
- Open the ticket print page with a ticket identifier in the URL.
- Change the identifier to a nearby number to view another user's ticket.
- Use the send SMS/email action on the ticket and intercept the request to read the mobile number parameter.
- Go to the guest ticket cancellation page and enter the PNR, transaction password and mobile number.
- 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.