CVE-2021-44171 Command injection in Fortinet FortiOS

Critical 9.0 Published Updated

Attackers can execute privileged commands on linked FortiSwitch devices via diagnostic CLI commands in FortiOS.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-44171?

CVE-2021-44171 is a critical command injection vulnerability in Fortinet Fortios, published on 10 Oct 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A improper neutralization of special elements used in an os command ('os command injection') in Fortinet FortiOS version 6.0.0 through 6.0.14, FortiOS version 6.2.0 through 6.2.10, FortiOS version 6.4.0 through 6.4.8, FortiOS version 7.0.0 through 7.0.3 allows attacker to execute privileged commands on a linked FortiSwitch via diagnostic CLI commands.

Weakness: CWE-78

Which versions are affected by CVE-2021-44171?

It affects 1 product.

Products include Fortinet Fortios.

How do I fix CVE-2021-44171?

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

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2021-44171 being exploited?

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

All Fortinet Fortios vulnerabilities

Sources

Also known as GHSA-gm85-v466-h9x4.

Is CVE-2021-44171 in your software?

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

Check your SBOMs for free