Apache Druid: The HTTP inputSource allows authenticated users to read data from other sources than intended (incomplete fix of CVE-2021-26920)
CVE-2021-36749
Key Information:
- Vendor
Apache
- Status
- Vendor
- CVE Published:
- 24 September 2021
Badges
Key facts
CVE-2021-36749 is a medium severity (CVSS 6.5) vulnerability in Apache Druid. It is known to be exploited in the wild. 4 public proof-of-concept exploits are available. Its EPSS score is 80.9%, the estimated probability of exploitation in the next 30 days.
- Severity
- 6.5MEDIUM
- CVSS base score
- EPSS
- 80.9%
- Chance of exploitation in 30 days
- Exploited
- In the wild
- Since 24 Aug 2022
- CISA KEV
- Not listed
- Ransomware
- Not observed
What is CVE-2021-36749?
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.
Affected Version(s)
Apache Druid 0.21.1 and earlier <= 0.21.1
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
More Apache Vulnerabilities
Other Apache vulnerabilities we have analysed in depth, newest first.
Key Exchange Vulnerability in Apache Tomcat Products by Apache
Improper Exception Management in Apache Tomcat Affects Multiple Versions
Deserialization Vulnerability in Apache Roller Affects Multiple Versions
Improper Synchronization Vulnerability in Apache HTTP Server's mod_http2
Deserialization Vulnerability in Apache Axis 1.x Allows Remote Code Execution
Path Traversal Vulnerability in Apache Juneau
Remote Code Execution Vulnerability in Apache MINA Codec Module
SQL Injection Vulnerability in Apache Fineract Affecting Specific API Endpoint
EPSS Score
80% chance of being exploited in the next 30 days.
CVSS V3.1
Timeline
- 🟡
Public PoC available
- 👾
Exploit known to exist
Vulnerability published
Vulnerability Reserved