Skip to content
OpenAdvisories
High · 8.1 CVE-2017-8028 EUVD-2022-4787GHSA-pjqh-2jcc-5j84

Improper Authentication in Pivotal Spring-LDAP

Published Nov 27, 2017 · Updated Aug 5, 2024 · Assigned by dell

Description

In Pivotal Spring-LDAP versions 1.3.0 - 2.3.1, when connected to some LDAP servers, when no additional attributes are bound, and when using LDAP BindAuthenticator with org.springframework.ldap.core.support.DefaultTlsDirContextAuthenticationStrategy as the authentication strategy, and setting userSearch, authentication is allowed with an arbitrary password when the username is correct. This occurs because some LDAP vendors require an explicit operation for the LDAP bind to take effect.

Affected products

VendorProductAffectedFixed
— Spring-LDAP Spring-LDAP versions 1.3.0 2.3.1 Spring-LDAP Spring-LDAP versions 1.3.0 2.3.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 8 libspring-ldap-java 1.3.1.RELEASE-5+deb8u1 DSA-4046-1
Debian 7 libspring-ldap-java 1.3.1.RELEASE-4+deb7u1 DLA-1180-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS libspring-ldap-java 1.3.1.RELEASE-4+deb7u1build0.14.04.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework.ldap:spring-ldap-core >= 1.3.0, < 2.3.2 2.3.2 GHSA-pjqh-2jcc-5j84

Advisories 2

References