Skip to content
Access control Write-up Beginner

Unauthorized Access to Enterprise Policies Management: $500 BAC B

A non-admin user could access a hidden policies management dashboard and view, create, edit, and delete organisation-wide policies because the backend API did not enforce role-based authorisation. This allowed privilege escalation and could let an attacker weaken security rules or disrupt compliance.

Abhi Sharma Follow

Published on medium.com

During beta testing of the Policies Management feature in CodeCollabHub, I discovered a Broken Access Control (BAC) vulnerability. Despite the official documentation stating that only admins should be able to create and manage policies, I was able to view, edit, and delete organization-wide policies as a non-admin…

Abhi Sharma, 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 relied on the UI to hide administrative functions and did not perform its own role-based authorisation checks.

Impact

Non-admin users could act as admins in policy management, potentially weakening security rules, disrupting compliance, or enabling supply chain attacks by altering dependency policies.

What the attacker needed

A non-admin account

The fix

The vulnerability was fixed in a later release by enforcing role-based authorisation on the backend API.

How it was found

  1. Log in as a non-admin user.
  2. Navigate directly to the hidden policies dashboard URL.
  3. Observe that all organisation-wide policies are visible.
  4. Attempt to edit or delete an existing policy belonging to another user.
  5. Confirm that the change is successfully applied, bypassing the admin-only restriction.

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 had a hidden web page for managing security policies that was meant only for administrators. The front-end interface hid the link, but the server behind it did not check whether the person making the request was actually an admin. So anyone who found the page's address could act like an administrator.

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 Abhi Sharma

View all

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