CVE-2024-5967

Vulnérabilité faible

CVSS 2.7 · Faible
EPSS 0.6%
•Versions : 22-17, <24.0.6, 22-20, 0:18.0.16-1.redhat_00001.1.el9sso, <25.0.1, 7.6-52, 25.0.0, 0, 0:18.0.16-1.redhat_00001.1.el8sso, 22.0.12-1, 0:18.0.16-1.redhat_00001.1.el7sso, <22.0.12, <*, 23.0.0

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.

Gravité et risque d'exploitation

CVE-2024-5967 obtient un score CVSS de 2.7/10, soit une gravité faible. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.65 %, ce qui la place devant 50.2 % des CVE référencées.

Que faire ?

  • Vérifiez si le produit concerné (versions 22-17, <24.0.6, 22-20, 0:18.0.16-1.redhat_00001.1.el9sso, <25.0.1, 7.6-52, 25.0.0, 0, 0:18.0.16-1.redhat_00001.1.el8sso, 22.0.12-1, 0:18.0.16-1.redhat_00001.1.el7sso, <22.0.12, <*, 23.0.0) est présent sur votre parc.
  • Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
  • À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
  • Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.

Références