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
    vendor: trane
    product: tracer_sc
  tags: tracer,trane,iot,panel,login,discovery

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: 490a0046304402207f16c446b2c409e2335fa046e0c7787bef64b44d73e9291a65050c9b4c680ff602205000f4f769e3ec530a22f6141b30d1b31b461bc06a310e74cb3c6710d7c4264b:922c64590222798bb761d5b6d8e72950