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,vuln

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