Skip to content
Access control Disclosed report Beginner

Creating Post on a restricted channel

A team member without permission to post in a restricted public channel could bypass the restriction by intercepting a command-post request and changing the channel ID to the restricted channel's ID. The attacker could then create a post in a channel where the admin had denied posting rights.

thisishrsh Follow

Originally disclosed on HackerOne

  • Triaged in 6 days
  • Fixed in 7 days
  • Paid in 7 days
  • Disclosed after 2 months

Hi,

I would like to report a privilege escalation issue in which a member of the team is able to create a post on a channel even if the permission to do so is denied to him by the admin.After the admin has limited the number of users who can post to a specific public channel,an unauthorized user who does not have sufficient authority to post anything on it is able to create the post based on commands available to him.I have attached a POC for further clarification.

The admin in this case has denied the team members from creating any posts on the general channel. In order to bypass this restriction,login as a team member, and create a command post on any channel and intercept the request. Modify the request by changing the channel ID( replace it with the channel ID of general ) and send the request. We get the success message and on the channel also we can see that the post has been created.

Steps to reproduce: 1.Login as team member. 2.Create a command post on any public channel. 3.Intercept the request. 4.Replace the channel ID in the request with the one of general channel.

Let me know if any other help is needed.

Thanks, Harsh.

Attachments

Privilege_Escalation_Slack.mp4 From the original on HackerOne

The original report as published on HackerOne, by thisishrsh. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Impact

A team member could create posts in a public channel where the admin had explicitly denied posting rights, bypassing the restriction.

What the attacker needed

A team member account; admin has restricted posting in a channel; ability to intercept requests

How it was found

  1. Log in as a team member.
  2. Create a command post on any public channel.
  3. Intercept the request.
  4. Replace the channel ID in the request with the ID of the general channel.

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.

A team member was not allowed to post in a certain channel. By changing the channel ID in the request, the user could post in the forbidden channel anyway. This is a privilege escalation.

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 by thisishrsh

View all

2 more disclosed reports, best first.

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.