Buy Any Movie Tickets for Just Rs 10 (IDOR Vulnerability)
The server trusted a client-supplied price when booking movie tickets, so an attacker could change the amount in the request and pay far less than the real price. The author booked a ticket priced at 1027 for 10.
Published on medium.com
I know that you people like price-tempering vulnerability very much and for those who have not heard about it, I am going to tell you everything in detail further.
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 server accepted the price amount from the client request without validating it against the real ticket price.
Impact
An attacker could book tickets at a much lower price than the real cost, causing financial loss to the business.
What the attacker needed
A user account on the booking site; ability to intercept HTTP requests
How it was found
- Open the ticket booking site and choose a movie, show time and a recliner seat.
- Start Burp Suite and turn on interception, then click the Book Now button.
- Change the amount in the intercepted request from 1027 to 10 and forward it.
- Turn off interception and complete the booking at the reduced price.
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 buy something online, your browser sends the price to the shop's server. If the server believes whatever price the browser sends instead of checking its own records, you can edit that number before it is sent. Here the author used a tool to catch the request and lower the price, and the booking still went through.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.