id: testrail-install

info:
  name: TestRail Installation Wizard
  author: DhiyaneshDk
  severity: high
  description: TestRail is susceptible to the Installation page exposure due to misconfiguration.
  classification:
    cpe: cpe:2.3:a:gurock:testrail:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: gurock
    product: testrail
    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: 4a0a00473045022041c1775b2098fe532eef83c689075868b29058606cd89b50c4d61cfb993cf0d2022100b37452b6399c39afc33a9a6f4a663f15928682e5f9534d3da0f1120d22278897:922c64590222798bb761d5b6d8e72950