Skip to main content
← All vulnerabilities
CVE-2021-25646GHSA-WRQF-RRRW-W3MG

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.20.1
1 Metasploit module, 13 proofs of concept on GitHub, 1 Nuclei template

Summary

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.

Timeline

  1. CVE published
  2. Record last updated
  3. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • Apache Software Foundation Apache Druid

    through 0.20.0

  • org.apache.druid:druidMaven

    fixed in 0.20.1

References 31

lists.apache.org

openwall.com

packetstormsecurity.com

GitHub · rapid7/metasploit-framework

GitHub · projectdiscovery/nuclei-templates

GitHub · 1n7erface/PocList

GitHub · CyberCTF/vulhub-apache-druid-cve-2021-25646

GitHub · Ormicron/CVE-2021-25646-GUI

GitHub · ShadowLance2/Apache-Druid-CVE-2021-25646-Exploit

GitHub · Vulnmachines/Apache-Druid-CVE-2021-25646

GitHub · givemefivw/CVE-2021-25646

GitHub · gps1949/CVE-2021-25646

GitHub · j2ekim/CVE-2021-25646

GitHub · k7pro/CVE-2021-25646-exp

GitHub · lp008/CVE-2021-25646

GitHub · shahdawadfallah-sys/Cybersecurity-Capstone-Project

GitHub · tiemio/RCE-PoC-CVE-2021-25646

GitHub · yaunsky/cve-2021-25646