id: ems-webclient-panel

info:
  name: EMS Web Client Login Panel - Detect
  author: pussycat0x,daffainfo
  severity: info
  description: EMS Web Client 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:ems_project:ems:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    google-query: inurl:EMSWebClient/
    product: ems
    vendor: ems_project
  tags: panel,ems

http:
  - method: GET
    path:
      - "{{BaseURL}}/emswebclient/Login.aspx"
      - "{{BaseURL}}/Login.aspx"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "EMS Web Client - Login"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'Web Client Version (.*)</span>'
# digest: 4b0a00483046022100c825f31fe027c7f86348b34053e5190d868cd6f15455832f57460a0162de879f0221009b658e7b660db65e7a5980caca9b0bf138a4a36dfa5c14d25c438fa0f282c52d:922c64590222798bb761d5b6d8e72950