CVE-2021-25646 Authenticated users can override system configurations in their requests which allows them to execute arbitrary code.
HighCVSS 8.8
EPSS 99.1%
Framework module
Public exploit
Scanner template
PoC
- Published
- Updated
- Exploit status
- Public exploit available
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Apache Druid | >= 0.20.0 and earlier, <= 0.20.0 | after 0.20.0 | Fixed |
| apache druid | <= 0.20.0 | after 0.20.0 | Fixed |
| org.apache.druid/druid(Maven) | < 0.20.1; = 0.13.0-incubating; = 0.14.0-incubating; = 0.14.1-incubating +11 more | 0.20.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.druid/druid(Maven) | < 0.20.1 | 0.20.1 |
| org.apache.druid/druid(Maven) | = 0.13.0-incubating | No fix listed |
| org.apache.druid/druid(Maven) | = 0.14.0-incubating | No fix listed |
| org.apache.druid/druid(Maven) | = 0.14.1-incubating | No fix listed |
| org.apache.druid/druid(Maven) | = 0.14.2-incubating | No fix listed |
| org.apache.druid/druid(Maven) | = 0.15.0-incubating | No fix listed |
| org.apache.druid/druid(Maven) | = 0.15.1-incubating | No fix listed |
| org.apache.druid/druid(Maven) | = 0.16.0-incubating | No fix listed |
| org.apache.druid/druid(Maven) | = 0.16.1-incubating | No fix listed |
| org.apache.druid/druid(Maven) | = 0.17.0 | No fix listed |
| org.apache.druid/druid(Maven) | = 0.17.1 | No fix listed |
| org.apache.druid/druid(Maven) | = 0.18.0 | No fix listed |
| org.apache.druid/druid(Maven) | = 0.18.1 | No fix listed |
| org.apache.druid/druid(Maven) | = 0.19.0 | No fix listed |
| org.apache.druid/druid(Maven) | = 0.20.0 | No fix listed |
| apache druid | <= 0.20.0 | No fix listed |
| Apache Druid | >= 0.20.0 and earlier, <= 0.20.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org mailing-list vendor-advisory
- lists.apache.org
- [oss-security] 20210129 CVE-2021-25646: Authenticated users can override system configurations in their requests which allows them to execute arbitrary code. mailing-list third-party-advisory
- packetstormsecurity.com exploit third-party-advisory vdb-entry
- github.com
- [druid-commits] 20210204 [GitHub] [druid] jihoonson merged pull request #10854: [Backport] Fix CVE-2021-25646 mailing-list
- [druid-commits] 20210204 [GitHub] [druid] jihoonson opened a new pull request #10854: [Backport] Fix CVE-2021-25646 mailing-list
- [announce] 20210129 Subject: [CVE-2021-25646] Apache Druid remote code execution vulnerability mailing-list
- [druid-dev] 20210331 Regarding the 0.21.0 release mailing-list
- [druid-commits] 20210204 [GitHub] [druid] jihoonson merged pull request #10818: Fix CVE-2021-25646 mailing-list
- [druid-commits] 20210205 [GitHub] [druid] jihoonson merged pull request #10854: [Backport] Fix CVE-2021-25646 mailing-list
- [druid-dev] 20210129 Re: [druid-user] Re: CVE-2021-25646: Authenticated users can override system configurations in their requests which allows them to execute arbitrary code. mailing-list
- [druid-commits] 20210205 [GitHub] [druid] jihoonson merged pull request #10818: Fix CVE-2021-25646 mailing-list
- [druid-commits] 20210205 [GitHub] [druid] jihoonson opened a new pull request #10854: [Backport] Fix CVE-2021-25646 mailing-list
- [druid-commits] 20210205 [GitHub] [druid] jihoonson commented on pull request #10818: Fix CVE-2021-25646 mailing-list
- [druid-dev] 20210129 Re: CVE-2021-25646: Authenticated users can override system configurations in their requests which allows them to execute arbitrary code. mailing-list
- [druid-commits] 20210204 [GitHub] [druid] jihoonson commented on pull request #10818: Fix CVE-2021-25646 mailing-list
- [druid-commits] 20210204 [druid] branch 0.21.0 updated: Fix CVE-2021-25646 (#10818) (#10854) mailing-list