Object Level access control leads to reading user's full requests, sessions, and error messages
An internal administration tool's error log endpoint lacked access control, allowing unauthenticated attackers to read full HTTP requests and session cookies. This could enable account takeover of admin users.
- Fixed in 8 days
- Paid in 8 days
- Disclosed after 39 days
Summary:
When you visit the subdomain https://proze.yelp.com/ it'll redirect you to the main domain https://www.yelp.com/, The tests show that the application hosts an internal administration tool called Tailored Mail, you can verify this by visiting the endpoint https://proze.yelp.com/app/login. Since the application is for the internal Yelp admins, you can't access the API or hit any internal data (should be).
The bug found is a lack of Object level on the internal API Error and debugging endpoint allows unauthenticated attackers to read the internal admin's full sessions, HTTP requests data, and other internal information.
- The endpoint retrieves the API logs and you can visit each log details and you can read the entire user HTT request and internal data.
- An attacker can use the retrieved HTTP request data to hijack the admin's accounts, which leads to full ATO.
Platform(s) Affected:
POC:
- The video below is proof:
███████
Steps To Reproduce:
- Visit the subdomain https://proze.yelp.com to verify that you have no access and will redirected to the main domain.
- Now visit the admin tool application login https://proze.yelp.com/app/login to verify the existence of the administration tool application there
- Visit the endpoint /tmwebapi/elmah.axd to read the first last 100 requests logs.
- Press
Detailsto read any log full internal data - Now visit the endpoint 5A4E7ED8-28E8-4E39-9017-F55E2C9F5371 to read on of the logs with the user cookie and secrets
- You can read logs up to older dates, like visit the endpoint First-Of-Dec and you'll read logs from the first of Dec.
Recommendations:
Place an access control over the Error Log for TMWebAPI on M7WEB-07 /tmwebapi/elmah.axd
Impact
Object-level access control leads to reading the user's full requests, sessions, and error messages
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 error log endpoint was deployed without any authentication or authorisation check, exposing sensitive request data to anyone who knew the URL.
Impact
An attacker could use the retrieved HTTP request data to hijack admin accounts, leading to full account takeover.
What the attacker needed
None
The fix
The error log endpoint should be protected by an access control check.
How it was found
- Visit the subdomain and observe redirection to the main domain.
- Visit the admin login page to confirm the administration tool exists.
- Access the error log endpoint to view the last 100 request logs.
- Click Details on any log to read full internal data.
- Visit a specific log detail URL to read a user's cookie and secrets.
- Access older pages of the log to read logs from earlier dates.
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 error log is a record of mistakes the web server made, and it often includes the full details of each request, such as cookies that identify a logged-in user. Because this log page had no login check, anyone who found the address could read those cookies and pretend to be an administrator.
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.