Viewer-to-Member Privilege Escalation Through Server-Side Authori
A Viewer role could change the invitee role parameter to 'member' because the server did not check the inviter's permissions. This let a restricted user send invitations with a higher role, gaining collaborative and administrative capabilities.
Published on medium.com
Hello everyone! My name is Felopater Fady, and I’m excited to share my very first technical write-up with you,
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 trusted the role value in the invitation request without checking whether the requesting user was allowed to assign that role.
Impact
A restricted user could gain edit and delete permissions, add paid seats without authorisation, and manipulate project data.
What the attacker needed
A Viewer account on the platform
The fix
The server should check the requesting user's permissions before accepting the role value in the invitation request.
How it was found
- Log in as a Viewer and open the Invite or User Management section.
- Intercept the invitation request and note the invitee role parameter set to view_only.
- Change the invitee role value to member and forward the request.
- Observe a 200 OK response and confirm the invitation was processed with the Member 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 Viewer is meant to be read-only. The website only hid the higher roles in the menu, but the server still accepted a request asking for a Member role. So a Viewer could send an invitation as if they were allowed to, gaining more access than intended.
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.