Buy Stuffs for free — Exploiting Business Logic Vulnerabilities
The shopping site trusted a price parameter sent from the browser during checkout, so an attacker could change the amount to a lower value and pay almost nothing for an order. The report shows a full purchase completed at the manipulated price.
Published on systemweakness.com
Hi folks, hope ya’ll are doing great. In this blog, we’ll explore a simple technique to exploit business logic vulnerability in a website that can fetch you free stuffs.
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 buy goods for almost nothing, causing financial loss to the business.
What the attacker needed
A shopping account on the site; ability to intercept HTTP requests
How it was found
- Open Burp Suite and Firefox, and connect Firefox to Burp using FoxyProxy.
- Go to the shopping website, add a product to the cart, and enter a shipping address.
- Proceed to payment and turn on interception in Burp Suite.
- Click proceed, find the request containing the amount parameter, and change its value to 1.
- Forward the request, get redirected to the payment page, and complete the payment.
- The order is confirmed at the manipulated low 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 price was sent as a number in the request, and the server accepted whatever number the user supplied. By changing that number to a tiny value, the buyer paid far 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.