A Price Tampering Vulnerability in E-learning portal
An e-learning site sent the course price in a client-controlled POST request during checkout, so the price could be changed before the order was processed. An attacker could buy a course for far less than its listed price.
medium.com
Published on medium.com
Assalamu alaikum, I am Md Rashedul Islam Sujan and this is my first write up about bug hunting.
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
The buyer could obtain a paid course for a fraction of its price, causing financial loss to the site.
What the attacker needed
A user account on the site; an intercepting proxy
How it was found
- Pick a course and start the purchase
- Turn on the intercepting proxy and capture the checkout request
- Look for a price parameter in the POST request
- Change the price value to a much smaller amount and forward the request
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 normally decided by the shop's server, not by your browser. Here the browser sent the price along with the order, and the server trusted it. Changing that number in the request let the buyer pay a much smaller amount.
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.