id: processwire-installer

info:
  name: ProcessWire 3.x Installer Exposure
  author: pussycat0x
  severity: high
  description: ProcessWire 3.x is susceptible to the Installation page exposure due to misconfiguration.
  classification:
    cpe: cpe:2.3:a:processwire:processwire:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: processwire
    product: processwire
    shodan-query: title:"ProcessWire 3.x Installer"
  tags: misconfig,processwire,install,exposure

http:
  - method: GET
    path:
      - '{{BaseURL}}'
      - '{{BaseURL}}/install.php'

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>ProcessWire 3.x Installer'

      - type: status
        status:
          - 200
# digest: 490a00463044022034ab9d6f66f9cefd69c3169ad115d16f94e587a20027caacb8f25a7a1c4d1c380220743201f20b224ce13b3970ef57d48e0ab8a377c1e99f30813d4251c6b599ab7a:922c64590222798bb761d5b6d8e72950