Skip to content
Business logic Write-up Beginner

I Booked A 30 000 Conference Ticket For 1 The Site Let Me

The server trusted client-supplied pricing parameters in the checkout request, allowing the attacker to change the discount and total to pay ₹1 for a ₹30,000 conference ticket. The attacker completed the payment and received a valid ticket.

LordofHeaven Follow

Published on infosecwriteups.com

I had just finished a PortSwigger lab on business logic vulnerabilities. Watched one YouTube PoC.

LordofHeaven, 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

Impact

An attacker could purchase premium conference tickets for a fraction of the price, causing financial loss to the platform.

What the attacker needed

A free account; ability to intercept HTTP requests

The fix

The server should recalculate the total independently on the backend and reject any transaction where the client-supplied total does not match its own calculation.

How it was found

  1. Enable intercept in Burp Suite and fill out the registration form with the highest-tier ticket.
  2. Click 'Proceed to Pay' and capture the POST request.
  3. Modify the discount and total parameters in the request body.
  4. Forward the request and observe the payment page showing INR 1.00.
  5. Complete the payment via UPI and receive a valid 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.

When you buy something online, your browser sends the price back to the server. If the server just accepts that price without checking it, you can change it to anything you want. Here, the attacker changed the price to ₹1 and still got the ticket.

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.

More by LordofHeaven

View all

9 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.