Skip to content
Access control Write-up Beginner

Slack announcement-only channel post restriction bypass

Slack's announcement-only channels are meant to restrict posting to authorised users, but a user without posting permission could use a third-party app (such as Simple Poll) to post a poll message to the channel. An attacker could therefore post phishing messages to a restricted channel that all members would see.

Rodney Beede Follow

Published on rodneybeede.com

Last Modified: Wed, 20 Mar 2019 15:28:59 +0000 ; Created: Wed, 20 Mar 2019 12:00:00 +0000

Rodney Beede, on rodneybeede.com

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

Slack does not enforce the posting restriction at its core for messages created by third-party apps, trusting those apps to respect the channel's posting permissions.

Impact

An attacker could post a phishing message with a malicious link to a restricted channel such as #general, which all employees would see; the attacker could also delete the post quickly to reduce the chance of detection.

What the attacker needed

A Slack workspace with an announcement-only channel; a user without posting permission in that channel; a third-party app such as Simple Poll installed

The fix

Slack should enforce the posting restriction itself rather than trusting third-party apps, but the vendor stated the issue must be addressed in the third-party apps and declined to fix it.

How it was found

  1. Go to a channel with restricted posting using a user who cannot post messages or replies.
  2. Select a message posted by an authorised user.
  3. Open the message's ... menu and choose More message actions.
  4. Use the Simple Poll add-on to turn the question into a poll.
  5. Post the poll with arbitrary text.
  6. Observe that the poll appears for all users despite the posting restriction.

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.

Slack lets workspace owners lock a channel so only certain people can post there. The report shows that a user who is not allowed to post can still get a message into the channel by using an installed app that creates a poll. That means the restriction can be bypassed, and a bad actor could send a phishing link to everyone in the channel.

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.

More from Slack

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.