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: 4b0a00483046022100810ae67744258cf7a627dc85a03abfeb0ffc3e4ce786bce4fa889fe2fa75a42b022100918ac02b692375b28681566f77fe452f1b498c48dcbef1d5cc4eff40d8b72b03:922c64590222798bb761d5b6d8e72950