FortiADC OS Command Injection via Unsanitized Args (CVE-2022-40679)
CVE-2022-40679 Published on April 11, 2023
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.
Vulnerability Analysis
CVE-2022-40679 can be exploited with local system access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Type
What is a Shell injection Vulnerability?
The software constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
CVE-2022-40679 has been classified to as a Shell injection vulnerability or weakness.
Products Associated with CVE-2022-40679
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2022-40679 are published in these products:
Affected Versions
Fortinet FortiDDoS:- Version 5.6.0, <= 5.6.1 is affected.
- Version 5.5.0, <= 5.5.1 is affected.
- Version 5.4.0, <= 5.4.2 is affected.
- Version 5.3.0, <= 5.3.1 is affected.
- Version 5.2.0 is affected.
- Version 5.1.0 is affected.
- Version 5.0.0 is affected.
- Version 4.7.0 is affected.
- Version 4.6.0 is affected.
- Version 4.5.0 is affected.
- Version 4.4.0, <= 4.4.2 is affected.
- Version 4.3.0, <= 4.3.2 is affected.
- Version 4.2.1, <= 4.2.2 is affected.
- Version 4.1.1, <= 4.1.12 is affected.
- Version 4.0.0, <= 4.0.1 is affected.
- Version 6.4.0 is affected.
- Version 6.3.0, <= 6.3.3 is affected.
- Version 6.2.0, <= 6.2.2 is affected.
- Version 6.1.0, <= 6.1.4 is affected.
- Version 7.1.0 is affected.
- Version 7.0.0, <= 7.0.3 is affected.
- Version 6.2.0, <= 6.2.4 is affected.
- Version 6.1.0, <= 6.1.6 is affected.
- Version 6.0.0, <= 6.0.4 is affected.
- Version 5.4.0, <= 5.4.5 is affected.
- Version 5.3.0, <= 5.3.7 is affected.
- Version 5.2.0, <= 5.2.8 is affected.
- Version 5.1.0, <= 5.1.7 is affected.
- Version 5.0.0, <= 5.0.4 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.