Skip to content
Business logic Write-up Beginner

Worth 10000$ Cracking the Price Barrier: Exploiting Price Tampering on an E-Commerce Website

The checkout request included a client-controlled amount parameter that the server trusted without validation. An attacker could change the amount to a lower value and complete a purchase for far less than the real price.

kumawatabhijeet2002 Follow

Published on medium.com

I’m Abhijeet Kumawat, a passionate security researcher 🕵️‍♂️, and today, I’m excited to share an interesting vulnerability I discovered while casually shopping online. In this blog post, I’ll break down the steps of how I exploited a Price Tampering vulnerability to purchase items worth ₹6284 for just ₹1.

Abhijeet kumawat, 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 the client-supplied amount parameter without checking it against the real cart total stored on the server.

Impact

An attacker could buy goods at a manipulated low price, causing financial loss to the shop.

What the attacker needed

A user account on the shop; ability to intercept HTTP traffic

The fix

The server should validate the amount against the stored cart total and confirm the final amount with the payment gateway.

How it was found

  1. Add items to the cart and proceed to checkout.
  2. Intercept the checkout request with a proxy tool.
  3. Change the amount parameter to a lower value.
  4. Forward the modified request and complete the 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, your browser sends the price to the server. If the server just believes whatever price the browser says, you can change it before sending. Here, the researcher changed the price to one rupee and the order went through.

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 kumawatabhijeet2002

View all

10 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.