Skip to content
Access control Write-up Beginner

How I Bypassed UI Restraints to Leak Organization Roles, Members,

The backend API endpoints for organization roles, users, and invitations did not enforce role-based authorization, so a low-privileged 'Trust Sharer' account could retrieve sensitive organizational data. An attacker with such an account could list all roles, members, and pending invitations.

OWL Follow

Published on medium.com

While looking around a platform and doing bug bounty research, I ran into a simple architectural flaw which was: the frontend and the backend were checking permissions in totally different ways.

OWL, 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

Likely the backend API endpoints relied on the frontend to enforce role-based access control and did not perform their own authorization checks.

Impact

A low-privileged user could access sensitive organizational data including custom role definitions, member directories, and pending invitations, which could aid further attacks.

What the attacker needed

A low-privileged account

The fix

The backend should enforce role-based authorization checks on each endpoint, not relying on the frontend.

How it was found

  1. Log in with a low-privileged Trust Sharer account.
  2. Capture a valid authorization token from a profile update request.
  3. Send a GET request to the roles endpoint with the token.
  4. Observe a 200 OK response containing role data.
  5. Repeat for the users and invitations endpoints.

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 user interface correctly blocked a low-privileged user from seeing certain pages, but the server behind those pages did not check the user's role. By sending requests directly to the server with a valid but low-privileged token, the user could still get the data. This is like a building where the front door is locked but the back door is wide open.

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 OWL

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.