Skip to content
Info disclosure Write-up Intermediate

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.

Mohaseen Follow

Published on medium.com

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.

Mohaseen, on medium.com

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

  1. Found a payment subdomain during manual browsing in Burp Suite.
  2. Noticed requests to a GraphQL endpoint and tested for introspection, which was open.
  3. Loaded the schema into Burp's InQL extension and enumerated queries and mutations.
  4. Filtered fields and fine-tuned a query request.
  5. 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.

More by Mohaseen

View all

2 more disclosed reports, best first.

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.