High severity · published Jun 27, 2023
CVE-2023-28857
LDAP password leak in Apereo CAS - GHSL-2023-009
7.5
CVSS
0.5%
EPSS
No
On KEV
Description
Apereo CAS is an open source multilingual single sign-on solution for the web. Apereo CAS can be configured to use authentication based on client X509 certificates. These certificates can be provided via TLS handshake or a special HTTP header, such as “ssl_client_cert”. When checking the validity of the provided client certificate, X509CredentialsAuthenticationHandler performs check that this certificate is not revoked. To do so, it fetches URLs provided in the “CRL Distribution Points” extension of the certificate, which are taken from the certificate itself and therefore can be controlled by a malicious user. If the CAS server is configured to use an LDAP server for x509 authentication with a password, for example by setting a “cas.authn.x509.ldap.ldap-url” and “cas.authn.x509.ldap.bind-credential” properties, X509CredentialsAuthenticationHandler fetches revocation URLs from the certificate, which can be LDAP urls. When making requests to this LDAP urls, Apereo CAS uses the same password as for initially configured LDAP server, which can lead to a password leak. An unauthenticated user can leak the password used to LDAP connection configured on server. This issue has been addressed in version 6.6.6. Users are advised to upgrade. There are no known workarounds for this vulnerability.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 43% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CA
CAS · Apereo
>= 6.5.0, < 6.5.9.1; >= 6.6.0, < 6.6.6 · source: vendor
CA
Central Authentication Service · Apereo
6.5.0 before 6.5.9.1; 6.6.0 before 6.6.6 · source: NVD
Affected product
CA
CAS
Apereo
More from CAS
9.8
CVE-2024-11209
Apereo CAS 2FA login improper authentication
9.1
CVE-2026-59099
Apereo CAS 7.3.0 < 8.0.0-RC6 - AES-GCM Nonce Reuse Information Disclosure
8.1
CVE-2024-11208
Apereo CAS login session expiration
7.5
CVE-2025-3986
Apereo CAS CasConfigurationMetadataServerController.java redos
7.5
CVE-2025-3984
Apereo CAS Groovy Code RegisteredServiceSimpleFormController.java saveService code injection