id: CVE-2021-43062 info: name: Fortinet FortiMail 7.0.1 - Cross-Site Scripting author: ajaysenr severity: medium description: A cross-site scripting vulnerability in FortiMail may allow an unauthenticated attacker to perform an attack via specially crafted HTTP GET requests to the FortiGuard URI protection service. remediation: | Apply the latest security patch or upgrade to a non-vulnerable version of Fortinet FortiMail. reference: - https://nvd.nist.gov/vuln/detail/CVE-2021-43062 - https://www.fortiguard.com/psirt/FG-IR-21-185 - https://www.exploit-db.com/exploits/50759 - https://fortiguard.com/advisory/FG-IR-21-185 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-43062 cwe-id: CWE-79 epss-score: 0.00617 epss-percentile: 0.76406 cpe: cpe:2.3:a:fortinet:fortimail:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: fortinet product: fortimail tags: cve,cve2021,fortimail,xss,fortinet,edb http: - method: GET path: - "{{BaseURL}}/fmlurlsvc/?=&url=https%3A%2F%2Fgoogle.com" matchers-condition: and matchers: - type: word part: body words: - "" - "FortiMail Click Protection" condition: and - type: word part: header words: - "text/html" - type: status status: - 200 # digest: 4b0a00483046022100d4bb30513b4b4574525d77665c2b7c52e1919fd141e63842fa8c967da9204b88022100bb539b0fde400953bb1cbac670ee3d15c63d14b3066c250d20f1b02204c3f3f4:922c64590222798bb761d5b6d8e72950