id: zoneminder-login

info:
  name: ZoneMinder Login Panel - Detect
  author: princechaddha
  severity: info
  description: ZoneMinder panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:zoneminder:zoneminder:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: zoneminder
    product: zoneminder
    shodan-query: http.html:"zm - login"
    fofa-query: body="zm - login"
  tags: panel,zoneminder,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>ZM - Login</title>"

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