How I Found a Critical Billing Bug but Ended Up with a Duplicate
The platform accepted a client-supplied price during checkout, so a user could change the annual subscription cost from $540 to $1 and complete payment at the reduced amount. The author confirmed this by paying $1 for the subscription.
Published on 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 a price value supplied by the client during checkout instead of recalculating it from its own pricing data.
What the attacker needed
A user account on the platform; ability to intercept and modify requests; a payment card
How it was found
- Choose the $9/month plan and observe the annual total of $540.
- Inspect the checkout request in Burp Suite and find the price value.
- Use Match and Replace to change the price to $1 automatically.
- Reload the page and confirm the backend also shows $1.
- Complete checkout with a card and pay $1 for the $540 subscription.
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 details to the server, including the price. Here the server trusted the price sent by the browser instead of checking its own records. That let the buyer pay much less than the real cost.
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.