Skip to content
Info disclosure Write-up Beginner

Don’t Overlook the Obvious: A Near Miss in Bug Hunting

The forgot-password endpoint returned a JSON response containing extensive personal data about the account owner, including name, address, parents' names, national ID numbers, marital status and email. An attacker who knew a registered phone number could obtain this sensitive information without authentication.

medium.com

Published on medium.com

Hello, folks! This story is about how I found a critical vulnerability in a university academic registration website (yes, another one, but a different website) that might expose all of its users.

Abid Mafahim, 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 the forgot-password API returned the full user record in its response instead of only the minimum needed to confirm the account.

Impact

An attacker who knows a registered phone number could obtain sensitive personal data about that user, though the author did not proceed to reset the password and the text does not confirm whether that step was possible.

What the attacker needed

A registered phone number; access to the forgot-password form

The fix

The forgot-password response should be changed to return only a generic confirmation and never include personal data.

How it was found

  1. Open the forgot-password form, which asks for a registered phone number.
  2. Submit a phone number that belongs to an existing account.
  3. Inspect the response to the password-reset request, which contains the user's personal data.

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.

A website's forgot-password form is meant to help you reset your password, but here it also sent back a large amount of private information about the account holder. Anyone who typed in a known phone number could see details like home address and identity numbers, which should never be shown to someone who is not logged in.

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.