PT-2021-16724 · Apache · Apache Druid

Litch1

+1

·

Published

2021-01-29

·

Updated

2024-02-27

·

CVE-2021-25646

CVSS v2.0

9.0

High

VectorAV:N/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Apache Druid versions 0.20.0 and earlier
Description The issue allows an authenticated user to send a specially-crafted request that forces Apache Druid to run user-provided JavaScript code for that request, regardless of server configuration. This can be leveraged to execute code on the target machine with the privileges of the Druid server process. Over 3,000 unique attacks have been detected in the past month, indicating an attacker testing phase. The Lucifer Botnet is exploiting this issue for cryptomining.
Recommendations For Apache Druid versions 0.20.0 and earlier, consider disabling the JavaScript execution functionality until a patch is available. As a temporary workaround, restrict access to the Druid server to minimize the risk of exploitation. Avoid using the JavaScript code execution feature in untrusted environments. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Incorrect Permission

Weakness Enumeration

Related Identifiers

CVE-2021-25646
GHSA-WRQF-RRRW-W3MG

Affected Products

Apache Druid