# CVE-2023-28857: LDAP password leak in Apereo CAS - GHSL-2023-009

- Severity: Medium 4.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 38% of CVEs (2026-11-30)
- Published: 2023-06-27T17:10:47.930Z
- Modified: 2026-06-17T05:48:55.727Z
- Also known as: GHSA-p78h-m8pv-g9gm
- Weaknesses: CWE-200, CWE-522
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Apereo CAS: >= 6.5.0, < 6.5.9.1; >= 6.6.0, < 6.6.6
- org.apereo.cas:cas-server-support-x509-core (Maven): from 6.5.0 before 6.6.6
- apereo central_authentication_service: from 6.5.0 before 6.5.9.1; from 6.6.0 before 6.6.6

## Every score

- GitHub_M: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://securitylab.github.com/advisories/GHSL-2023-009_Apereo_CAS/> (third-party-advisory)
- <https://apereo.github.io/2023/02/20/x509-vuln/> (third-party-advisory)
- <https://github.com/apereo/cas/releases/tag/v6.6.6> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-28857> (advisory)
- <https://apereo.github.io/2023/02/20/x509-vuln> (web)
- <https://github.com/apereo/cas> (package)
- <https://github.com/graciantrivino/cas/blob/b90003f43a8ac0382d5416ceb01074feb936bf24/cas-server-support-x509/src/main/java/org/jasig/cas/adaptors/x509/authentication/handler/support/X509CredentialsAuthenticationHandler.java#L231> (web)
- <https://securitylab.github.com/advisories> (web)
- <https://securitylab.github.com/advisories/GHSL-2023-009_Apereo_CAS> (advisory)

## Sources

- CVE List: [CVE-2023-28857](https://www.cve.org/CVERecord?id=CVE-2023-28857), CVE Terms of Use, modified 2024-11-27
- GitHub Advisory Database: [GHSA-p78h-m8pv-g9gm](https://github.com/advisories/GHSA-p78h-m8pv-g9gm), CC-BY-4.0, modified 2024-08-05
- NVD: [CVE-2023-28857](https://nvd.nist.gov/vuln/detail/CVE-2023-28857), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-28857 · Whole record: https://cve.day/CVE-2023-28857.json · Rebuilt by cve.day 2026-11-25T22:58:25.255Z
