Bug in GraphQL and API integration leads to limited user address disclosure
A modified GraphQL query caused a backend API request with an undefined parameter, returning address book entries for accounts with the username 'undefined'. This led to a limited disclosure of user address book entries.
- Triaged in 33 hours
- Fixed in 2 days
- Paid in 2 days
- Disclosed after 2 months
Summary by the program
A modified GraphQL query to fetch a user's address book entries led to a limited disclosure of user address book entries. The modified query resulted in a backend API request with undefined as a parameter. The response contained address lists of accounts with a username of undefined. We were not able to identify any horizontal privilege escalation vulnerabilities as a result of this report, however, the issue was triaged and resolved as a High severity finding.
Many thanks to @loxiran for reporting this issue.
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 backend API treated the undefined parameter as a valid username and returned matching address book entries without proper validation.
Impact
This could disclose address book entries of accounts with the username 'undefined', but no horizontal privilege escalation was identified.
What the attacker needed
Ability to send modified GraphQL queries
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 for a website to ask its server for specific data. By changing the query, the reporter made the server ask a different internal service for data using an empty value, and that service returned address lists for accounts whose username was literally 'undefined'.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.