CVE-2022-26120 SQL injection in Fortinet FortiADC

Medium 5.4 Published Updated

Authenticated attackers can execute unauthorized code via SQL injection in the FortiADC management interface.

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

CVE-2022-26120 is a medium-severity SQL injection vulnerability in Fortinet FortiADC, published on 18 Jul 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Multiple improper neutralization of special elements used in an SQL Command ('SQL Injection') vulnerabilities [CWE-89] in FortiADC management interface 7.0.0 through 7.0.1, 5.0.0 through 6.2.2 may allow an authenticated attacker to execute unauthorized code or commands via specifically crafted HTTP requests.

Weakness: CWE-89

Which versions are affected by CVE-2022-26120?

It affects 1 product.

Products include Fortinet Fortiadc.

How do I fix CVE-2022-26120?

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

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

Sources

Also known as GHSA-r9jw-vjf4-w774.

Is CVE-2022-26120 in your software?

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

Check your SBOMs for free