Ability to manipulate price with a max threshold of `<1 Rupee` in support rider parameter
The checkout page allowed the support rider donation amount to be tampered with by entering a negative fractional value, reducing the total cart value by up to one rupee. An attacker could place an order while paying slightly less than the intended amount.
Originally disclosed on HackerOne
- Triaged in 4 hours
- Fixed in 16 days
- Paid in 4 hours
- Disclosed after 19 days
Hi Team
I have found an issue in support rider amount calculation at the time of checkout where the amount is tamperable by negative fraction of rupees which makes the total amount decreased by maximum of 1rs.
POC -
1-Goto - zomato.com 2 - Add anything to your cart 3- At the checkout page , Add some money to Support Riders , click on any 25,50,100 4- Intercept the request of adding support rider money. 5- Change the price of Support Rider to " -0.99" in both fields of donation money. 6- Forward the request , the Cart value will change. 7- Pay by any platform, order will get placed.
Thanks
Impact
Price Manipulation in Support Rider
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 accepted a negative fractional donation amount without validating that it must be zero or positive.
Impact
An attacker could reduce the total order amount by up to one rupee per order through price manipulation.
What the attacker needed
Ability to intercept HTTP requests; an item in the cart
How it was found
- Go to the shopping site and add an item to the cart.
- On the checkout page, choose a support rider donation option.
- Intercept the request that adds the donation amount.
- Change the donation amount to a negative fraction in both fields.
- Forward the request and observe the cart value change.
- Complete payment and the order is placed.
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.
When you buy something online, the website sends the price to its server. This report shows that the server trusted a price the user could change, so someone could make the donation part negative and pay a little less. The mistake is that the server did not check that the amount was a sensible positive number.
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.