Skip to content
Business logic Disclosed report Beginner

Mathematical error found in meals for one

The Zomato app miscalculated the price of a 'Meals for One' item when the same item was added twice, showing roughly 235 rupees instead of 250, with the discount growing as quantity increases.

nikhar123 Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 45 days

Summary by the researcher

if you need live proof of it ,i can send you.

The report

NOTE! Thanks for submitting a report! Please replace all the [square] sections below with the pertinent details. Remember, the more detail you provide, the easier it is for us to verify and then potentially issue a bounty, so be sure to take your time filling out th Wrong calculation is done by the app in meals for one.

Suppose we buy a item of Rs 125 from meals for one in the zomato app it will cost 125 rs, but if we repeat that same item then instead of showing the total amount 250 rs,it will show about 235 rs.It is giving extra 15 rs discount and this type of condition is not mentioned anywhere.if we increase the quantity ,it will give more and more discount, so this type of error is generated by wrong mathematical errors.

Mobile app.

  • [add each browser and version number tested in]
  • [add each browser and version number tested in]

Steps To Reproduce:

(Add details for how we can reproduce the issue)

  1. Buy a single item in meals for one of about 125 rs and then repeat that item once again. 1.The total cost would be around 235 rs, instead of 250 rs.
  2. [add step]

Supporting Material/References:

  • List any additional material (e.g. screenshots, logs, etc.)

Impact

These type of simple calculation error generated in the app, can take company into huge loss.So please resolve this issue as fast as you can,

The original report as published on HackerOne, by nikhar123. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 a pricing or discount calculation error in the app's cart logic when the same item is added multiple times.

Impact

The miscalculation could cause the company financial loss if exploited repeatedly, though the report gives no evidence of real-world abuse.

What the attacker needed

Zomato mobile app; Ability to add items to cart

How it was found

  1. Add a single 'Meals for One' item priced around 125 rupees to the cart.
  2. Add the same item a second time.
  3. Observe the total shown as around 235 rupees instead of 250.

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.

An app should add up prices correctly. Here, buying two of the same item gave a lower total than expected, like a discount nobody asked for. Someone could abuse this to pay less 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.

More from Eternal

View all

The newest disclosed reports for this program.

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.