Skip to content
Business logic Write-up Beginner

The Easiest $$$ I Made from a Business Logic Vulnerability

The checkout price lock countdown was driven by the buyer's own device clock rather than the server, so changing the device time extended the frozen price well past the intended ten minutes. An attacker could hold a ticket at a fixed price for up to an hour or more while prices rose.

medium.com

Published on medium.com

Recently, I received a private invitation to test a ticket broker program — let’s call it www.example.com for the sake of this write-up.

Hamza Khaled, 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

Likely the price lock expiry was calculated from the client device's clock instead of a server-side timestamp, so the client controlled the remaining time.

Impact

A buyer could keep a ticket at a frozen price for up to an hour while demand and prices rose, potentially buying below the current market price.

What the attacker needed

A buyer account on the ticket platform; ability to change the device clock

How it was found

  1. Open the checkout page and note the ten-minute price lock countdown.
  2. In device settings, turn off automatic date and time.
  3. Set the device clock back by 19 minutes.
  4. Return to the checkout page and observe the countdown extended to 27 minutes.
  5. Repeat the clock change to extend the lock further, up to 60 minutes.

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 ticket resale site freezes the price for ten minutes while you pay, shown by a countdown. That countdown was calculated on the buyer's own phone or computer, not on the company's server. By setting the device clock backwards, the buyer made the countdown restart, so the cheap price stayed valid much longer than intended.

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.

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.