Skip to content
Business logic Disclosed report Beginner

Improper validation allows user to unlock Zomato Gold multiple times at the same restaurant within one day

The Zomato Android app did not properly enforce the rule that a Gold subscription benefit can only be unlocked once per restaurant per day. A subscriber could repeatedly confirm an unlock at the same restaurant and receive a new visit ID each time, letting them or friends claim the benefit more than once.

dertajora Follow

Originally disclosed on HackerOne

  • Triaged in 2 hours
  • Fixed in 42 hours
  • Paid in 42 hours
  • Disclosed after 44 hours

Summary: Using this vulnerability, a user can use his account to claim Zomato Gold benefit several times in the same restaurant within one day.

Description: Based on Zomato Gold terms and condition, Zomato Gold can be used only once at each partner restaurant in a day. But I think it doesn't work that way.

I have found improper validation in Zomato Android app, on Zomato Gold feature. This vulnerability allows a user to claim Zomato Gold benefit ( 1+1 complementary food or 2+2 complementary drinks) in the same restaurant on a single day. This potentially could be abused by users to share his account to their friends, so they can get the Zomato Gold benefit without subscribing or doing multiple claim in one day. I think this bug potentially bring loss to Zomato if not fixed immediately.

Since I can't take a screenshot of my page while on Visit ID page, I use additional phone to take a picture and video, I hope you still understand.

Platform(s) Affected: [website/mobile app] Android mobile app

Steps To Reproduce:

  1. Open Zomato Android App (please make sure your account already subscribed to Zomato Gold)
  2. Find a restaurant with Zomato Gold badge or go to Gold Menu on Main Menu

F412873 3. Click Enjoy your Gold Privilege

F412874 4. Press the Confirm Unlock button

F412875 5. Then you will get the Visit ID

F412876 6. Do the step 2 - 6 again, Here is my second visit on the same restaurant within one day. If you look carefully, the Visit ID and the time is different with the previous one.

F412877

Supporting Material/References:

Zomato Gold Terms and Conditions, please take a look at point number 3 F412882 https://www.zomato.com/conditions?country_id=94&page_type=SUBSCRIPTION&gold_plan_page=1

Impact

As I said before, this vulnerability allows one user to claim Zomato Gold benefit several times at one parner restaurant. Lets say after visiting cafe A using Zomato Gold, he lends his account to his friend so his friend could also get the benefit of Zomato Gold without subscribing. He could also use it for himself if he use it for lunch and dinner on the same restaurant.

Attachments

WhatsApp_Image_2019-01-26_at_18.22.31.jpeg
WhatsApp_Image_2019-01-26_at_18.22.31.jpeg From the original on HackerOne
WhatsApp_Image_2019-01-26_at_18.43.55.jpeg
WhatsApp_Image_2019-01-26_at_18.43.55.jpeg
WhatsApp_Image_2019-01-26_at_18.43.54.jpeg
WhatsApp_Image_2019-01-26_at_18.43.54.jpeg
WhatsApp_Image_2019-01-26_at_18.43.54_(1).jpeg
WhatsApp_Image_2019-01-26_at_18.43.54_(1).jpeg
WhatsApp_Image_2019-01-26_at_18.43.53.jpeg
WhatsApp_Image_2019-01-26_at_18.43.53.jpeg
Screen_Shot_2019-01-26_at_18.52.48.png
Screen_Shot_2019-01-26_at_18.52.48.png

The original report as published on HackerOne, by dertajora. 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 the app did not check server-side whether the account had already unlocked a Gold visit at that restaurant on the same day before issuing a new visit ID.

Impact

A subscriber could claim the Gold benefit several times at one restaurant in a day, or share the account so others get the benefit without subscribing, which could cause financial loss to Zomato.

What the attacker needed

A paid Zomato Gold subscription; the Zomato Android app

The fix

The unlock validation should be improved so a second visit at the same restaurant on the same day is not allowed.

How it was found

  1. Open the Zomato Android app with an account that has a Gold subscription.
  2. Find a restaurant with a Gold badge or open the Gold menu.
  3. Tap the option to enjoy the Gold privilege.
  4. Press the confirm unlock button to receive a visit ID.
  5. Repeat the same unlock flow at the same restaurant on the same day and note the new visit ID and time.

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.

Zomato Gold is a paid subscription giving benefits like 1+1 food or 2+2 drinks at partner restaurants, but only once per restaurant per day. The app did not properly validate this, so pressing unlock again produced a new visit ID. The same account could claim the benefit several times, or be lent to a friend who is not a subscriber.

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.