CVE-2024-5967: Incorrect Default Permissions
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.
CVE-2024-5967: Incorrect Default Permissions
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.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2024-06-13T12:33:44.661Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69201212ce2640f942c372d4
Added to database: 11/21/2025, 7:17:38 AM
Last updated: 11/21/2025, 7:17:40 AM
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2024-6501: Uncontrolled Resource Consumption
LowCVE-2024-6126: Uncontrolled Resource Consumption
LowCVE-2024-5742: Improper Link Resolution Before File Access ('Link Following')
MediumCVE-2023-39327: Uncontrolled Resource Consumption
MediumCVE-2024-49395: Exposure of Sensitive Information Through Metadata
MediumActions
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.