Skip to content
Business logic Write-up Beginner

How I Got a $250 Premium Plan for Just $12 — No Coupons, No Hacks, Just Logic

The checkout flow trusted a client-supplied product identifier, so a user could swap the identifier of an expensive subscription for a cheaper one and still receive the premium plan. An attacker could buy the $250 plan for $12.

zuksh Follow

Published on zuksh.medium.com

Hey everyone! It’s Zeyad here again, and this time I’ve got something really interesting 👀

Zuksh, on zuksh.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 server trusted the client-supplied product identifier without checking that it matched the product the user intended to buy, and did not validate the price server-side.

Impact

A user could obtain the full premium plan while paying only the cheaper price.

What the attacker needed

A free account; ability to intercept HTTP requests

The fix

The server should look up the price for each product identifier itself and reject any mismatch between the requested product and the amount charged.

How it was found

  1. Log in as a regular user and add the expensive subscription to the cart.
  2. Intercept the checkout request with a proxy tool.
  3. Replace the expensive product's identifier with a cheaper product's identifier.
  4. Forward the request; the checkout succeeds and the premium plan is provisioned.

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, your browser sends a request to the shop's server saying what you want. Here, the request only named a product code, not the price, and the server believed whatever code was sent. By changing the code to a cheaper product's code, the buyer got the expensive product but paid the cheap price.

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 zuksh

View all

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