Skip to content
Business logic Write-up Beginner

Redbus Makemytrip Bug Bounty Requests Tampering

The seat-locking API request could be replayed to keep a seat locked indefinitely, allowing an attacker to block other passengers from booking it. The author demonstrated locking all seats in a bus and reported the issue to Redbus and MakeMyTrip, receiving bounties.

Vishnu Thulasidoss Follow

Published on infosecwriteups.com

Couple of months back when I was interning in Chennai, for some reasons I was supposed to travel to my hometown. So, I was looking for a bus ticket on Redbus.

Vishnu Thulasidoss, 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 lock seats indefinitely, preventing other users from booking them; the author demonstrated locking all seats in a bus.

What the attacker needed

Ability to intercept HTTP requests; a seat selected to reach payment page

How it was found

  1. Navigate to the bus booking site and select a seat to reach the payment page.
  2. Capture the POST request that locks the seat using an intercepting proxy.
  3. Replay the captured request at intervals equal to the lock-in period to keep the seat locked.

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 on a bus booking site, the site temporarily reserves it for you so nobody else can take it while you pay. The author found that the request that reserves the seat could be sent again and again, so the seat stayed reserved forever. This means someone could stop other people from buying seats.

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.