Slack wants you you know this privacy exploit is fine
A Slack user could add other people to a private direct message conversation and include the full history, sharing past messages and attachments without the other participant's consent. The added conversation could then be converted into a private channel, allowing the original participant to be removed and a larger group to be added.
tane.dev
Published on tane.dev
Last week, after a call with the engineers on my team I wanted to send a message to two of the engineers at the same time - little did I know I’d find what I believe to be a nasty privacy exploit in Slack - one that made me ask “Why is this even a feature?”
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 'add people to conversation' feature allows the inviter to include past message history without requiring consent from the other participant, and the resulting conversation can be converted into a private channel where the original participant can be excluded.
Impact
A private DM history, including attachments, could be shared with added users without the other participant's consent, and the conversation could then become a private channel from which the original participant is removed; Slack notes that creating private channels can be restricted by admins and that messages are not truly deleted.
What the attacker needed
A Slack account; permission to create private channels; access to the victim's account or unlocked computer
The fix
Slack considers the behaviour intended and suggests restricting who can create private channels, but the reporter argues this is insufficient; a proper fix would require consent from all participants before sharing history or converting the conversation.
How it was found
- Open a direct message with a user.
- Click the user name at the top where the chevron is located.
- Choose 'Add people to this conversation'.
- Add one or more users to the conversation.
- Select the option to include conversation history.
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.
In Slack, a direct message (DM) is a private chat between two people. The report shows that one person in that chat could invite others into it and choose to share all the earlier messages, without the other person agreeing. Slack said this is how the feature is meant to work, but the reporter argues it can leak private conversations.
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.