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

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