CVE-2022-27485 SQL injection in FortiSandbox

Medium 6.2 Published Updated

Authenticated attackers can exploit SQL injection to read arbitrary files from the underlying Linux system in FortiSandbox.

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-27485?

CVE-2022-27485 is a medium-severity SQL injection vulnerability in Fortinet Fortisandbox, published on 11 Apr 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A improper neutralization of special elements used in an sql command ('sql injection') vulnerability [CWE-89] in Fortinet FortiSandbox version 4.2.0, 4.0.0 through 4.0.2, 3.2.0 through 3.2.3, 3.1.x and 3.0.x allows a remote and authenticated attacker with read permission to retrieve arbitrary files from the underlying Linux system via a crafted HTTP request.

Weakness: CWE-89

Which versions are affected by CVE-2022-27485?

It affects 1 product.

Products include Fortinet Fortisandbox.

How do I fix CVE-2022-27485?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2022-27485 being exploited?

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

All Fortinet Fortisandbox vulnerabilities

Sources

Also known as GHSA-2vhr-q545-p6f9.

Is CVE-2022-27485 in your software?

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

Check your SBOMs for free