Skip to content
Info disclosure Write-up Beginner

‍♂️Unauthenticated Account Enumeration and Login Metadata D

An unauthenticated API endpoint returns different responses for valid and invalid email addresses, revealing whether an account exists and exposing authentication method and organisation identifier. An attacker could use this to enumerate users and gather information for phishing or credential stuffing.

0xMo7areb 🥷 Follow

Published on medium.com

During API testing, I found an unauthenticated endpoint that leaks account existence and authentication details. This allows user enumeration and exposes sensitive login configuration data.

0xMo7areb 🥷, 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

The endpoint lacks authentication and returns different responses containing sensitive metadata for valid versus invalid emails.

Impact

This could enable user enumeration, better targeting for phishing and credential stuffing, disclosure of login method and organisation identifiers, and increased risk of account takeover.

What the attacker needed

None

The fix

The endpoint should require authentication, return identical responses for all emails, remove sensitive fields, add rate limiting, and use a generic message.

How it was found

  1. Send a request to the login-hint endpoint with an email address.
  2. Observe that a valid email returns detailed account information.
  3. Observe that an invalid email returns a different or minimal 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.

A website's login system should not reveal whether an email address is registered. Here, a public API endpoint gave different answers for real and fake emails, and also told attackers if the account used a password or single sign-on. This helps attackers target real users more effectively.

What is Info disclosure?

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

More by 0xMo7areb 🥷

View all

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