HexBrain

Browse / CVEs / CVE-2021-36580

CVE-2021-36580· icewarp / icewarp server· CWE-601

IceWarp Mail Server - Open Redirect

mediumseverity
6.1CVSS score
1.6%likelihood of exploitation, next 30 days
76%of all CVEs are less likely
Readycheck to confirm it

IceWarp Mail Server contains an open redirect via the referer parameter. This can lead to phishing attacks or other unintended redirects.

Impact

An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the theft of sensitive information.

Fix

Apply the latest security patches or updates provided by IceWarp to fix the open redirect vulnerability.

How to confirm it

Send: GET {{BaseURL}}/webmail/basic/?referer=https://interact.sh&_c=auth&ctz=120&signup_password=&_a%5bsignup%5d=1
Positive when: matches in header /(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*…/

Run it with nuclei: nuclei -id CVE-2021-36580 -u <target>

The full check
id: CVE-2021-36580

info:
  name: IceWarp Mail Server - Open Redirect
  author: DhiyaneshDk
  severity: medium
  description: |
    IceWarp Mail Server contains an open redirect via the referer parameter. This can lead to phishing attacks or other unintended redirects.
  impact: |
    An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the theft of sensitive information.
  remediation: |
    Apply the latest security patches or updates provided by IceWarp to fix the open redirect vulnerability.
  reference:
    - https://www.icewarp.com/
    - https://twitter.com/shifacyclewala/status/1443298941311668227
    - http://icewarp.com
    - http://mail.ziyan.com
    - https://medium.com/%40rohitgautam26/cve-2021-36580-69219798231c
  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-2021-36580
    cwe-id: CWE-601
    epss-score: 0.01588
    epss-percentile: 0.75821
    cpe: cpe:2.3:a:icewarp:icewarp_server:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: icewarp
    product: icewarp_server
    shodan-query:
      - title:"icewarp"
      - http.title:"icewarp"
    fofa-query: title="icewarp"
    google-query: intitle:"icewarp"
  tags: cve2021,cve,icewarp,redirect,vuln,vkev

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

References

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