id: blesta-installer

info:
  name: Blesta Installer Exposure
  author: DhiyaneshDk
  severity: high
  description: Blesta is susceptible to the Installation page exposure due to misconfiguration.
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"Blesta installer"
  tags: misconfig,blesta,install,exposure

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Blesta Installer'
          - 'Install via Web Browser'
        condition: and

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

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