CVE-2021-36749

MEDIUM EXPLOITED IN THE WILD NUCLEI

Apache Druid < 0.22.0 - Incorrect Authorization

Title source: rule

Description

In the Druid ingestion system, the InputSource is used for reading data from a certain data source. However, the HTTP InputSource allows authenticated users to read data from other sources than intended, such as the local file system, with the privileges of the Druid server process. This is not an elevation of privilege when users access Druid directly, since Druid also provides the Local InputSource, which allows the same level of access. But it is problematic when users interact with Druid indirectly through an application that allows users to specify the HTTP InputSource, but not the Local InputSource. In this case, users could bypass the application-level restriction by passing a file URL to the HTTP InputSource. This issue was previously mentioned as being fixed in 0.21.0 as per CVE-2021-26920 but was not fixed in 0.21.0 or 0.21.1.

Exploits (6)

nomisec WORKING POC 173 stars
by sma11new · infoleak
https://github.com/sma11new/PocList
nomisec WORKING POC 33 stars
by BrucessKING · infoleak
https://github.com/BrucessKING/CVE-2021-36749
nomisec SUSPICIOUS 1 stars
by zwlsix · poc
https://github.com/zwlsix/apache_druid_CVE-2021-36749
gitlab WORKING POC
by bybsecs · infoleak
https://gitlab.com/bybsecs/CVE-2021-36749
nomisec WORKING POC
by Jun-5heng · poc
https://github.com/Jun-5heng/CVE-2021-36749

Nuclei Templates (1)

Apache Druid - Local File Inclusion
MEDIUMby _0xf4n9x_

Scores

CVSS v3 6.5
EPSS 0.9384
EPSS Percentile 99.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Details

VulnCheck KEV 2022-03-20
InTheWild.io 2022-05-31
CWE
CWE-863
Status published
Products (2)
apache/druid < 0.22.0
org.apache.druid/druid-core 0 - 0.22.0Maven
Published Sep 24, 2021
Tracked Since Feb 18, 2026