Security mailing lists by PureSourceCode

CVE-2023-28857

HIGH 7.5CVSS 3.1

Apereo CAS vulnerable to credential leaks for LDAP authentication

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.

Published
27 Jun 2023
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-200CWE-522
Also known as
GHSA-p78h-m8pv-g9gm
Sources
NVDJSONOSV GHSA-p78h-m8pv-g9gmJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apereo central_authentication_service
cpe:2.3:a:apereo:central_authentication_service:*:*:*:*:*:*:*:*
>= 6.5.0, < 6.5.9.1 6.5.9.1
NVD apereo central_authentication_service
cpe:2.3:a:apereo:central_authentication_service:*:*:*:*:*:*:*:*
>= 6.6.0, < 6.6.6 6.6.6
OSV Maven org.apereo.cas:cas-server-support-x509-core >= 6.5.0, < 6.6.6 6.6.6

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 27 Jun 2023)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 Aug 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.