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.
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.
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
- Turn on Burp Suite to intercept requests while buying a course.
- Identify the price parameter in the request.
- Use Burp Repeater to change the price to a lower value.
- Send the modified request and observe a 200 OK response.
- 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.