CVE-2025-0693: AWS IAM User Enumeration
The AWS Web Console login flow allowed attackers to enumerate valid IAM usernames. One method relied on a different response when MFA was enabled, and another used a measurable timing difference when MFA was disabled.
Published on rhinosecuritylabs.com
Username enumeration vulnerabilities can allow attackers to identify valid users, which is the first step in many attacks. During a recent pentest, we discovered two username enumeration vulnerabilities in the AWS Web Console.
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 a 'quick exit' shortcut in the authentication code that skips password hashing and lookup when the username does not exist, causing a measurable timing difference.
Impact
An attacker could determine which IAM usernames exist, which is the first step in many attacks; the timing attack was patched, but the MFA-based enumeration was accepted as a risk.
What the attacker needed
AWS account with IAM users; Ability to send login requests; Burp Suite or similar tool
The fix
The timing-based vulnerability (CVE-2025-0693) was patched by AWS; the MFA-based enumeration was accepted as a risk.
How it was found
- Create a test IAM user with console access and MFA disabled.
- Use Burp Suite Intruder with maximum concurrent requests set to 1.
- Send login requests with different usernames and record response times.
- Compare response times to identify valid usernames.
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.
Username enumeration means figuring out which usernames are real on a system. Here, the AWS login page behaved differently for real and fake usernames, so an attacker could tell them apart. That is a problem because knowing valid usernames helps an attacker focus their efforts.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.