Vulnerability
Username Enumeration
Vulnerability
Before attempting to guess a password, an attacker may first try to determine which usernames or email addresses actually exist in the system. This is known as username enumeration.
The attacker is looking for an observable difference between a valid and invalid account for example, a different error message, HTTP response, response time, or password-reset behavior.
This matters because knowing which accounts are real makes subsequent attacks much more efficient. Instead of attempting credential stuffing, password spraying, or brute-force attacks against a large list of possible identifiers, an attacker can focus their efforts on confirmed accounts.
Without enumeration:10,000 possible email addresses → many attempts against nonexistent accounts
With enumeration:10,000 possible email addresses → 1,000 confirmed accounts → targeted attacks
Enumeration therefore acts as a reconnaissance step that improves the efficiency of later authentication attacks.