id: smf-installer

info:
  name: SMF Installer
  author: DhiyaneshDk
  severity: high
  description: SMF is susceptible to the Installation page exposure due to misconfiguration.
  classification:
    cpe: cpe:2.3:a:simplemachines:simple_machine_forum:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: simplemachines
    product: simple_machine_forum
    shodan-query: title:"SMF Installer"
  tags: misconfig,smf,install,exposure

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'SMF Installer'
          - 'Progress'
        condition: and

      - type: word
        part: header
        words:
          - 'text/html'

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