{"id":"CVE-2023-28857","published":"2023-06-27T17:10:47Z","modified":"2024-11-27T19:03:39Z","title":"LDAP password leak in Apereo CAS - GHSL-2023-009","vendor":"Apereo","product":"CAS","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00503,"percentile":0.4391,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2023-009_Apereo_CAS/","tags":["x_refsource_CONFIRM"]},{"url":"https://apereo.github.io/2023/02/20/x509-vuln/","tags":["x_refsource_MISC"]},{"url":"https://github.com/apereo/cas/releases/tag/v6.6.6","tags":["x_refsource_MISC"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":8.78},{"name":"CVSS severity","points":2.8}]},"vendorSlug":"apereo","affectedVersions":[{"vendor":"Apereo","product":"CAS","versions":[">= 6.5.0, < 6.5.9.1",">= 6.6.0, < 6.6.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-11-27T19:03:30.830177Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apereo.cas:cas-server-support-x509-core","vulnerableRanges":[">=6.5.0, <6.6.6"],"patched":["6.6.6"],"from":["GHSA-p78h-m8pv-g9gm"],"provenance":"source"}],"summary":{"text":"The flaw is in Apereo CAS's X509CredentialsAuthenticationHandler, which, when X.509 client certificate authentication is configured with an LDAP server and bind password, fetches certificate revocation URLs taken from the certificate's CRL Distribution Points extension and sends the configured LDAP bind password along with requests to LDAP URLs found there. An unauthenticated remote attacker who can present a crafted client certificate, via TLS handshake or a special HTTP header, can cause the server to disclose the LDAP connection password, and no workarounds exist.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:45Z"},"euvd":{"id":"EUVD-2024-2624","exploited":false,"provenance":"source"}}