id: processwire-installer

info:
  name: ProcessWire 3.x Installer Exposure
  author: pussycat0x
  severity: unknown
  description: ProcessWire 3.x is susceptible to the Installation page exposure due to misconfiguration.
  metadata:
    verified: true
    max-request: 2
    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: 4a0a00473045022100c9040333d464ee74f38bb8f6bf7f9ebce6d974486b7350ee3cad1e01ac28f9d702205d65792631cf1873f7669e346c45e7bc7e29e2ded46d3f11fe0847a25cac5801:922c64590222798bb761d5b6d8e72950