Skip to content
Business logic Write-up Beginner

Payment Bypass via API Request to Activate Premium Plan on Private Bug Bounty Program

The application removed the premium trial activation option from the user interface but left the backend API endpoint active. An attacker could replay a saved API request to activate the premium plan for free without making a payment.

Sharat Kaikolamthuruthil Follow

Published on medium.com

The original lives on medium.com

We do not hold its text, 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

Users could obtain the premium plan for free without making any payment.

What the attacker needed

A free account; saved API request from when trial was available

The fix

The backend API endpoint for activating the premium trial should be disabled or removed when the feature is withdrawn from the UI.

How it was found

  1. Save the API request that activates the premium trial in Burp Suite.
  2. Create a new account after the trial option is removed from the UI.
  3. Replay the saved API request using the new account's cookie.
  4. Observe that the server responds with 200 OK and the premium trial is activated.

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.

The website stopped showing a button to start a free premium trial, but the server still accepted the hidden request that the button used to send. By resending that old request, a user could get premium features without paying. This is a business logic flaw where the server trusts a request that should no longer be allowed.

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 Sharat Kaikolamthuruthil

View all

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