Skip to content
Business logic Write-up Beginner

Parameter tampering result in product price manipulation 🤑

The web application did not validate the final price on the client or server side, so an attacker could intercept the 'Place Order' HTTP request and change the amount and gross_total parameters to pay a lower price. The author confirmed the manipulation by paying the reduced amount and receiving a receipt.

RaunakGupta1922 Follow

Published on medium.com

https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F5925880593452544107&displayname=Tenor&url=https%3A%2F%2Ftenor.com%2Fview%2F%25D9%2583%25D8%25B3%25D9%2585%25D9%2583-cats-cat-paw-gif-5925880593452544107&image=https%3A%2F%2Fmedia.tenor.com%2FUjz1AMoesGsAAAAN%2F%25D9%2583%25D8%25B3%25D9%258…

Raunak Gupta Aka B1scuit, 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 price values supplied in the client's order request instead of recalculating or verifying the price from its own data.

Impact

An attacker could pay a lower price than intended for a course, causing financial loss to the business.

What the attacker needed

A user account; ability to intercept HTTP requests

How it was found

  1. Navigate to the website and choose a course to buy.
  2. Enter personal details such as name, phone number and address.
  3. Click 'Place Order' and intercept the resulting HTTP request.
  4. Notice the amount and gross_total parameters in the request.
  5. Change the parameter values from 300 to 30 and forward the request.
  6. Complete the payment of the reduced amount and receive a receipt.

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 is sent from your browser to the shop's server. If the server trusts whatever price the browser sends, a person can change that number before it is sent and pay less. This report shows that the shop did not check the price on its own side, so the attacker could set a lower price and complete the purchase.

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 RaunakGupta1922

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.