id: icewarp-panel-detect

info:
  name: IceWarp Login Panel - Detect
  author: ritikchaddha
  severity: info
  description: IceWarp 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:icewarp:icewarp_server:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: icewarp_server
    shodan-query: title:"icewarp"
    vendor: icewarp
    verified: true
  tags: icewarp,panel

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

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - 'IceWarp'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: header
        group: 1
        regex:
          - 'Server: (.{4,20})'
# digest: 4a0a00473045022100ec5a6b93898bdfca2c7314cab139b1422cea62b52871fe612078d5445cd8280002202955868a41b30831c12ce6c4760d8fccd2f502007a2a688e7b8b27eaa658e7c7:922c64590222798bb761d5b6d8e72950