id: labtech-panel

info:
  name: LabTech Web Portal Login Panel - Detect
  author: deFr0ggy
  severity: info
  description: LabTech Web Portal 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:labtech_software:labtech:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: labtech_software
    product: labtech
  tags: panel,labtech,labtech_software,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/WCC2/"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<li>LabTech</li>"
          - '<form action="/WCC2/Search/search" id="searchForm method="post">'
          - "<h1> Welcome to the LabTech Web Portal</h1>"
          - "Universal Agent Uninstaller"
          - "Technician Login"
          - '<form action="/WCC2/Home/Login" autocomplete="off" method="post">'
        part: body
        condition: or

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