Skip to content
Info disclosure Write-up Beginner

My First Bug: Email Enumeration via Password Reset

The password reset endpoint returned different JSON responses depending on whether the submitted email belonged to a real account, so an attacker could tell which addresses were registered. This let anyone confirm valid employee emails and use that list for phishing or credential stuffing.

zouhairake Follow

Published on medium.com

Hello everyone! My name is Zouhair and I’m excited to share my first article with you.

Zouhair Ake, 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 reset endpoint returned a distinct error message for unknown emails instead of a single generic response for every request.

Impact

An attacker could enumerate which employee emails are valid and use that information for phishing, spear phishing, credential stuffing or mapping the internal user structure.

What the attacker needed

Access to the internal employee portal; ability to intercept HTTP requests

The fix

The endpoint should always return the same generic message regardless of whether the email exists.

How it was found

  1. Find the internal employee portal and its Forgot Password option.
  2. Submit a random, non-existent email address and intercept the request.
  3. Note the response saying the member was not found.
  4. Submit a real employee email and note the different success response.

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 ask a website to reset your password, it has to check whether your email is registered. Here the site answered differently for real and fake emails, so anyone could test addresses one by one and learn which ones have accounts. That list of confirmed emails is useful to someone planning phishing emails or trying stolen passwords.

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.