Skip to content
Business logic Write-up Beginner

💰 The Easiest $350 Bounty I’ve Ever Earned — In Just 10 Minutes!

A seat-booking API locked a chosen seat for a short period, and the lock could be extended indefinitely by replaying the same booking request. An attacker could keep every seat on a bus locked, preventing genuine customers from booking.

Mohit Kumar Follow

Published on mohitkumar0786.medium.com

Hey everyone! I’m Mohit Kumar, a passionate cybersecurity researcher.

Mohit Kumar, on mohitkumar0786.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 booking API accepted repeated lock requests for the same seat without checking whether the requester still held a valid, unexpired reservation.

Impact

An attacker could hold a seat, or every seat on a bus, indefinitely, so genuine customers could not complete a booking.

What the attacker needed

Ability to intercept and replay HTTP requests; a seat-selection request from the booking flow

The fix

The booking API should reject or ignore lock-renewal requests that come from a different session or after the original hold has expired.

How it was found

  1. Intercept the seat-selection booking request in a proxy tool.
  2. Note that the seat stays locked for about twenty minutes.
  3. Resend the same request every ten minutes to keep the lock alive.
  4. Repeat for every seat on the bus to block all bookings.

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 pick a seat online, the site briefly reserves it so nobody else can take it while you pay. This report shows that the reservation could be renewed forever by sending the same request again and again, so one person could block all seats on a bus.

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.