CVE-2021-32586 Code injection in Fortinet FortiMail

High 7.7 Published Updated

Unauthenticated attackers can execute arbitrary code by altering the script interpreter environment via crafted HTTP requests to the web server CGI facilities.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-32586?

CVE-2021-32586 is a high-severity code injection vulnerability in Fortinet FortiMail, published on 1 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An improper input validation vulnerability in the web server CGI facilities of FortiMail before 7.0.1 may allow an unauthenticated attacker to alter the environment of the underlying script interpreter via specifically crafted HTTP requests.

Weakness: CWE-20

Which versions are affected by CVE-2021-32586?

It affects 1 product.

Products include Fortinet Fortimail.

How do I fix CVE-2021-32586?

No fix has been published for CVE-2021-32586 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2021-32586 being exploited?

There is no known exploitation of CVE-2021-32586 in the wild and no public exploit code.

Sources

Also known as GHSA-rmxw-r4jv-r5xm.

Is CVE-2021-32586 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free