# Apereo CAS vulnerable to credential leaks for LDAP authentication

Advisory record · `GHSA-p78h-m8pv-g9gm`

- **Identifiers:** `GHSA-p78h-m8pv-g9gm` · `CVE-2023-28857`
- **State:** Confirmed
- **Severity:** CVSS 4.0 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-200](https://cwe.mitre.org/data/definitions/200.html) · [CWE-522](https://cwe.mitre.org/data/definitions/522.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md) · [Hard-coded credentials](https://agentprime.io/advisories/tag/hard-coded-credentials.md)
- **Published:** 5 Aug 2024
- **Updated:** 5 Aug 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 5 Aug 2024, 21:18 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apereo.cas:cas-server-support-x509-core` (Maven): affected `>=6.5.0, <6.6.6`; fixed in `6.6.6`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Apereo CAS (package org.apereo.cas:cas-server-support-x509-core, versions 6.5.0 up to 6.6.6) is vulnerable when X.509 authentication is configured to use an LDAP server with a bind password. An unauthenticated attacker can supply a client certificate whose CRL Distribution Points point to an LDAP URL, causing the server to send the configured LDAP bind password to that URL and leak it. Upgrade to version 6.6.6. The source lists no workarounds.

Written 8 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 4.0 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0050, the 43rd percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:13 UTC: First seen by agentprime
- 31 Oct 2026, 15:13 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-p78h-m8pv-g9gm)

## Sources

- [GitHub Advisory Database: GHSA-p78h-m8pv-g9gm](https://github.com/advisories/GHSA-p78h-m8pv-g9gm)
- [OSV: GHSA-p78h-m8pv-g9gm](https://osv.dev/vulnerability/GHSA-p78h-m8pv-g9gm)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-28857>
- <https://apereo.github.io/2023/02/20/x509-vuln>
- <https://github.com/apereo/cas>
- <https://github.com/apereo/cas/releases/tag/v6.6.6>
- <https://github.com/graciantrivino/cas/blob/b90003f43a8ac0382d5416ceb01074feb936bf24/cas-server-support-x509/src/main/java/org/jasig/cas/adaptors/x509/authentication/handler/support/X509CredentialsAuthenticationHandler.java#L231>
- <https://securitylab.github.com/advisories>
- <https://securitylab.github.com/advisories/GHSL-2023-009_Apereo_CAS>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-p78h-m8pv-g9gm>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-p78h-m8pv-g9gm/>. Everything for agents: <https://agentprime.io/llms.txt>.
