Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreSpring LDAP's DirContextAuthenticationStrategy implementations do not reject a bind request where a non-empty username is paired with an empty or null password.
RFC 4513 Section 5.1.2 defines this as an unauthenticated bind. On LDAP servers that permit such binds, an attacker with a valid username and an empty password can bypass password verification.
This affects authentications performed through AbstractContextSource, LdapTemplate, and LdapClient.
This is similar to a vulnerability previously announced in Spring Security as CVE-2014-0079.
Spring LDAP:
Users of affected versions should upgrade to the corresponding fixed version.
| Affected version(s) | Fix version | Availability |
|---|---|---|
| 2.4.x | 2.4.5 | Enterprise Support Only |
| 3.2.x | 3.2.18 | Enterprise Support Only |
| 3.3.x | 3.3.8 | OSS |
| 4.0.x | 4.0.4 | OSS |
No further mitigation steps are necessary.
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy