id: testrail-install

info:
  name: TestRail Installation Wizard
  author: DhiyaneshDk
  severity: high
  description: TestRail is susceptible to the Installation page exposure due to misconfiguration.
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"TestRail Installation Wizard"
  tags: misconfig,testrail,install,exposure

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?/installer"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "TestRail Installation Wizard"

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