Skip to content
Info disclosure Write-up Beginner

How I Brute-Forced 400 Internal Accounts Without Logging In-P3-

A public password reset page accepted a short numeric user code and responded differently for valid and invalid codes, revealing a masked email address and its provider. An unauthenticated attacker could loop through the code space to enumerate hundreds of internal accounts without any rate limiting or CAPTCHA.

medium.com

Published on medium.com

In this write-up, I’ll show how a badly implemented password reset flow exposed hundreds of internal user accounts, leaked parts of their email addresses, and allowed anyone — without authentication — to enumerate and brute-force employee identifiers.

hacker_space11, 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 form used short sequential numeric identifiers and returned a distinct response (a redirect with a masked email) for valid codes, with no rate limiting or CAPTCHA to slow enumeration.

Impact

An unauthenticated attacker could enumerate hundreds of internal accounts and learn the first character and provider of each email, which could feed phishing or social engineering; the text does not claim a full account takeover was achieved.

What the attacker needed

Publicly reachable password reset page; no account needed; no CAPTCHA or rate limiting

How it was found

  1. Open the public password reset page that asks for a user or customer code.
  2. Submit a numeric code and observe whether the response is a redirect with a masked email or an error.
  3. Loop through the code range, submitting each value and recording the ones that return a redirect.
  4. Collect the masked email previews for the valid codes to build a list of internal accounts.

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 password reset page asks for a user code. If the page answers differently for real and fake codes, someone can try many codes quickly and learn which ones belong to real people. Here the page also showed part of the email address, so the attacker learned who those people were.

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.