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.
Hey everyone! It’s Zeyad here again, and this time I’ve got something really interesting 👀
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
- Log in as a regular user and add the expensive subscription to the cart.
- Intercept the checkout request with a proxy tool.
- Replace the expensive product's identifier with a cheaper product's identifier.
- 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.