CVE-2023-28857
Java vulnerability analysis and mitigation

Overview

Apereo CAS, an open source multilingual single sign-on solution, contains a vulnerability (CVE-2023-28857) in its X509 certificate authentication functionality. When configured to use LDAP server for x509 authentication with a password, the system leaks LDAP credentials when processing certificate revocation lists (CRL). The vulnerability was discovered by Michael Stepankin from GitHub Security Lab and affects versions 6.5.x through 6.6.x, with a fix released in version 6.6.6 (GitHub Advisory, Apereo Advisory).

Technical details

The vulnerability occurs in the X509CredentialsAuthenticationHandler component when checking certificate revocation. When validating a client certificate, the handler fetches URLs provided in the 'CRL Distribution Points' extension of the certificate. If CAS is configured with LDAP authentication (using cas.authn.x509.ldap.ldap-url and cas.authn.x509.ldap.bind-credential properties), and the certificate contains LDAP URLs in its CRL distribution points, the system uses the same LDAP password for these CRL checks. The vulnerability can be exploited using even untrusted self-signed certificates, as the handler only checks date validity and revocation, but not the signature validity (GitHub Advisory).

Impact

An unauthenticated attacker can exploit this vulnerability to leak the password used for LDAP connection configured on the server. This could potentially lead to unauthorized access to the LDAP server and compromise of sensitive authentication data (GitHub Advisory).

Exploitability

The vulnerability can be exploited by sending a specially crafted X509 client certificate containing malicious LDAP URLs in its CRL Distribution Points extension. Even if Apereo CAS is behind a reverse proxy that checks TLS certificate validity, the vulnerability can still be exploited if an attacker can craft a signed certificate with a CRLDP extension (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Apereo CAS version 6.6.6. Users running affected versions (6.5.x and 6.6.x) should upgrade to version 6.6.6 or later. For version 6.5.x, users should upgrade to version 6.5.9.1. There are no known workarounds for this vulnerability (Apereo Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-10050HIGH8.7
  • Java logoJava
  • neo4j-5.26
NoYesAug 04, 2026
CVE-2026-48048HIGH7.5
  • Java logoJava
  • org.xwiki.platform:xwiki-platform-livetable-ui
NoYesAug 10, 2026
CVE-2026-56818MEDIUM6.5
  • Java logoJava
  • management-api-fips-5.0
NoYesAug 07, 2026
CVE-2026-48047MEDIUM5.9
  • Java logoJava
  • org.xwiki.platform:xwiki-platform-webjars-api
NoYesAug 07, 2026
CVE-2026-71497MEDIUM4.7
  • Java logoJava
  • apache-commons-codec
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management