How I Discovered a $50,000 Web3 Vulnerability That Exposed Thousa
A GraphQL endpoint on a payment subdomain had introspection enabled and an unauthenticated query that returned sensitive user data including emails, phone numbers, locations, payment information, transaction history, and JWT tokens. An attacker could retrieve thousands of users' personal data and link it to blockchain wallets, enabling phishing, identity theft, and account takeover.
Today, I’m excited to finally write about one of the most critical vulnerabilities I’ve discovered in a Web3 platform. This flaw had the potential to expose thousands of users’ personal information, breaking the very privacy principles that Web3 is built on.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely missing access control on a GraphQL query combined with introspection left enabled in production, allowing unauthenticated retrieval of sensitive fields.
Impact
The exposure could let attackers link real identities to blockchain wallets, enabling targeted phishing, wallet takeover, identity theft, and extortion; the report also notes that manipulating or stealing JWTs could allow account takeover.
What the attacker needed
No login required; knowledge of the GraphQL endpoint
How it was found
- Found a payment subdomain during manual browsing in Burp Suite.
- Noticed requests to a GraphQL endpoint and tested for introspection, which was open.
- Loaded the schema into Burp's InQL extension and enumerated queries and mutations.
- Filtered fields and fine-tuned a query request.
- Found a single unauthenticated query that returned sensitive user data including JWT tokens.
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 write-up has not been written yet. The Original tab links to the source.
The platform used GraphQL, a way for apps to ask a server for exactly the data they need. The server was misconfigured so anyone could ask for private user details without logging in, and it also revealed its full data structure. This meant a stranger could download personal information for thousands of people.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.