Skip to content
OpenAdvisories
Medium · 6.5 Public exploit CVE-2020-1958 EUVD-2022-1152GHSA-qh2g-7h5p-mxf4

Credentials bypass in Apache Druid

Published Apr 1, 2020 · Updated Aug 4, 2024 · Assigned by apache

Description

When LDAP authentication is enabled in Apache Druid 0.17.0, callers of Druid APIs with a valid set of LDAP credentials can bypass the credentialsValidator.userSearch filter barrier that determines if a valid LDAP user is allowed to authenticate with Druid. They are still subject to role-based authorization checks, if configured. Callers of Druid APIs can also retrieve any LDAP attribute values of users that exist on the LDAP server, so long as that information is visible to the Druid server. This information disclosure does not require the caller itself to be a valid LDAP user.

Affected products

VendorProductAffectedFixed
Apache Apache Druid 0.17.0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.druid:druid >= 0.17.0, < 0.17.1 0.17.1 GHSA-qh2g-7h5p-mxf4

References