CVE-2019-14910CWE-287CWE-305CWE-592

A vulnerability was found in keycloak 7.x, when keycloak is configured with LDAP user federation and StartTLS is used instead of SSL/TLS from the LDAP server…

Critical · published December 5, 2019

CVSS v3.0
9.3
EPSS
1%
Percentile
64.1
In the wild
Unconfirmed
What it is

🚨 Keycloak's LDAP configuration has a sneaky flaw that allows authentication even with an invalid password! 🔥 Think of it like a bouncer at a club who lets anyone in just by hearing their name, without checking their ID — chaos would ensue! An attacker could easily gain unauthorized access to user accounts, putting sensitive data at risk and potentially leading to a full-blown security breach. Imagine the damage if someone could waltz in and impersonate a legitimate user without ever having the right credentials!

Put simply

Think of it like a bouncer at a club who lets anyone in just by hearing their name, without checking their ID — chaos would ensue! This vulnerability arises when Keycloak is set up with LDAP user federation using StartTLS instead of SSL/TLS, allowing user authentication to succeed regardless of the password inputted.

What to do

An attacker could easily gain unauthorized access to user accounts, putting sensitive data at risk and potentially leading to a full-blown security breach. Imagine the damage if someone could waltz in and impersonate a legitimate user without ever having the right credentials! To shield your system, upgrade to Keycloak version 8.0.0 or later, and ensure you’re using SSL/TLS for your LDAP connections. It’s also a great time to review your authentication setup for other potential vulnerabilities! You've got this! Follow these steps to secure your Keycloak setup and fortify your user authentication. 🛡️

The record
Technical detail
CVSS v3.0
9.3 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.01054 · 64.1th percentile
Weaknesses
CWE-287 · Improper Authentication; CWE-305 · Authentication Bypass by Primary Weakness; CWE-592 · DEPRECATED: Authentication Bypass Issues
Published
2019-12-05T14:16Z
EPSS history
Timeline
  • 05 DEC 14:16Z
    A vulnerability was found in keycloak 7.x, when keycloak is configured with LDAP user federation and StartTLS is used instead of SSL/TLS from the LDAP server…
    cvelistv5