id: clockwork-dashboard-exposure

info:
  name: Clockwork Dashboard Exposure
  author: dhiyaneshDk
  severity: high
  description: Clockwork Dashboard is exposed.
  reference:
    - https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/clockwork-dashboard-exposure.json
  metadata:
    max-request: 1
  tags: exposure,unauth,misconfig

http:
  - method: GET
    path:
      - "{{BaseURL}}/__clockwork/latest"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '"id":'
          - '"version":'
          - '"method":'
          - '"url":'
          - '"time":'
        part: body
        condition: and

      - type: word
        words:
          - "application/json"
        part: header
# digest: 4b0a00483046022100cb37bb923907d18f6dd11b702769cb7840ae0bcc0af777467833bd813849e597022100867c28524dfb268bcfc5fe521c88e3f89965e86403c6c764c4be8408e5271328:922c64590222798bb761d5b6d8e72950