Live threats

All CVEs / Red Hat

CVE-2024-5967Red Hat Build of Keycloak

Low 2.7

Priority
16
CVSS 3.1
2.7
EPSS
0.9%
probability of exploitation in 30 days · percentile 60
Auth required
Yes
Published
Jun 18, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-276
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N

What happens

A vulnerability was found in Keycloak. The LDAP testing endpoint allows changing the Connection URL  independently without re-entering the currently configured LDAP bind credentials. This flaw allows an attacker with admin access (permission manage-realm) to change the LDAP host URL ("Connection URL") to a machine they control. The Keycloak server will connect to the attacker's host and try to authenticate with the configured credentials, thus leaking them to the attacker. As a consequence, an attacker who has compromised the admin console or compromised a user with sufficient privileges can leak domain credentials and attack the domain.

Original NVD text.

What to do

  1. Apply the vendor's security update for Red Hat Build of Keycloak.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.keycloak:keycloak-ldap-federation ≥ 25.0.0 < 25.0.1 25.0.1 —
Maven org.keycloak:keycloak-ldap-federation < 22.0.12 22.0.12 —
Maven org.keycloak:keycloak-ldap-federation ≥ 23.0.0 < 24.0.6 24.0.6 —

Per OSV / GitHub Advisories (GHSA-c25h-c27q-5qpv). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.