Every CVE Search/ Get API key

CVE-2024-5967

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

2.7 LowFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
High
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
None

Exploit likelihood

0.65%Up 0.6 points since Jun 19, 2024
90%50%10%1%

What each source reports

CVE List Score used 2.7

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

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.

Record
CVE-2024-5967
CVSS 3.1
2.7 LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-276
Updated
2026-11-02
EUVDEUVD-2024-2011 2.7

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.

Record
EUVD-2024-2011
CVSS 3.1
2.7 LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-c25h-c27q-5qpv 2.7

Keycloak leaks configured LDAP bind credentials through the Keycloak admin console

Impact

The LDAP testing endpoint allows to change the Connection URL independently of and without having to re-enter the currently configured LDAP bind credentials. An attacker with admin access (permission manage-realm) can 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/compromised a user with sufficient privileges can leak domain credentials and can now attack the domain.

Acknowledgements

Special thanks to Simon Wessling for reporting this issue and helping us improve our project

Record
GHSA-c25h-c27q-5qpv
CVSS 3.1
2.7 LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-276
Updated
2026-11-02
NVD 2.7

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.

Record
CVE-2024-5967
CVSS 3.1
2.7 LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-276
Updated
2026-11-02
OSV 2.7

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

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.

Record
CVE-2024-5967
CVSS 3.1
2.7 LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-276
Updated
2026-11-02
OSVGHSA-c25h-c27q-5qpv 2.7

Keycloak leaks configured LDAP bind credentials through the Keycloak admin console

Impact

The LDAP testing endpoint allows to change the Connection URL independently of and without having to re-enter the currently configured LDAP bind credentials. An attacker with admin access (permission manage-realm) can 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/compromised a user with sufficient privileges can leak domain credentials and can now attack the domain.

Acknowledgements

Special thanks to Simon Wessling for reporting this issue and helping us improve our project

Record
GHSA-c25h-c27q-5qpv
CVSS 3.1
2.7 LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-276
Updated
2026-11-02
OSVRHSA-2024:6493 7.1

Red Hat Security Advisory: Red Hat Single Sign-On 7.6.10 security update on RHEL 7

Record
RHSA-2024:6493
CVSS 3.1
7.1 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2024:6494 7.1

Red Hat Security Advisory: Red Hat Single Sign-On 7.6.10 security update on RHEL 8

Record
RHSA-2024:6494
CVSS 3.1
7.1 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2024:6495 7.1

Red Hat Security Advisory: Red Hat Single Sign-On 7.6.10 security update on RHEL 9

Record
RHSA-2024:6495
CVSS 3.1
7.1 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.keycloak:keycloak-ldap-federation
Maven
25.0.0 to 25.0.0
25.0.1
org.keycloak:keycloak-ldap-federation
Maven
through 22.0.11
22.0.12
org.keycloak:keycloak-ldap-federation
Maven
23.0.0 to 24.0.5
24.0.6
org.keycloak:keycloak-ldap-federation
Maven
25.0.0 up to 25.0.1
25.0.1
org.keycloak:keycloak-ldap-federation
Maven
before 22.0.12, plus listed versions
1.0-beta-41.0-final1.0-rc-11.0-rc-21.0.1.Final
Show 45 moreShow less
1.0.2.Final1.0.3.Final1.0.4.Final1.0.5.Final1.1.0.Beta11.1.0.Beta21.1.0.Final1.1.1.Final1.2.0.Beta11.2.0.CR11.2.0.Final1.3.0.Final1.3.1.Final1.4.0.Final1.5.0-Final1.5.0.Final1.5.1.Final1.6.0.Final1.6.1.Final1.7.0.CR11.7.0.Final1.8.0.Alpha11.8.0.CR11.8.0.CR21.8.0.CR31.8.0.Final1.8.1.Final1.9.0.CR11.9.0.Final1.9.1.Final1.9.2.Final1.9.3.Final1.9.4.Final1.9.5.Final1.9.7.Final1.9.8.Final10.0.010.0.110.0.211.0.011.0.111.0.211.0.312.0.012.0.1
22.0.12
org.keycloak:keycloak-ldap-federation
Maven
23.0.0 up to 24.0.6, plus listed versions
23.0.123.0.223.0.323.0.423.0.5
Show 8 moreShow less
23.0.623.0.724.0.024.0.124.0.224.0.324.0.424.0.5
24.0.6
rh-sso7-keycloak
Red Hat:red_hat_single_sign_on:7.6::el7
From an advisory covering 3 CVEs
before 0:18.0.16-1.redhat_00001.1.el7sso
0:18.0.16-1.redhat_00001.1.el7sso
rh-sso7-keycloak-server
Red Hat:red_hat_single_sign_on:7.6::el7
From an advisory covering 3 CVEs
before 0:18.0.16-1.redhat_00001.1.el7sso
0:18.0.16-1.redhat_00001.1.el7sso
rh-sso7-keycloak
Red Hat:red_hat_single_sign_on:7.6::el8
From an advisory covering 3 CVEs
before 0:18.0.16-1.redhat_00001.1.el8sso
0:18.0.16-1.redhat_00001.1.el8sso
rh-sso7-keycloak-server
Red Hat:red_hat_single_sign_on:7.6::el8
From an advisory covering 3 CVEs
before 0:18.0.16-1.redhat_00001.1.el8sso
0:18.0.16-1.redhat_00001.1.el8sso
rh-sso7-keycloak
Red Hat:red_hat_single_sign_on:7.6::el9
From an advisory covering 3 CVEs
before 0:18.0.16-1.redhat_00001.1.el9sso
0:18.0.16-1.redhat_00001.1.el9sso
rh-sso7-keycloak-server
Red Hat:red_hat_single_sign_on:7.6::el9
From an advisory covering 3 CVEs
before 0:18.0.16-1.redhat_00001.1.el9sso
0:18.0.16-1.redhat_00001.1.el9sso

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-5967 is a low vulnerability (CVSS 2.7) in Red Hat Build Of Keycloak, published June 18, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.65%, the 51st percentile. Fixed in org.keycloak:keycloak-ldap-federation 25.0.1.

References

Show 28 moreShow less
This page doesn't list everything

Left out here: 100 versions. The JSON record has them.

MoveEnter Open