Affected Products and Versions * Apache Druid * Affected Versions: 0.17.0 through 35.x (all versions prior to 36.0.0) * Prerequisites: * druid-basic-security extension enabled * LDAP authenticator configured * Underlying LDAP server permits anonymous bind Vulnerability Description An authentication bypass vulnerability exists in Apache Druid when using the druid-basic-security extension with LDAP authentication. If the underlying LDAP server is configured to allow anonymous binds, an attacker can bypass authentication by providing an existing username with an empty password. This allows unauthorized access to otherwise restricted Druid resources without valid credentials. The vulnerability stems from improper validation of LDAP authentication responses when anonymous binds are permitted, effectively treating anonymous bind success as valid user authentication. Impact A remote, unauthenticated attacker can: * Gain unauthorized access to the Apache Druid cluster * Access sensitive data stored in Druid datasources * Execute queries and potentially manipulate data * Access administrative interfaces if the bypassed account has elevated privileges * Completely compromise the confidentiality, integrity, and availability of the Druid deployment Mitigation Immediate Mitigation (No Druid Upgrade Required): * Disable anonymous bind on your LDAP server. This prevents the vulnerability from being exploitable and is the recommended immediate action. Resolution * Upgrade Apache Druid to version 36.0.0 or later, which includes fixes to properly reject anonymous LDAP bind attempts.
The vulnerability results from improper validation of LDAP server responses in the druid-basic-security extension when the LDAP server is configured to allow anonymous connections (anonymous bind). An attacker sends an authentication request with a valid existing account name and an empty password. Apache Druid incorrectly interprets the success of an anonymous bind as confirmation of user identity and grants access without verifying actual credentials. The attack is only possible when the druid-basic-security extension is simultaneously enabled, an LDAP authenticator is configured, and the LDAP server allows anonymous bind.
A remote, unauthenticated attacker can gain unauthorized access to an Apache Druid cluster, read sensitive data from data sources, execute and potentially manipulate queries, and in the case of privileged accounts — take full control of the environment, compromising the confidentiality, integrity, and availability of the entire deployment.
Immediate action (without requiring Druid update): disable anonymous bind support on the LDAP server — this eliminates the possibility of exploiting the vulnerability. Long-term solution: update Apache Druid to version 36.0.0 or newer, which contains a patch that rejects anonymous bind attempts at the application level.
Apache Druid versions 0.17.0 to 35.x (all versions prior to 36.0.0), provided the following conditions are met: druid-basic-security extension enabled, LDAP authenticator configured, and LDAP server allowing anonymous bind.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HApache Druid
APPApache0.17.0 – 36.0.0 (bez)
Related vulnerabilities
Apache Druid: słaby generator losowy umożliwia bypass uwierzytelnienia Kerberos
Apache Druid allows users to read data from other database systems using JDBC. This functionality is to allow ...
Apache Druid includes the ability to execute user-provided JavaScript code embedded in various types of reques...
Severity: medium (5.8) / important Server-Side Request Forgery (SSRF), Improper Neutralization of Input Durin...
Padding Oracle vulnerability in Apache Druid extension, druid-pac4j. This could allow an attacker to manipulat...