CVE-2022-40679 Command injection in FortiADC
An authenticated attacker can execute unauthorized OS commands on FortiADC and FortiDDoS devices via crafted arguments.
- 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-40679?
CVE-2022-40679 is a high-severity command injection vulnerability in Fortinet FortiADC, published on 11 Apr 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An improper neutralization of special elements used in an OS command vulnerability [CWE-78] in FortiADC 5.x all versions, 6.0 all versions, 6.1 all versions, 6.2.0 through 6.2.4, 7.0.0 through 7.0.3, 7.1.0; FortiDDoS 4.x all versions, 5.0 all versions, 5.1 all versions, 5.2 all versions, 5.3 all versions, 5.4 all versions, 5.5 all versions, 5.6 all versions and FortiDDoS-F 6.4.0, 6.3.0 through 6.3.3, 6.2.0 through 6.2.2, 6.1.0 through 6.1.4 may allow an authenticated attacker to execute unauthorized commands via specifically crafted arguments to existing commands.
Weakness: CWE-78
Which versions are affected by CVE-2022-40679?
It affects 3 products.
Products include Fortinet Fortiadc, Fortinet Fortiddos, Fortinet Fortiddos-F.
How do I fix CVE-2022-40679?
No fix has been published for CVE-2022-40679 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-40679 being exploited?
There is no known exploitation of CVE-2022-40679 in the wild and no public exploit code.
Other vulnerabilities in Fortinet FortiADC
Sources
Also known as GHSA-fjfr-24j5-f8cq.