id: openfire-setup

info:
  name: Openfire Setup - Exposure
  author: DhiyaneshDk
  severity: high
  description: |
    Checks for the presence of a Openfire Setup Page.
  classification:
    cpe: cpe:2.3:a:igniterealtime:openfire:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: igniterealtime
    product: openfire
    shodan-query: html:"Welcome to Openfire Setup"
  tags: install,openfire,exposure,misconfig

http:
  - method: GET
    path:
      - "{{BaseURL}}/setup/index.jsp"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Welcome to Openfire Setup"

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