Skip to content
Business logic Write-up Beginner

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.

Indranil Roy Follow

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.

Indranil Roy, on systemweakness.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

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

  1. Open Burp Suite and Firefox, and connect Firefox to Burp using FoxyProxy.
  2. Go to the shopping website, add a product to the cart, and enter a shipping address.
  3. Proceed to payment and turn on interception in Burp Suite.
  4. Click proceed, find the request containing the amount parameter, and change its value to 1.
  5. Forward the request, get redirected to the payment page, and complete the payment.
  6. 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.

More by Indranil Roy

View all

3 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.