From Removed Admin to Full Workspace Takeover — A Broken Access
A removed workspace administrator could still call workspace management APIs to list users, add new administrators, change roles and delete users. This let the removed user regain and keep full control of the workspace.
Published on medium.com
My name is Montaser Mohsen, and I am a security researcher focused on discovering vulnerabilities related to Broken Access Control, Authentication, and API Security.
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 relied on stale or cached authorization state instead of checking on every request whether the user was still an active member with the required role.
Impact
A removed administrator could regain administrative access, establish persistent control, remove legitimate administrators and enumerate workspace data, though the report notes the issue was rated low severity because the attacker had previously been an administrator and the window was temporary due to caching.
What the attacker needed
Attacker was previously a workspace admin; attacker still has a valid session; direct API access
The fix
The backend should check current membership and role on every sensitive request and invalidate permission changes immediately across sessions and caches.
How it was found
- The attacker holds legitimate administrator access to a workspace.
- Another administrator removes the attacker from the workspace.
- The attacker keeps sending direct API requests to the workspace user-management endpoints.
- The server still returns the user list and accepts changes such as adding an admin or deleting users.
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 workspace is a shared online area where a team manages users and projects. The platform checked permissions when someone used the normal website, but not properly when someone sent requests straight to its backend servers. So a person who had been removed as an admin could still use those direct requests to add themselves back or remove other admins.
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.