Read the docs
TI-2024-05530 Aliases CVE-2024-5967GHSA-c25h-c27q-5qpv

Keycloak: leak of configured ldap bind credentials through the keycloak admin console

Priority LOW 15CWE-276Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00649 51st percentileScored 2026-11-07
Fix Fixed keycloak: 22.0.12, 24.0.6, 25.0.1org.keycloak:keycloak-ldap-federation (Maven): 25.0.1, 22.0.12, 24.0.6Red Hat: 7 advisories

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—keycloakbefore 22.0.12; 23.0.0 to before 24.0.6; 25.0.0 to before 25.0.122.0.12, 24.0.6, 25.0.1Patch availableCNA
Red HatRed Hat Build of Keycloak——Not affectedCNA
Red HatRed Hat build of Keycloak 22—22.0.12-1Patch availableCNA
Red HatRed Hat build of Keycloak 22—22-17Patch availableCNA
Red HatRed Hat build of Keycloak 22—22-20Patch availableCNA
Red HatRed Hat Single Sign-On 7——Not affectedCNA
Red HatRed Hat Single Sign-On 7.6 for RHEL 7—18.0.16-1.redhat_00001.1.el7ssoPatch availableCNA
Red HatRed Hat Single Sign-On 7.6 for RHEL 8—18.0.16-1.redhat_00001.1.el8ssoPatch availableCNA
Red HatRed Hat Single Sign-On 7.6 for RHEL 9—18.0.16-1.redhat_00001.1.el9ssoPatch availableCNA
Red HatRHEL-8 based Middleware Containers—7.6-52Patch availableCNA
—org.keycloak:keycloak-ldap-federation (Maven)25.0.0 to before 25.0.125.0.1Patch availableGHSA-c25h-c27q-5qpv
—org.keycloak:keycloak-ldap-federation (Maven)before 22.0.1222.0.12Patch availableGHSA-c25h-c27q-5qpv
—org.keycloak:keycloak-ldap-federation (Maven)23.0.0 to before 24.0.624.0.6Patch availableGHSA-c25h-c27q-5qpv
  • keycloak Vendor— Affected before 22.0.12; 23.0.0 to before 24.0.6; 25.0.0 to before 25.0.1 Fixed in 22.0.12, 24.0.6, 25.0.1 Patch available CNA
  • Red Hat Build of Keycloak VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat build of Keycloak 22 VendorRed Hat Affected — Fixed in 22.0.12-1 Patch available CNA
  • Red Hat build of Keycloak 22 VendorRed Hat Affected — Fixed in 22-17 Patch available CNA
  • Red Hat build of Keycloak 22 VendorRed Hat Affected — Fixed in 22-20 Patch available CNA
  • Red Hat Single Sign-On 7 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat Single Sign-On 7.6 for RHEL 7 VendorRed Hat Affected — Fixed in 18.0.16-1.redhat_00001.1.el7sso Patch available CNA
  • Red Hat Single Sign-On 7.6 for RHEL 8 VendorRed Hat Affected — Fixed in 18.0.16-1.redhat_00001.1.el8sso Patch available CNA
  • Red Hat Single Sign-On 7.6 for RHEL 9 VendorRed Hat Affected — Fixed in 18.0.16-1.redhat_00001.1.el9sso Patch available CNA
  • RHEL-8 based Middleware Containers VendorRed Hat Affected — Fixed in 7.6-52 Patch available CNA
  • org.keycloak:keycloak-ldap-federation (Maven) Vendor— Affected 25.0.0 to before 25.0.1 Fixed in 25.0.1 Patch available GHSA-c25h-c27q-5qpv
  • org.keycloak:keycloak-ldap-federation (Maven) Vendor— Affected before 22.0.12 Fixed in 22.0.12 Patch available GHSA-c25h-c27q-5qpv
  • org.keycloak:keycloak-ldap-federation (Maven) Vendor— Affected 23.0.0 to before 24.0.6 Fixed in 24.0.6 Patch available GHSA-c25h-c27q-5qpv

CPE names CNA · 7

CPEVersionsRoleVendor
cpe:/a:redhat:build_keycloak:2222—Red Hat
cpe:/a:redhat:build_keycloak:22::el922—Red Hat
cpe:/a:redhat:red_hat_single_sign_on:7.67.6—Red Hat
cpe:/a:redhat:red_hat_single_sign_on:7.6::el77.6—Red Hat
cpe:/a:redhat:red_hat_single_sign_on:7.6::el87.6—Red Hat
cpe:/a:redhat:red_hat_single_sign_on:7.6::el97.6—Red Hat
cpe:/a:redhat:rhosemc:1.0::el81.0—Red Hat
  • cpe:/a:redhat:build_keycloak:22 Versions 22 — ·Red Hat
  • cpe:/a:redhat:build_keycloak:22::el9 Versions 22 — ·Red Hat
  • cpe:/a:redhat:red_hat_single_sign_on:7.6 Versions 7.6 — ·Red Hat
  • cpe:/a:redhat:red_hat_single_sign_on:7.6::el7 Versions 7.6 — ·Red Hat
  • cpe:/a:redhat:red_hat_single_sign_on:7.6::el8 Versions 7.6 — ·Red Hat
  • cpe:/a:redhat:red_hat_single_sign_on:7.6::el9 Versions 7.6 — ·Red Hat
  • cpe:/a:redhat:rhosemc:1.0::el8 Versions 1.0 — ·Red Hat

Remediation

  • Fix · CNA keycloak Fixed in 22.0.12, 24.0.6, 25.0.1
  • Fix · GHSA-c25h-c27q-5qpv org.keycloak:keycloak-ldap-federation (Maven) Fixed in 25.0.1 Advisory →
  • Fix · GHSA-c25h-c27q-5qpv org.keycloak:keycloak-ldap-federation (Maven) Fixed in 22.0.12 Advisory →
  • Fix · GHSA-c25h-c27q-5qpv org.keycloak:keycloak-ldap-federation (Maven) Fixed in 24.0.6 Advisory →

Red Hat 7 advisories

  • RHSA-2024:6497 Released 2024-09-09 · Red Hat rating Moderate
    Red Hat Single Sign-On 7.6.10 for OpenShift image enhancement update
    • Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8
  • RHSA-2024:6495 Released 2024-09-09 · Red Hat rating Moderate
    Red Hat Single Sign-On 7.6.10 security update on RHEL 9
    • Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak-18.0.16-1.redhat_00001.1.el9sso, rh-sso7-keycloak-server-18.0.16-1.redhat_00001.1.el9sso
  • RHSA-2024:6500 Released 2024-09-09 · Red Hat rating Moderate
    Red Hat build of Keycloak 22.0.12 Images Update
    • Red Hat build of Keycloak 22 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
Show 4 more Red Hat advisories
  • RHSA-2024:6494 Released 2024-09-09 · Red Hat rating Moderate
    Red Hat Single Sign-On 7.6.10 security update on RHEL 8
    • Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak-18.0.16-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server-18.0.16-1.redhat_00001.1.el8sso
  • RHSA-2024:6501 Released 2024-09-09 · Red Hat rating Moderate
    Red Hat build of Keycloak 22.0.12 Update
    • Red Hat Build of Keycloak
  • RHSA-2024:6493 Released 2024-09-09 · Red Hat rating Moderate
    Red Hat Single Sign-On 7.6.10 security update on RHEL 7
    • Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak-18.0.16-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server-18.0.16-1.redhat_00001.1.el7sso
  • RHSA-2024:6499 Released 2024-09-09 · Red Hat rating Moderate
    Red Hat Single Sign-On 7.6.10 security update
    • Red Hat Single Sign-On 7

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Middleware Containers for OpenShiftFixed RHSA-2024:6497
Red Hat Build of KeycloakFixed RHSA-2024:6501
Red Hat Single Sign-On 7Fixed RHSA-2024:6499
Red Hat Single Sign-On 7.6 for RHEL 7 ServerFixed RHSA-2024:6493
Red Hat Single Sign-On 7.6 for RHEL 8Fixed RHSA-2024:6494
Red Hat Single Sign-On 7.6 for RHEL 9Fixed RHSA-2024:6495
Red Hat build of Keycloak 22Fixed RHSA-2024:6500

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-5967
  2. 2026-10-03 Alias added: GHSA-c25h-c27q-5qpv
  3. 2026-10-16 EPSS moved to the 50th–90th percentile

References

  • TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
  • TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
  • TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
  • TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
  • TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
  • TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
See all 7413 →

Sources