Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-28857

MEDIUM 4.0EPSS 38%

LDAP password leak in Apereo CAS - GHSL-2023-009

Also known as GHSA-p78h-m8pv-g9gm

Mitigation

  • Upgrade org.apereo.cas:cas-server-support-x509-core to 6.6.6 or later.

Who should check

  • Projects that depend on Maven package org.apereo.cas:cas-server-support-x509-core (>= 6.5.0, < 6.6.6)
  • Anyone running Apereo CAS >= 6.5.0, < 6.5.9.1; >= 6.6.0, < 6.6.6

Vulnerability facts

Affected
org.apereo.cas:cas-server-support-x509-core >= 6.5.0, < 6.6.6
Fixed in
6.6.6
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
4.0 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: Low
  • Integrity impact: None
  • Availability impact: None
EPSS
0.53% chance of exploitation in 30 days (percentile 38, 2026-11-26)
CWE
CWE-200
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.apereo.cas:cas-server-support-x509-core>= 6.5.0, < 6.6.66.6.6osv
Apereo CAS>= 6.5.0, < 6.5.9.1; >= 6.6.0, < 6.6.6—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-28857. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-28857.md
Affected: org.apereo.cas:cas-server-support-x509-core >= 6.5.0, < 6.6.6
Fixed in: 6.6.6

Steps:
1. Search this machine and project for org.apereo.cas:cas-server-support-x509-core (Maven), Apereo CAS: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2023-28857 being exploited?

There is no confirmed exploitation: CVE-2023-28857 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-28857?

Medium: CVSS 4.0 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2023-28857?

org.apereo.cas:cas-server-support-x509-core >= 6.5.0, < 6.6.6.

Is there a fix for CVE-2023-28857?

Yes. Fixed in 6.6.6. Upgrade org.apereo.cas:cas-server-support-x509-core to 6.6.6 or later.

How do I check if I'm affected by CVE-2023-28857?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors