Able to manipulate order amount by removing cancellation amount and cause financial impact
The order payment request included a cancellation_amount parameter that the client could modify. By setting it to zero, an attacker could reduce the total order amount and remove previous cancellation charges, paying less than owed.
- Triaged in 5 hours
- Fixed in 13 days
- Paid in 13 days
- Disclosed after 2 months
Summary by the program
@sjvino identified an issue where it could have allowed to tamper the cancellation amount and pay less than the actual order amount.
Steps submitted by the researcher to reproduce the issue (maybe it will help new folks in the community to learn something out of it) -
- Select Items and add them to the cart
- Set a proxy and intercept the request before making the payment
- Select payment method and intercept the request, change the cancellation_amount parameter to 0, it will reduce the order amount and cancel all the previous cancellation charges on that account.
Regards, Zomato Security Team
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 trusted a client-supplied parameter for the cancellation amount without validating it against the user's actual charges.
Impact
An attacker could pay less than the actual order amount and cancel previous cancellation charges on their account, causing financial loss to the business.
What the attacker needed
A user account; ability to intercept HTTP requests
How it was found
- Add items to the cart.
- Set up a proxy to intercept requests before payment.
- Select a payment method and intercept the payment request.
- Change the cancellation_amount parameter to 0.
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 pay for an order, the app sends details to the server, including any cancellation fees. Here, the app trusted the user's browser to set that fee. By changing it to zero, a person could pay less money than they should.
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.