Skip to content
Access control Write-up Beginner

Broken Access Control: When Good Bug Only Get “Informative”

A low-privilege user could call an organisation members API endpoint that the frontend hid behind a permission message, and the backend returned the full member list without checking privileges. An attacker with a basic account could read other members' email addresses, usernames, display names, roles and statuses.

zetanine Follow

Published on zetanine.medium.com

I found a fairly solid broken access control on a fairly large business platform. The frontend said “access denied”, but the backend gave all the organization’s member data.

Spiderbyte, on zetanine.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

Authorization was enforced only in the frontend user interface, while the backend API endpoint performed no privilege check.

Impact

A low-privilege user could read other members' email addresses, usernames, display names, roles and statuses, though the program treated it as informative because it was not shown across organisations.

What the attacker needed

A free account; onboarding completed; a low-privilege Member role; ability to intercept requests

The fix

The backend should enforce the same role check on the members endpoint that the frontend displays, returning a forbidden response to users without permission.

How it was found

  1. Create a new account and complete onboarding.
  2. Add a member with the low-privilege Member role.
  3. Log in as the low-privilege user and open the Member Roles page.
  4. Observe the frontend permission message and intercept the request.
  5. Send the request to the organisation members endpoint.
  6. Observe HTTP 200 with full member data 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 website's screen said you are not allowed to see member roles, but that check only happened in the browser. The server behind it, which actually holds the data, never checked who was asking. So anyone who sent the request directly, for example with a tool that intercepts web traffic, got the whole member list back.

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 zetanine

View all

1 more disclosed report, 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.