id: filestash-installer

info:
  name: Filestash - Installer Exposure
  author: DhiyaneshDk
  severity: high
  description: |
    FreeScout is susceptible to the Installation page exposure due to misconfiguration.
  classification:
    cpe: cpe:2.3:a:filestash:filestash:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: filestash
    product: filestash
    shodan-query: html:"Admin Console" html:"component-loader"
  tags: misconfig,exposure,install,filestash,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/admin/setup"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>Admin Console</title>"
          - "component-loader"
        condition: and

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