Skip to content
Access control Disclosed report Beginner

Read-only team members can read all properties of webhooks

A read-only team member could query a GraphQL endpoint and retrieve all properties of webhooks, including their secret values and URLs, which they should not be able to see. This allowed them to identify where webhooks exist and obtain the secrets.

bencode Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in 47 days
  • Disclosed after 47 days

Description:

A team member can view all properties of webhooks despite not needing them.

Steps To Reproduce

  1. Have an admin of a program setup webhooks
  2. As a team member (read-only)log in
  3. Run the following graphql query:
    {
      query {
        team(handle: "security") {
          name
          webhooks {
            nodes {
              id
              secret
              url
            }
          }
        }
      }
    }
  1. See that you get data back

Impact

Read only users will be able to identify where webhooks exist and secrets

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

Root cause

Likely the GraphQL query for team webhooks did not check the user's role and returned sensitive fields such as the secret to any team member.

Impact

Read-only users could identify where webhooks exist and obtain their secrets.

What the attacker needed

A read-only team member account; webhooks configured by an admin

How it was found

  1. An admin sets up webhooks for a program.
  2. A read-only team member logs in.
  3. The team member runs a GraphQL query asking for the team's webhooks, including their id, secret, and url.
  4. The query returns data, showing the webhook details.

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.

In many apps, users have different permission levels, like read-only or admin. A read-only user is supposed to only look at things, not change them, and should not see sensitive data. Here, a read-only user could still ask the system for webhook details and get back secrets that should be hidden.

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.