When the UI lies and new powers are discovered.
A low-privilege Viewer role could call an internal Price Book endpoint that returned all users in the organisation, including emails and phone numbers. A second reporting endpoint leaked user emails and IDs but was closed as a duplicate.
medium.com
Published on medium.com
Hello folks ,Yosef here .Today I will share the idea of one vulnerability I discovered recently a PII exposure across multiple endpoints in organization level ,no custom tools nothing expect my mind and burp.
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 endpoint lacked a server-side role check, so the UI restriction was the only control.
Impact
A Viewer could enumerate every user in the organisation, enabling corporate email harvesting, targeted phishing, team mapping and identification of active or suspended accounts; the report was rated low severity.
What the attacker needed
A Viewer account in the organisation
How it was found
- Log in with the lowest role, Viewer.
- Browse the application with Burp running to collect endpoints.
- Find the Price Book users endpoint.
- Request it with the Viewer session and observe the full user list returned.
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.
The application has different user roles, and the screen hides features a Viewer is not meant to use. However, the server did not check the role on one hidden address, so a Viewer could still ask for the full staff list. That list contained personal contact details, which is called PII (personally identifiable 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.