Skip to content
Business logic Write-up Beginner

How I Found a Payment Tampering Bug and Almost Paid Zero Dollars!

The checkout request included a client-controlled amount parameter that the server did not validate. An attacker could change the amount to pay a much lower price for an item.

medium.com

Published on medium.com

Free Link🎈

Iski, 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

Impact

An attacker could pay a much lower price for an item, causing financial loss to the merchant.

What the attacker needed

A user account; ability to intercept HTTP requests

The fix

The server should validate the payment amount against the actual item price before processing the transaction.

How it was found

  1. Add items to cart and proceed to checkout.
  2. Intercept the checkout request in Burp Suite.
  3. Notice the amount parameter in the request.
  4. Change the amount to a lower value.
  5. Submit the request and complete payment.

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 shop's computer, not by your browser. Here, the price was sent from the browser and the shop trusted it, so someone could change it to pay less.

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.

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.