CVE-2022-29059 SQL injection in FortiWeb
Privileged attackers can execute SQL commands on the log database via crafted parameters in FortiWeb, requiring an upgrade to mitigate.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-29059?
CVE-2022-29059 is a low-severity SQL injection vulnerability in Fortinet Fortiweb, published on 14 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
An improper neutralization of special elements used in an SQL command ('SQL Injection') vulnerability [CWE-89] in FortiWeb version 7.0.1 and below, 6.4.2 and below, 6.3.20 and below, 6.2.7 and below may allow a privileged attacker to execute SQL commands over the log database via specifically crafted strings parameters.
Weakness: CWE-89
Which versions are affected by CVE-2022-29059?
It affects 1 product.
Products include Fortinet Fortiweb.
How do I fix CVE-2022-29059?
No fix has been published for CVE-2022-29059 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-29059 being exploited?
There is no known exploitation of CVE-2022-29059 in the wild and no public exploit code.
Other vulnerabilities in Fortinet Fortiweb
Sources
Also known as GHSA-hh2m-m355-4q3p.