id: nagvis-panel

info:
  name: NagVis Login Panel - Detect
  author: ritikchaddha
  severity: info
  description: NagVis login 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:nagvis:nagvis:*:*:*:*:nagios_xi:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: nagvis
    product: nagvis
    shodan-query:
      - http.html:"NagVis"
      - http.html:"nagvis"
    fofa-query: body="nagvis"
  tags: panel,nagvis

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/nagvis/frontend/nagvis-js/index.php"

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "/nagvis/userfiles"
          - "<title>NagVis"
        condition: or

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