id: filestash-admin-config

info:
  name: Filestash Admin Password Configuration
  author: DhiyaneshDK
  severity: high
  description: |
    Filestash is susceptible to the Admin Password Configuration 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:"<title>Admin Console</title>"
  tags: exposure,filestash,config

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: 4a0a00473045022100d6901bee39db28a802060c291250501ce1fbf0cebf84e667463f89409c4986050220539eb8c00820d30f06baecd612fa970a581281e91b05338340f4cccd8039cb92:922c64590222798bb761d5b6d8e72950