CVE-2022-30303 Command injection in FortiWeb

High 8.6 Published Updated

Authenticated attackers can execute arbitrary shell code as root via crafted HTTP requests in FortiWeb, requiring an upgrade to mitigate.

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

What is CVE-2022-30303?

CVE-2022-30303 is a high-severity command injection vulnerability in Fortinet Fortiweb, published on 16 Feb 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An improper neutralization of special elements used in an os command ('OS Command Injection') [CWE-78] in FortiWeb 7.0.0 through 7.0.1, 6.3.0 through 6.3.19, 6.4 all versions may allow an authenticated attacker to execute arbitrary shell code as `root` user via crafted HTTP requests.

Weakness: CWE-78

Which versions are affected by CVE-2022-30303?

It affects 1 product.

Products include Fortinet Fortiweb.

How do I fix CVE-2022-30303?

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

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

All Fortinet Fortiweb vulnerabilities

Sources

Also known as GHSA-52ch-ghxv-66qc.

Is CVE-2022-30303 in your software?

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

Check your SBOMs for free