id: tracer-sc-login

info:
  name: Tracer SC Login Panel - Detect
  author: geeknik
  severity: info
  description: Tracer SC login panel was detected.
  reference:
    - https://www.trane.com/commercial/north-america/us/en/products-systems/building-management---automation/building-automation-systems/tracer-sc-plus.html
  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:h:trane:tracer_sc:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: tracer_sc
    vendor: trane
  tags: tracer,trane,iot,panel,login

http:
  - method: GET
    path:
      - "{{BaseURL}}/hui/index.html"

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        words:
          - "<title>Tracer SC</title>"

      - type: word
        part: header
        words:
          - "text/html"
# digest: 4b0a00483046022100aa2f0c9a411942d36b99ff3d002500a964b76f2f4077757f53430bb50c0e5bb30221008a3cb08f4cb2e11fbb2f8bba05119a92b266c96caa2a2b43f78129184a46b8b9:922c64590222798bb761d5b6d8e72950