Skip to content
Access control Disclosed report Intermediate

Invited team member can disclosure slack channels

An invited team member without permissions could query a GraphQL endpoint to retrieve the names of private Slack channels they were not invited to. This exposed private channel names to unauthorised users.

eremeev Follow

Originally disclosed on HackerOne

Bounty$500 Low View original
  • Triaged in 41 hours
  • Fixed in 22 days
  • Paid in 8 days
  • Disclosed after 23 days

Summary: Hello, this report is similar to #505493 (also still waiting for response), but accent is totally on another thing. I think it is important and should be fixed, and so i create new report.

Invited team member without any permission can disclosure private channel names of slack integration.

If it is also by design, i very hope that it should be fixed.

For example, user1 and user2 can be in one slack team and one hackerone team, but user1 can't view names of some private slack channels in which he not invited. But he can disclosure it names by making graphql query to hackerone

Description: Using graphql query

query{
  
  teams(where:{handle:{_eq:"hackeronetest_4hr1y"}}){
    edges{
      node{
        slack_pipelines{
          nodes{
            id
            descriptive_label
            team{
              handle
              slack_integration{
                channels{
                  name
                }
              }
            }
          }
        }
      }
    }
  }
}

invited team member(hackerone) without permission can access private slack channel names in which he not invited

Steps To Reproduce

  1. as team admin create slack integration
  2. create private channel
  3. invite new team member to hackerone team, not required that user is invited to slack team
  4. remove any permissions for this user
  5. login as invited user
  6. send graphql query as described early:
    Screenshot_2019-03-14_09-21-09.png
    Screenshot_2019-03-14_09-21-09.png From the original on HackerOne

Optional: Your Environment (Browser version, Device, etc)

Optional: Supporting Material/References (Screenshots)

what channels can see invited user:

Screenshot_2019-03-14_09-21-39.png
Screenshot_2019-03-14_09-21-39.png From the original on HackerOne

what channels can see slack admin:

Screenshot_2019-03-14_09-21-53.png
Screenshot_2019-03-14_09-21-53.png From the original on HackerOne

what channels returns to invited user though graphql:

Screenshot_2019-03-14_10-32-02.png
Screenshot_2019-03-14_10-32-02.png From the original on HackerOne

invited user must not view this channel name: h1test

Optional: Did you use recon data made available by HackerOne to find this vulnerability?

no

Impact

Disclosure private channels of slack integration

The original report as published on HackerOne, by eremeev. 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

An invited team member without permissions could disclose the names of private Slack channels they were not invited to.

What the attacker needed

A HackerOne team with Slack integration; a private Slack channel; an invited team member with no permissions

How it was found

  1. As team admin, create a Slack integration.
  2. Create a private channel in Slack.
  3. Invite a new team member to the HackerOne team (no Slack invite needed).
  4. Remove all permissions from this user.
  5. Log in as the invited user.
  6. Send the GraphQL query to retrieve Slack channel names.

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 with no special rights could use a special query to see the names of private Slack channels they were not supposed to see.

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 HackerOne

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.