Skip to content
Info disclosure Write-up Beginner

Accidental Hacker: How I Found a Critical Data Leak Bug with Just

An API endpoint returned full user profiles, including national ID numbers, phone numbers and addresses, for other members of a classroom. Any logged-in user could read this sensitive personal data simply by calling the endpoint.

Spiderbyte Follow

Published on spiderbyte.medium.com

Hey bug hunters! I’m back with another tale from the cybersecurity trenches.

Spiderbyte, on spiderbyte.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 the API returned the full user object without checking whether the requester should see other users' personal fields, relying on the UI to hide them.

Impact

Attackers could collect national ID numbers, phone numbers and home addresses of students and teachers, enabling identity theft, targeted phishing or stalking.

What the attacker needed

A free account on the platform; a proxy tool to view API traffic

The fix

The API should enforce access control and return only the minimum fields needed, rather than relying on the UI to hide data; the text says it was fixed before publication.

How it was found

  1. Log in to the educational platform with a normal account.
  2. Browse to the classroom chat feature while a proxy records traffic.
  3. Find the student-classrooms API request in the proxy history.
  4. Read the response and observe other users' personal details.

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.

When you use a website, your browser talks to a server through an API, which is just a way for programs to exchange data. Here, the server sent back far more personal information about other students than the screen ever showed, so anyone who looked at the raw traffic could read it.

What is Info disclosure?

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

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.