Skip to content
Business logic Write-up Beginner

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.

MD RASHEDUL ISLAM SUJAN, 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

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

  1. Pick a course and start the purchase
  2. Turn on the intercepting proxy and capture the checkout request
  3. Look for a price parameter in the POST request
  4. 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.

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.