PenTales: “User enumeration is not a vulnerability” – I beg to differ
The exposed Outlook Web Access service allowed an attacker to tell valid usernames from invalid ones by comparing authentication responses. The tester used this to build a list of usernames, then found a weak password and logged in, eventually reaching the internal network.
Published on rapid7.com
This is a story of how a well defended network was compromised through user enumeration; a vulnerability which many organizations do not consider to be a “real” vulnerability. For the uninitiated, user enumeration vulnerabilities are application behaviors that could allow a malicious actor to determine valid usernames…
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 login endpoint returned distinguishable responses for existing and non-existing accounts, and the organisation also allowed weak passwords and lacked multifactor authentication on remote access.
Impact
An attacker could obtain valid usernames, guess a weak password, read sensitive emails, and use the same credentials to reach internal systems, potentially leading to further account compromise through password reuse.
What the attacker needed
OWA exposed to the internet; No MFA on remote access; Weak password policy
The fix
The client worked with the testers to identify controls that would mitigate the issues, though the text does not name specific fixes.
How it was found
- Scan ports and enumerate services to find exposed web services, including OWA.
- Harvest employee names from public sources and convert them into username formats.
- Submit authentication requests to OWA and use the differing responses to confirm valid usernames.
- Add popular names from census data to find more valid usernames.
- Run a password spray attack against the collected usernames and find a working weak password.
- Log in to the compromised email, read support requests containing passwords, and extract the Global Address List.
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.
User enumeration means a website behaves differently when you enter a real username compared with a fake one, so an attacker can discover who has an account. Here the tester used that difference to collect hundreds of real usernames, then tried common passwords against them until one worked.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.