id: zoneminder-system-log

info:
  name: ZoneMinder System Log - Detect
  author: pussycat0x
  severity: low
  description: |
    ZoneMinder system log file exposed.
  reference:
    - https://www.exploit-db.com/ghdb/6926
  classification:
    cpe: cpe:2.3:a:zoneminder:zoneminder:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
  tags: logs,zoneminder,exposure,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/?view=log"
      - "{{BaseURL}}/zm/?view=log"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<title>ZM - System Log</title>"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100a0adbc42b2957f22f72c7f38eb2bdf2420e9426274847274d332bc484ced6eb00220526daaa34dbcaf106217c63cd939de0290537ba5954156c20c392ef2ba80a013:922c64590222798bb761d5b6d8e72950