From €1500 to €0.50: A Bug Bounty Story of Payment Flow Manipulation
The checkout flow trusted a client-supplied amount field in the order-creation request, so a buyer could set the price to a fraction of the real cost. The author also describes finding a hidden approval endpoint that let an order be marked paid without any real payment.
medium.com
Published on medium.com
On the surface, everything looked secure. But the red devil was in the details.
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 accepted the order amount from the client request instead of recalculating the price from the selected package, and the approval step could be invoked directly without a real payment.
Impact
Attackers could obtain high-value memberships for a fraction of the price, and the author says the second-step protection was also bypassed, so no real payment was needed.
What the attacker needed
Access to the checkout flow; a proxy to intercept requests
The fix
The text says the issue was patched within a few days after triage confirmed it.
How it was found
- Intercept the HTTP requests between each step of the checkout with a proxy.
- Observe the final POST to an internal API that carries the order details and amount.
- Change the amount in the request to a much smaller value.
- Submit the modified request so the backend records the order as paid at the lower price.
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, the website should decide the price, not your browser. Here the browser sent the price along with the order, and the server believed it, so a buyer could pay almost nothing. The author also found a hidden step that marks an order as paid, which could be triggered directly.
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.