The UI Said No, The API Said 200 OK: Two RBAC Vulnerabilities I Found
A low-privilege user could read incident data through a backend API even though the UI blocked access, and could delete draft workflows via an API endpoint despite lacking UI permissions. The attacker could access sensitive incident information and delete draft workflows.
Published on medium.com
The first issue is related to a Read Mechanism. I was able to access an incident using a low-privilege user.
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 missing server-side authorization checks on API endpoints, relying on the UI to enforce access control.
Impact
A low-privilege user could read incident data and delete draft workflows, though the triager noted that enumerating incident IDs is difficult and the delete only affects drafts.
What the attacker needed
A low-privilege account; knowledge of an incident ID; knowledge of a workflow ID
How it was found
- Log in as a low-privilege user.
- Capture the GET request used to retrieve an incident.
- Send the request and observe a 200 OK response with incident data.
- Capture the DELETE request for a draft workflow.
- Send the request as a low-privilege user and observe successful deletion.
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.
Role-Based Access Control (RBAC) means the system decides what you can do based on your role, like 'admin' or 'regular user'. Here, the website's interface hid certain actions, but the underlying API (the part that actually does the work) did not check permissions properly, so a low-privilege user could still read incident data and delete draft workflows by sending requests directly.
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.