Full CRUD With Low Privileges: RBAC Misconfigurations and the Dark Side of Bug Bounty
A low-privilege user role could read, create, update and delete objects that the UI and documentation said it had no access to, because the server did not check permissions on those endpoints. The same pattern let users with no update or delete permission perform those actions, and one endpoint could be reached by dropping the ID from the request.
Published on medium.com
And why was the CRUD reported as Low severity? Why was the update marked as duplicate (internal)?
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 server enforced permissions only in the user interface and not on the API endpoints, so any authenticated session could perform the action.
Impact
A low-privilege or zero-permission user could read, create, update and delete sensitive objects, though the program rated the CRUD issue Low, called the update a duplicate and said it saw no impact in the delete case.
What the attacker needed
An account with a low-privilege role; ability to intercept and edit requests
How it was found
- Log in as the Owner and intercept the request to read, create, update or delete the object.
- Replace the session with the Low Privilege User's session.
- Send the request and observe a 200 OK response.
- For the delete case, create a custom role with zero permissions and repeat the cookie swap against the endpoint that uses the object name.
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.
Many apps give each user a role, such as owner or viewer, and the server is supposed to check that role before doing anything. Here the server only checked that the request came from a logged-in user, not what that user was allowed to do. So a low-privilege account could do things the interface never showed it, like changing or deleting other people's data.
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.