Skip to content
Access control Write-up Beginner

Breaking Access Control: How a Low-Privilege User Accessed Worksp

A low-privileged workspace member could call an API endpoint intended for admins and retrieve the full user list, including names, email addresses, roles, account status and MFA status. The UI hid this data, but the backend did not check the caller's role.

montaser mohsen Follow

Published on medium.com

Access control vulnerabilities remain one of the most impactful and commonly overlooked issues in modern web applications. Despite advancements in security practices, many platforms still rely heavily on frontend restrictions — leaving backend APIs exposed.

montaser mohsen, on medium.com

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

The backend endpoint that lists workspace users had no server-side role check, so it trusted any authenticated request regardless of the caller's role.

Impact

A member could see other users' names, email addresses, roles, account status and MFA status, enabling email enumeration, identification of admins and targeted phishing; the text does not mention any defence that limited the exploit.

What the attacker needed

A free Member account; knowledge of the workspace identifier

The fix

The platform should enforce role-based access control on the backend, validate permissions for every sensitive request, restrict user listings to admins and limit the data returned by role.

How it was found

  1. Log in as a low-privileged Member and note that the UI hides the user list.
  2. Inspect network requests and observe the normal workspace request returning only the current user.
  3. While testing an admin account, observe a separate endpoint that returns the full user list.
  4. Switch back to the Member account and send that same user-list request manually.
  5. Receive the full list of users with their details.

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.

A workspace is a shared area where people with different roles work together. The website hid the list of members from ordinary users, but the server behind the page never checked who was asking, so anyone who knew the address of that list could download it. This is called broken access control: the rule exists only in the screen, not where the data actually lives.

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 montaser mohsen

View all

4 more disclosed reports, best first.

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.