id: CVE-2021-36580 info: name: IceWarp Mail Server - Open Redirect author: DhiyaneshDk description: | IceWarp Mail Server contains an open redirect via the referer parameter. This can lead to phishing attacks or other unintended redirects. severity: medium reference: - https://www.icewarp.com/ - https://twitter.com/shifacyclewala/status/1443298941311668227 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 cwe-id: CWE-601 cve-id: CVE-2021-36580 metadata: max-request: 1 verified: true shodan-query: title:"icewarp" tags: cve,cve2021,icewarp,redirect http: - method: GET path: - "{{BaseURL}}/webmail/basic/?referer=https://interact.sh&_c=auth&ctz=120&signup_password=&_a%5bsignup%5d=1" matchers: - type: regex part: header regex: - '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/L403F0/1