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

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: 4b0a00483046022100f7ebc594cca6ab816f1d794630efee3dd8ed5a18a642045afca922c70d4fbf210221008ae47e56d7244a8009d8eefc5789552a633718736909949775c705607ec1f4c9:922c64590222798bb761d5b6d8e72950