Skip to content
Info disclosure Disclosed report Intermediate

User object in GraphQL exposes number of trial reports for External Programs that also have a Private Program

A GraphQL query returned a remaining_reports value that differed depending on whether an external program also ran a private program on the platform. An attacker could use this to infer the existence of private programs.

ashish_r_padelkar Follow with it-admin

Originally disclosed on HackerOne

Informational View original
  • Triaged in 2 days
  • Fixed in 45 days
  • Disclosed after 45 days

Summary:

For this vulnerability to work, it is necessary that you should be Admin/member of atleast one sandbox team and running a GraphQL node can tell you if the external programs exist on directory page running a private program on hackerone or not

https://hackerone.com/directory?query=type%3Aexternal&sort=name%3Aascending&page=1

Description:

By running a below graphQL, it is possible to know wether external program running a private program or not

{"query":"query Report_submission_page{\n  query {\n    id,\n    ...F0\n  }\n}\nfragment F0 on Query {\n  me {\n    username,\n    _remaining_reports3zrc4S:remaining_reports(team_handle:\"█████\")\n  },\n  id\n}","variables":{"first_0":100}}

And the response will be

{"data":{"query":{"id":"Z2lkOi8vaGFja2Vyb25lL09iamVjdHM6OlF1ZXJ5L3N0YXRpYw==","me":{"username":"acc1","_remaining_reports3zrc4S":1}}}}

As you can see in response, "_remaining_reports3zrc4S":1

The response is always 1 for external programs if private program exist or else, it will be null

For eg i have verified that following program are running private program and i am getting response as 1

███████ ██████████ ████ ██████

Where as following program gives me null

██████ ███████ ██████ ████

Also, for some public programs like Security , i get 5 . I am not sure what this remaining report is about but it atleast helps you tell that if external program exist on h1 or not

Steps To Reproduce

  1. Register any sandbox program
  2. Run above graphQL query
  3. If you get "_remaining_reports3zrc4S":1 in response, that means external program is running private program on hackerone
  4. If you get "_remaining_reports3zrc4S":null , that means it doesn't exist on hackerone!

Regards, Ashish

Impact

Know wether external programs running private programs on hackerone or not

The original report as published on HackerOne, by ashish_r_padelkar. 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 remaining_reports field returned a value that revealed whether a private program existed.

Impact

An attacker could learn whether external programs are running private programs on the platform, which is information disclosure.

What the attacker needed

Admin or member of at least one sandbox team; Ability to run a GraphQL query

How it was found

  1. Register any sandbox program
  2. Run the GraphQL query
  3. If the response contains a remaining_reports value of 1, the external program runs a private program
  4. If the value is null, the program does not exist on the platform

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 GraphQL query is a way to ask a website's API for specific data. Here, asking for a report count for a program gave a different answer depending on whether that program also had a hidden private program, letting someone learn about programs that are not meant to be public.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by ashish_r_padelkar

View all

13 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.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.