Skip to content
Info disclosure Write-up Beginner

Stories of Sensitive Data Exposure: What I Found as a Pentester and How You Can Prevent It: Episode 1—Data Leakage

A GraphQL endpoint returned full user profile details (name, phone, role, internal ID) for any email address supplied, without authentication or authorization. An attacker could enumerate all user accounts by automating requests with different email addresses.

Yamini Yadav_369 Follow

Published on systemweakness.com

Hello everyone. I am Yamini Yadav, a security engineer, an OSCP-certified professional, and a passionate bug bounty hunter.

Yamini Yadav_369, on systemweakness.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 the GraphQL endpoint lacked authentication and authorization checks, allowing any caller to retrieve user data by supplying an email address.

Impact

An attacker could enumerate all user accounts and obtain personal data such as full name, phone number, role, and internal user ID, which could enable identity theft or further attacks.

What the attacker needed

Knowledge of a valid email address; no authentication required

The fix

The endpoint should enforce authentication and authorization checks and return only the minimum necessary data.

How it was found

  1. Intercept and replay API requests using Burp Suite.
  2. Find a GraphQL endpoint used to fetch user data.
  3. Change the email parameter in the request.
  4. Observe the server returning complete profile details for the supplied email.

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.

An API is a way for programs to talk to each other. Here, a request asking for user data by email returned private details for anyone, with no login needed. That means someone could write a script to try many email addresses and collect personal information about every user.

What is Info disclosure?

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

More by Yamini Yadav_369

View all

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