OS Command Injection in FortiDDoS and FortiADC - CVE-2022-40679
Published: April 11, 2023
Vulnerability identifier: #VU74990
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-40679
CWE-ID: CWE-78
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation within the log & report module. A local user can pass specially crafted arguments to existing commands and execute arbitrary OS commands on the target system.
Affected software
FortiDDoS
FortiADC
FortiADC
How to mitigate CVE-2022-40679
Install updates from vendor's website.
FortiDDoS - addressed in versions 6.1.5, 6.2.3, 6.3.4, 6.4.1
FortiADC - addressed in versions 6.2.5, 7.0.4, 7.1.1
FortiADC - addressed in versions 6.2.5, 7.0.4, 7.1.1