CVE-2021-43062 Cross-site scripting in Fortinet FortiMail
An attacker can execute unauthorized code via crafted HTTP GET requests to the FortiGuard URI protection service in FortiMail.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-43062?
CVE-2021-43062 is a medium-severity cross-site scripting vulnerability in Fortinet FortiMail, published on 2 Feb 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A improper neutralization of input during web page generation ('cross-site scripting') in Fortinet FortiMail version 7.0.1 and 7.0.0, version 6.4.5 and below, version 6.3.7 and below, version 6.0.11 and below allows attacker to execute unauthorized code or commands via crafted HTTP GET requests to the FortiGuard URI protection service.
Weakness: CWE-79
Which versions are affected by CVE-2021-43062?
It affects 1 product.
Products include Fortinet Fortimail.
How do I fix CVE-2021-43062?
No fix has been published for CVE-2021-43062 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-43062 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-43062 exists.
Public exploit code: 1 Exploit-DB entry and 1 Nuclei template.
Other vulnerabilities in Fortinet FortiMail
Sources
Also known as GHSA-6fhp-jhwr-cwgh.