id: osticket-install

info:
  name: osTicket Installer Panel - Detect
  author: ritikchaddha
  severity: critical
  description: osTicket installer panel was detected.
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
    cvss-score: 9.4
    cwe-id: CWE-284
    cpe: cpe:2.3:a:osticket:osticket:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    product: osticket
    shodan-query: http.title:"osTicket Installer"
    vendor: osticket
    verified: true
  tags: panel,osticket,install

http:
  - method: GET
    path:
      - "{{BaseURL}}/upload/setup/install.php"
      - "{{BaseURL}}/setup/install.php"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>osTicket Installer'

      - type: word
        part: body
        words:
          - 'already installed'
        negative: true

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