Skip to content
Business logic Write-up Beginner

Price Parameter Tampering How I Change Any Price On Website

The website accepted a client-supplied price parameter when purchasing a course, so an attacker could change the price to an arbitrary lower value. The attacker could then buy the course at the manipulated price.

RyuuKhagetsu Follow

Published on systemweakness.com

Hi everyone how are you?, I hope you guys are well. I’m RyuuKhagetsu, this is my article in English, sorry if there are any mistakes.

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

Root cause

Likely the server trusted a client-supplied price parameter instead of looking up the real price on the server side.

Impact

An attacker could buy courses at a manipulated lower price, causing financial loss to the business.

What the attacker needed

A user account; ability to intercept HTTP requests

How it was found

  1. Turn on Burp Suite to intercept requests while buying a course.
  2. Identify the price parameter in the request.
  3. Use Burp Repeater to change the price to a lower value.
  4. Send the modified request and observe a 200 OK response.
  5. Check the catalog to see the price changed.

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 decided by the server, not by your browser. Here, the website trusted the price sent from the browser, so someone could edit that number before sending it and pay much 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.

More by RyuuKhagetsu

View all

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