id: opennms-web-console

info:
  name: OpenNMS Web Console Login Panel - Detect
  author: DhiyaneshDk
  severity: info
  description: OpenNMS Web Console login panel was detected.
  reference:
    - https://www.exploit-db.com/ghdb/5468
  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:opennms:opennms:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: opennms
    product: opennms
  tags: panel,login,edb,opennms

http:
  - method: GET
    path:
      - "{{BaseURL}}/opennms/login.jsp"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "OpenNMS Web Console"
        part: body

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