$800 Bounty: Privilege Escalation via API — From Scheduler to Team Admin
A low-privileged Scheduler user could call the team creation API directly and create teams, copy existing teams, and assign themselves as team leader, because the backend did not enforce the role restrictions shown in the UI. This allowed privilege escalation to editor-level actions and mass team creation.
infosecwriteups.com
Published on infosecwriteups.com
Hi Everyone! I recently discovered a Broken Access Control / Privilege Escalation vulnerability in a SaaS platform (ExampleCenter) that allowed a low-privileged user (Scheduler role) to perform editor-level administrative actions via direct API calls.
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
The backend API did not verify that the authenticated user had an editor or admin role before allowing team creation, copying, and leader assignment.
Impact
A Scheduler user could perform editor-level actions such as creating and copying teams and assigning team leaders, potentially disrupting workflows and violating least privilege; the text does not claim full admin takeover.
What the attacker needed
A Scheduler-level account; Ability to send direct API requests
The fix
The API was fixed to return 403 Forbidden for Scheduler users attempting these actions.
How it was found
- Log in with a Scheduler account and capture the API token.
- Send a POST request to the team creation endpoint with the Scheduler token and team details.
- Observe that the server returns 200 OK and creates the team.
- Use the copy_from parameter to clone an existing team.
- Set team_leader_ids to assign yourself or others as team leader.
- Repeat team creation to test for rate limits and duplicate names.
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 website's interface correctly hid team creation from users with the Scheduler role, but the server behind it did not check the user's role when the request arrived. By sending the request directly with a Scheduler account, the user could create teams and make themselves leader, which they should not be allowed to do.
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.