Skip to content
Access control Write-up Beginner

How I Found Two Broken Access Control Vulnerabilities in the Same Program !

Two owner-only organisation features were reachable by lower-privileged roles simply by pasting the direct URL, because the pages were hidden from their menus but not access-checked. A billing manager or support user could therefore open restricted features and view sensitive internal data.

Yahya Hammam Follow

Published on 1yz02.medium.com

The application allows users to create an Organization and assign different roles, such as: Owner , Billing Manager , Support , (and other roles) I created three different accounts: Account A → Owner Account B → Billing Manager Account C → Support

Yahya Hammam, on 1yz02.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 application only hid the owner-only endpoints from the interface for other roles and never enforced a server-side role check on those routes.

Impact

Lower-privileged roles could access restricted organisation features and view sensitive internal data, bypassing role-based authorisation checks.

What the attacker needed

An organisation with owner account; two accounts with lower roles; victim or attacker logged in as lower role

How it was found

  1. Create an organisation as the owner account and invite two other accounts with lower roles.
  2. Copy the direct URL of the first owner-only endpoint while logged in as the owner.
  3. Log in as the billing manager and paste that URL into the browser.
  4. Repeat with the support account and confirm the endpoint still loads.
  5. Copy the URL of the second owner-only endpoint and open it from both lower-privileged accounts.

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 website often hides buttons and menu links from users who should not use them, but hiding a link is not the same as locking the door. Here the pages were hidden from lower-ranked users, yet typing the page address directly still opened them, so the server never checked whether the person was allowed in. This is called broken access control: the site trusts the browser to stay away from pages it never protected.

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 Yahya Hammam

View all

3 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.