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,discovery

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