Skip to content
Access control Disclosed report Beginner

[www.zomato.com] Unauthenticated access to Internal Sales Data of Zomato through an unrestricted endpoint

An internal sales dashboard endpoint was accessible without authentication, and by fuzzing POST parameters the researcher could retrieve all sales data and employee performance data. The endpoint should have been restricted to administrators only.

prateek_0490 Follow

Originally disclosed on HackerOne

  • Fixed in 1 hour
  • Paid in 17 days
  • Disclosed after 2 months

Summary by the program

Internal sales dashboard was open.

Summary by the researcher

While running through the JS file I discovered a new endpoint, while reading further I found that it shouldn't have been accessible by anyone else apart from the admin. So, I started to find the correct Post Request and within few mins of fuzzing, I found the correct post parameters which disclosed all the sales data and some employee's performance related data of Zomato.

To all the newbies, about how I found this endpoint, it was a manual effort, using a Chrome debugging tool, I looked into all the JS files manually and searched for admin (CTRL +F) in all the js files. Luckily I found one.

Thanks.

The original report as published on HackerOne, by prateek_0490. 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

Impact

An unauthenticated attacker could access internal sales data and employee performance data.

What the attacker needed

None

How it was found

  1. Open the Chrome debugging tool and inspect JavaScript files.
  2. Search the JavaScript files for the term 'admin' to find a new endpoint.
  3. Determine the correct POST request and fuzz the POST parameters.
  4. Send the request to retrieve sales and employee performance data.

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.

A website had a hidden page meant only for staff, but anyone on the internet could reach it. The researcher found the page's address by reading the site's code files, then guessed the right form fields to send. This let them see private sales numbers and staff performance information.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by prateek_0490

View all

8 more disclosed reports, best first.

More from Eternal

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.