[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.
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.
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
- Open the Chrome debugging tool and inspect JavaScript files.
- Search the JavaScript files for the term 'admin' to find a new endpoint.
- Determine the correct POST request and fuzz the POST parameters.
- 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.