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: 490a00463044022039877c2be24fb2dcf6d78f51aa60cd2a51203372c0f4bf0efa672612209fcef6022038bdb5055e04e5c6a5ee10109ceef2a477188dd842bce4a5d587f05e38ef0ca0:922c64590222798bb761d5b6d8e72950