PlaintextPasswordEncoder authenticates encoded passwords that are null
Spring Security
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework.security:spring-security-core Maven |
|
|
| org.springframework.security:spring-security-cas Maven |
|
|
Spring Security
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework.security:spring-security-core Maven |
|
|
| org.springframework.security:spring-security-cas Maven |
|
|
Spring Security, versions 4.2.x up to 4.2.12, and older unsupported versions support plain text passwords using PlaintextPasswordEncoder. If an application using an affected version of Spring Security is leveraging PlaintextPasswordEncoder and a user has a null encoded password, a malicious user (or attacker) can authenticate using a password of "null".
From the CVE record · pivotal
Spring Security 4.2.x through 4.2.12 and older unsupported versions are affected when an application uses PlaintextPasswordEncoder. If a user has a null encoded password, an attacker can authenticate as that user using the password "null"; no user interaction is described.
Check applications using Spring Security 4.2.x through 4.2.12 or older unsupported versions, including Maven spring-security-core below 4.2.13 and spring-security-cas below 4.2.13.RELEASE.