CVE-2012-5055 Exposure of Sensitive Information to an Unauthorized Actor in Spring Security
Remote attackers can enumerate valid usernames by observing response time differences in login attempts due to missing password checks for non-existent users.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2012-5055?
CVE-2012-5055 is a medium-severity vulnerability in n/a, published on 5 Dec 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
DaoAuthenticationProvider in VMware SpringSource Spring Security before 2.0.8, 3.0.x before 3.0.8, and 3.1.x before 3.1.3 does not check the password if the user is not found, which makes the response delay shorter and might allow remote attackers to enumerate valid usernames via a series of login requests.
Weakness: CWE-200
Which versions are affected by CVE-2012-5055?
6 open source packages ship an affected version, including org.springframework.security:spring-security-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.springframework.security:spring-security-core Maven | All versions | 2.0.8 |
org.springframework.security:spring-security-core Maven | All versions | 2.0.8 |
org.springframework.security:spring-security-core Maven | From 3.0.0 | 3.0.8 |
org.springframework.security:spring-security-core Maven | From 3.0.0 | 3.0.8 |
org.springframework.security:spring-security-core Maven | From 3.1.0 | 3.1.3 |
org.springframework.security:spring-security-core Maven | From 3.1.0 | 3.1.3 |
Products include Vmware Springsource Spring Security.
How do I fix CVE-2012-5055?
Upgrade org.springframework.security:spring-security-core to a fixed version for your release line: 2.0.8, 3.0.8 or 3.1.3.
Is CVE-2012-5055 being exploited?
There is no known exploitation of CVE-2012-5055 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-3533-rvpc-6x56.