Show vulnerabilities with patch / with exploit

LDAP injection in Apache Druid

Published: 2020-04-04
Severity Medium
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2020-1958
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Apache Druid
Server applications / Database software

Vendor Apache Foundation

Security Advisory

This security advisory describes one medium risk vulnerability.

1) LDAP injection

Severity: Medium

CVSSv3: 5.9 [CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:P/RL:O/RC:C] [PCI]

CVE-ID: CVE-2020-1958

CWE-ID: CWE-90 - Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')

Exploit availability: Yes [Search exploit]


The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to improper input validation when processing DLAP queries.A remote non-authenticated user can use Druid API to retrieve any LDAP attribute values of users that exist on the LDAP server. A remote attacker with a valid set of LDAP credentials can send a specially crafted request to the Druid API and bypass the credentialsValidator.userSearch filter barrier that determines if a valid LDAP user is allowed to authenticate with Druid.

Successful exploitation of this vulnerability may allow an attacker to gain access to sensitive information and to escalate privileges within the application.


Install updates from vendor's website.

Vulnerable software versions

Apache Druid: 0.17.0, 0.17.0-rc1

CPE External links

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.