Skip to content
OpenAdvisories
High · 8.8 Scanner template Public exploit CVE-2021-25646 EUVD-2021-1420GHSA-wrqf-rrrw-w3mg

Authenticated users can override system configurations in their requests which allows them to execute arbitrary code.

Published Jan 29, 2021 · Updated Feb 13, 2025 · Assigned by apache

Description

Apache Druid includes the ability to execute user-provided JavaScript code embedded in various types of requests. This functionality is intended for use in high-trust environments, and is disabled by default. However, in Druid 0.20.0 and earlier, it is possible for an authenticated user to send a specially-crafted request that forces 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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Druid 0.20.0 and earlier – ≤ 0.20.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.

Metasploit 1 module

GitHub 13 repositories · most starred shown

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

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.druid:druid < 0.20.1 0.20.1 GHSA-wrqf-rrrw-w3mg

References