Skip to content
IDOR Write-up Beginner

From Hunger to Hacker: How a Zomato Order Earned Me ₹25K”

The WhatsApp order-update subscription lacked validation that the sender owned the order, so an attacker could receive real-time updates for any active order by sending its ID. This exposed delivery partner names and ETAs, though no personal data.

medium.com

Published on medium.com

It was just another lazy evening, and I was casually scrolling Zomato to grab some food. As a regular bug bounty hunter, I always keep an eye out for unusual behavior — and that day, Zomato served me more than just biryani.

praveen p, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the system trusted the order ID provided via WhatsApp without verifying that the sender's phone number matched the order's owner.

Impact

Attackers could spy on active delivery orders, learning the delivery partner's name and ETA, which is a privacy concern and reputational risk, but no user PII was exposed.

What the attacker needed

WhatsApp updates enabled; a valid active order ID; ability to send WhatsApp messages

The fix

Zomato patched the issue by tightening validation checks.

How it was found

  1. Place an order and activate WhatsApp updates using your Order ID.
  2. Find a valid order ID (e.g., from an older order, brute force, or guesswork).
  3. Send a WhatsApp message asking for updates for that Order ID.
  4. Receive updates for the order even though your number is unrelated.

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 write-up has not been written yet. The Original tab links to the source.

When you order food, the app can send updates to your phone. The bug was that anyone could ask for updates about someone else's order just by knowing its number, because the system didn't check if the order belonged to them. This let them see when the food would arrive and who was delivering it.

What is IDOR?

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.