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:
    verified: true
    max-request: 1
    vendor: icewarp
    product: icewarp_server
    shodan-query:
      - title:"icewarp"
      - http.title:"icewarp"
    fofa-query: title="icewarp"
    google-query: intitle:"icewarp"
  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: 4a0a00473045022052c333e1c5afc089c4b50b497550b41c63d76fd7d1f98a6836114ab47a727978022100ffe8524a81ea5517a82add0370ba38e8555dc6e12f13a7ddffebabf28daabec1:922c64590222798bb761d5b6d8e72950