$2,150 Critical Authorization Bypass: Viewer to Admin Privilege E
A viewer-level user could send a direct API request to change their own permission level to Administrator, because the backend did not check authorisation. This gave full administrative control over the calendar system.
Published on medium.com
Hi Everyone! While testing a SaaS platform (let’s call it ExampleCenter), I discovered a critical Broken Access Control vulnerability that allowed a low-privileged user to escalate from a Calendar Viewer → Calendar Administrator using a simple API request.
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 permission-update endpoint lacked server-side authorisation checks, relying only on the user interface to hide admin features.
Impact
A viewer could become a calendar administrator, gaining full control over rooms, resources, people permissions, conflict resolution, and calendar settings.
What the attacker needed
A viewer-level account; ability to intercept and modify API requests
The fix
The API was fixed to properly return 403 for unauthorised permission changes.
How it was found
- Log in as a viewer and intercept a permission-related request from an admin account.
- Modify the request to target your own user ID and set the permission level to Administrator.
- Send the modified request while authenticated as the viewer.
- Refresh the UI to see the escalated administrator role.
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 calendar system has different roles, like viewer (read-only) and administrator (full control). The website hid the admin options from viewers, but the server behind it did not check who was allowed to change permissions. So a viewer could simply ask the server to make themselves an admin, and it agreed.
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.