Skip to content
Access control Write-up Beginner

How I Found Two Role-Based Access Control (RBAC) Vulnerabilities

A workspace metadata endpoint enforced role permissions only for the POST method, so a low-privileged Member or Collaborator could switch to GET and read all metadata fields. The author reported this as two separate RBAC vulnerabilities, one per role, but both were marked as duplicates.

Muhammad_Wageh Follow

Published on medium.com

So, I tried different attack vectors like Create, Update, and Delete, but they weren’t working. In this request:

Muhammad Wageh, 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

Impact

A low-privileged Member or Collaborator could read metadata fields that were meant to be restricted to workspace admins.

What the attacker needed

A workspace Member or Collaborator account

How it was found

  1. Log in as a workspace Member or Collaborator and note that the metadata field is not shown in the UI.
  2. Send a POST request to the metadata workspace endpoint and observe the permissions error.
  3. Change the request method from POST to GET while keeping the low-privileged session.
  4. Observe that the response now returns all metadata fields.

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 web application has different roles, such as owner, member and collaborator, and each role should only be allowed to do certain things. Here the server checked permissions when data was created with a POST request, but forgot to check them when data was read with a GET request. That let a low-privileged user read information they were not supposed to see.

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 Muhammad_Wageh

View all

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