CVE-2023-40716 Command injection in FortiTester

Medium 6.5 Published Updated

Authenticated attackers can execute unauthorized OS commands via crafted arguments in FortiTester backup/restore operations.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-40716?

CVE-2023-40716 is a medium-severity command injection vulnerability in Fortinet FortiTester, published on 13 Dec 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An improper neutralization of special elements used in an OS command vulnerability [CWE-78]  in the command line interpreter of FortiTester 2.3.0 through 7.2.3 may allow an authenticated attacker to execute unauthorized commands via specifically crafted arguments when running execute restore/backup .

Weakness: CWE-78

Which versions are affected by CVE-2023-40716?

It affects 1 product.

Products include Fortinet Fortitester.

How do I fix CVE-2023-40716?

No fix has been published for CVE-2023-40716 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-2023-40716 being exploited?

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

Sources

Also known as GHSA-gv3p-qv63-g8qx.

Is CVE-2023-40716 in your software?

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

Check your SBOMs for free