Mastering Business Logic Price Manipulation in Bug Bounty Program
The checkout URL contained price parameters that the server trusted, so an attacker could change the price to zero and obtain the product without paying. The text claims this bypasses payment if the backend does not validate the values.
Published on frostyxsec.medium.com
Bug bounty hunting can be an exhilarating and rewarding activity, but it requires skill, attention to detail, and a deep understanding of application logic. One critical area to focus on is business logic vulnerabilities — these are flaws that allow attackers to manipulate application functionality in ways that the…
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 client-supplied price and total parameters instead of calculating the amount itself.
Impact
An attacker could obtain a product without paying if the backend does not validate the manipulated price.
What the attacker needed
Access to the checkout URL; no server-side price validation
The fix
The application should validate price and total on the server and calculate the final amount server-side rather than trusting client-supplied values.
How it was found
- Find the checkout URL and note the price parameter.
- Change the price and total values to zero.
- Send the modified request and check whether the backend accepts it.
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.
A business logic flaw is when a website lets you do something it did not intend, even though no code is broken. Here, the price was sent in the web address, and the server believed it. By editing the address, someone could set the price to zero and avoid paying.
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.