Skip to content
Access control Disclosed report Beginner

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.

mester_x Follow

Originally disclosed on HackerOne

  • 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:

https://proze.yelp.com/

POC:

  • The video below is proof:

███████

Steps To Reproduce:

  1. Visit the subdomain https://proze.yelp.com to verify that you have no access and will redirected to the main domain.
  2. Now visit the admin tool application login https://proze.yelp.com/app/login to verify the existence of the administration tool application there
  3. Visit the endpoint /tmwebapi/elmah.axd to read the first last 100 requests logs.
  4. Press Details to read any log full internal data
  5. Now visit the endpoint 5A4E7ED8-28E8-4E39-9017-F55E2C9F5371 to read on of the logs with the user cookie and secrets
  6. 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

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

  1. Visit the subdomain and observe redirection to the main domain.
  2. Visit the admin login page to confirm the administration tool exists.
  3. Access the error log endpoint to view the last 100 request logs.
  4. Click Details on any log to read full internal data.
  5. Visit a specific log detail URL to read a user's cookie and secrets.
  6. 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.

More by mester_x

View all

1 more disclosed report, best first.

More from Yelp

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.