How I Discovered a Price Manipulation Vulnerability in a Public Bug Bounty Program
The payment intent creation endpoint accepted a client-supplied amount parameter without server-side validation, allowing an attacker to change the price of a subscription plan. By intercepting the checkout request and lowering the amount, the attacker could pay a fraction of the cost and still receive the full subscription.
Hello, my name is Muhammed Elsayed, also known as Scander0X. I am a Bug Bounty Hunter with a strong passion for offensive security and real-world vulnerability discovery.
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 obtain a paid subscription at a manipulated price, causing financial loss to the organisation; the report was classified as out of scope because the checkout was on an external billing domain.
What the attacker needed
A user account; ability to intercept HTTP requests; access to the checkout flow
The fix
The server should calculate and enforce the correct price server-side rather than trusting client-supplied amount values.
How it was found
- Select a paid subscription plan priced at €100.
- Intercept the payment request during checkout.
- Modify the amount parameter from 100 to 1 before forwarding.
- Proceed with the payment via iDEAL.
- Observe that payment is processed for 0.11 EUR and the subscription 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.
When you buy something online, the price should be checked by the server, not trusted from your browser. Here, the server accepted whatever amount the user sent, so someone could change the price to almost nothing and still get the paid service.
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.