Skip to content
Business logic Write-up Beginner

Day 15 — I Paid Half Price for Tickets just by editing one num

The application accepted a client-supplied ticket price parameter, allowing an attacker to modify the price and purchase tickets at a reduced cost. The server calculated the total using the manipulated value without server-side verification.

Issan Follow

Published on medium.com

What if the price you pay for something online… is controlled by your browser instead of the server?

Issan, 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 used a client-provided price parameter to calculate the total instead of looking up the price on the server.

Impact

An attacker could purchase tickets at arbitrary prices, causing financial loss to the platform.

What the attacker needed

Ability to intercept and modify requests

The fix

The server should calculate the price internally using a server-side lookup and not accept price parameters from the client.

How it was found

  1. Intercept the purchase request using Burp Suite.
  2. Send the request to Repeater.
  3. Modify the ticket_money parameter from 10 to 5.
  4. Forward the request and observe the purchase succeeds at the lower 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, the price should be decided by the shop's computer, not by your browser. Here, the website let the browser send the price, so someone could change it to pay less. This is a business logic flaw because the server trusted input it should have controlled.

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 Issan

View all

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