Vulnerabilities · 2023 · Apereo
CVE-2023-28857
Apereo Central Authentication Service vulnerability
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.
Affected products
Central Authentication Service. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apereo Central Authentication Service runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- apereo.github.io/2023/02/20/x509-vuln/ · Third Party Advisory
- securitylab.github.com/advisories/GHSL-2023-009_Apereo_CAS/ · Third Party Advisory
- github.com/apereo/cas/releases/tag/v6.6.6
- nvd.nist.gov/vuln/detail/CVE-2023-28857
- apereo.github.io/2023/02/20/x509-vuln
- github.com/graciantrivino/cas/blob/b90003f43a8ac0382d5416ceb01074feb936bf24/cas-server-sup
- securitylab.github.com/advisories
- securitylab.github.com/advisories/GHSL-2023-009_Apereo_CAS
- nvd.nist.gov/vuln/detail/CVE-2023-28857
- cve.org/CVERecord?id=CVE-2023-28857
More vulnerabilities in Apereo products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.