CVE-2022-35845 Command injection in FortiTester

High 7.6 Published Updated

An authenticated attacker can execute arbitrary shell commands on FortiTester due to improper neutralization of special elements.

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-2022-35845?

CVE-2022-35845 is a high-severity command injection vulnerability in Fortinet FortiTester, published on 3 Jan 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Multiple improper neutralization of special elements used in an OS Command ('OS Command Injection') vulnerabilities [CWE-78] in FortiTester 7.1.0, 7.0 all versions, 4.0.0 through 4.2.0, 2.3.0 through 3.9.1 may allow an authenticated attacker to execute arbitrary commands in the underlying shell.

Weakness: CWE-78

Which versions are affected by CVE-2022-35845?

It affects 1 product.

Products include Fortinet Fortitester.

How do I fix CVE-2022-35845?

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

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

Sources

Also known as GHSA-h5mf-c7gh-2f5g.

Is CVE-2022-35845 in your software?

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

Check your SBOMs for free