Ability to join an arbitrary workspace by utilizing a proxy to manipulate invite links
A researcher could manipulate the team ID in the signup request to join a workspace other than the one they were invited to, if that workspace did not require admin approval for invitations.
Originally disclosed on HackerOne
- Disclosed after 9 months
Summary by the program
A software bug was found where experienced researchers could utilize an intercepting proxy to repeat HTTP requests to the endpoint api/signup.createUser, replacing the team ID parameter with an arbitrary team ID from the one-time password email generated by a workspace invitation, inviting themselves to a different workspace than the original invitation. This was possible only for workspaces that did not require admin approval to send invitations to join.
Slack launched an investigation of this issue immediately, deploying a fix the same day. We performed a comprehensive impact assessment and concluded that no customers were impacted by this issue.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the server did not verify that the team ID in the signup request matched the workspace associated with the invitation token, allowing the client-supplied team ID to be trusted.
Impact
A researcher could join a different workspace than the one they were invited to, but only where admin approval for invitations was not required.
What the attacker needed
A workspace invitation email; an intercepting proxy; target workspace allows open invitations
The fix
The issue was fixed the same day by Slack.
How it was found
- Receive a workspace invitation email containing a one-time password.
- Use an intercepting proxy to capture the HTTP request to api/signup.createUser.
- Replace the team ID parameter in the request with an arbitrary team ID.
- Repeat the request to join the target workspace.
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 report has not been written yet. The Original tab links to the source.
When you sign up to a workspace, the app sends a request that includes an identifier for that workspace. The bug was that the server trusted whatever identifier the user sent, so someone could change it to a different workspace's identifier and join that workspace instead. This only worked if the target workspace did not require an admin to approve invitations.
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.