id: monitorix-exposure

info:
  name: Monitorix Panel - Detect
  author: geeknik
  severity: info
  description: Monitorix panel was detected.
  reference:
    - https://www.monitorix.org/
  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
  metadata:
    max-request: 1
  tags: monitorix,exposure,logs,panel

http:
  - method: GET
    path:
      - "{{BaseURL}}/monitorix-cgi/monitorix.cgi?mode=localhost&graph=all&when=1day"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<!-- graph table begins -->"
          - "Global kernel usage</b>"
          - "Kernel usage per processor</b>"
          - "<!-- graph table ends -->"
          - "1day.png'"
        condition: and

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