Items bought for free due to lacks of quantity controls
The server did not validate the quantity of items added to the cart, accepting zero or negative values as one. An attacker could place an order for free by setting the quantity to zero.
- Triaged in 4 days
- Fixed in 6 days
- Paid in 6 days
- Disclosed after 3 months
Hi,
The server fails to check the quantity of the items that are going to be sell. Values <= 0 are accepted as 1.
PoC:
Go here https://sandbox.reverb.com/fr/item/139897-fender-2-strap-leather-test-2018-leather
Intercept the response after clicking "Add to cart" and put "quantity: 0"

Proceed to checkout

Place order


I used one of the fake credit cards you provide us.
Impact
Items are sold gratis
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the server did not validate that the quantity parameter was greater than zero before processing the order.
Impact
Items could be purchased for free.
What the attacker needed
Ability to intercept HTTP traffic
How it was found
- Go to the product page.
- Intercept the response after clicking 'Add to cart' and set quantity to 0.
- Proceed to checkout.
- Place order.
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 report has not been written yet. The Original tab links to the source.
The website did not check that the quantity was positive. A quantity of zero was accepted as one, and the order could be placed for free.
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.