GHSA-p78h-m8pv-g9gm

Suggest an improvement
Source
https://github.com/advisories/GHSA-p78h-m8pv-g9gm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-p78h-m8pv-g9gm/GHSA-p78h-m8pv-g9gm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-p78h-m8pv-g9gm
Aliases
Published
2024-08-05T21:18:59Z
Modified
2024-08-05T22:26:58.035788Z
Severity
  • 4.0 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N CVSS Calculator
  • 6.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Apereo CAS vulnerable to credential leaks for LDAP authentication
Details

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 “sslclientcert”. 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.

Database specific
{
    "nvd_published_at": "2023-06-27T18:15:13Z",
    "cwe_ids": [
        "CWE-200",
        "CWE-522"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-08-05T21:18:59Z"
}
References

Affected packages

Maven / org.apereo.cas:cas-server-support-x509-core

Package

Name
org.apereo.cas:cas-server-support-x509-core
View open source insights on deps.dev
Purl
pkg:maven/org.apereo.cas/cas-server-support-x509-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.5.0
Fixed
6.6.6

Affected versions

6.*

6.5.0
6.5.1
6.5.2
6.5.3
6.5.4
6.5.5
6.5.6
6.5.7
6.5.8
6.5.9
6.5.9.1
6.5.9.2
6.5.9.3
6.5.9.4
6.6.0-RC1
6.6.0-RC2
6.6.0-RC3
6.6.0-RC4
6.6.0-RC5
6.6.0
6.6.1
6.6.2
6.6.3
6.6.4
6.6.5