id: osticket-panel

info:
  name: osTicket Login Panel - Detect
  author: ritikchaddha
  severity: info
  description: osTicket login panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:osticket:osticket:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    product: osticket
    shodan-query: http.html:"powered by osTicket"
    vendor: osticket
    verified: true
  tags: panel,osticket

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/login.php"

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'powered by osTicket'
          - 'content="osTicket'
        condition: or

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