We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-5967

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



Assignerredhat
Reserved2024-06-13
Published2024-06-18
Updated2024-09-27

Description

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.



LOW: 2.7CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N

Problem types

Incorrect Default Permissions

Product status

Default status
unaffected

Default status
affected

22.0.12-1 before *
unaffected

Default status
affected

22-17 before *
unaffected

Default status
affected

22-20 before *
unaffected

Default status
unaffected

Default status
affected

0:18.0.16-1.redhat_00001.1.el7sso before *
unaffected

Default status
affected

0:18.0.16-1.redhat_00001.1.el8sso before *
unaffected

Default status
affected

0:18.0.16-1.redhat_00001.1.el9sso before *
unaffected

Default status
affected

7.6-52 before *
unaffected

Timeline

2024-06-13:Reported to Red Hat.
2024-06-13:Made public.

Credits

Upstream acknowledges Simon Wessling as the original reporter.

References

https://access.redhat.com/errata/RHSA-2024:6493 (RHSA-2024:6493) vendor-advisory

https://access.redhat.com/errata/RHSA-2024:6494 (RHSA-2024:6494) vendor-advisory

https://access.redhat.com/errata/RHSA-2024:6495 (RHSA-2024:6495) vendor-advisory

https://access.redhat.com/errata/RHSA-2024:6497 (RHSA-2024:6497) vendor-advisory

https://access.redhat.com/errata/RHSA-2024:6499 (RHSA-2024:6499) vendor-advisory

https://access.redhat.com/errata/RHSA-2024:6500 (RHSA-2024:6500) vendor-advisory

https://access.redhat.com/errata/RHSA-2024:6501 (RHSA-2024:6501) vendor-advisory

https://access.redhat.com/security/cve/CVE-2024-5967 vdb-entry

https://bugzilla.redhat.com/show_bug.cgi?id=2292200 (RHBZ#2292200) issue-tracking

cve.org CVE-2024-5967

nvd.nist.gov CVE-2024-5967

Download JSON

Share this page
https://cve.threatint.com
Subscribe to our newsletter to learn more about our work.