OS command injection in Fortinet FortiDDoS
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Fortinet | FortiDDoS | 5.6.0 – 5.6.1; 5.5.0 – 5.5.1; 5.4.0 – 5.4.2; 5.3.0 – 5.3.1; 5.2.0; 5.1.0; 5.0.0; 4.7.0; 4.6.0; 4.5.0; 4.4.0 – 4.4.2; 4.3.0 – 4.3.2; 4.2.1 – 4.2.2; 4.1.1 – 4.1.12; 4.0.0 – 4.0.1 | — | No fix listed | CNA |
| Fortinet | FortiDDoS-F | 6.4.0; 6.3.0 – 6.3.3; 6.2.0 – 6.2.2; 6.1.0 – 6.1.4 | — | No fix listed | CNA |
| Fortinet | FortiADC | 7.1.0; 7.0.0 – 7.0.3; 6.2.0 – 6.2.4; 6.1.0 – 6.1.6; 6.0.0 – 6.0.4; 5.4.0 – 5.4.5; 5.3.0 – 5.3.7; 5.2.0 – 5.2.8; 5.1.0 – 5.1.7; 5.0.0 – 5.0.4 | — | No fix listed | CNA |
- FortiDDoS VendorFortinet Affected 5.6.0 – 5.6.1; 5.5.0 – 5.5.1; 5.4.0 – 5.4.2; 5.3.0 – 5.3.1; 5.2.0; 5.1.0; 5.0.0; 4.7.0; 4.6.0; 4.5.0; 4.4.0 – 4.4.2; 4.3.0 – 4.3.2; 4.2.1 – 4.2.2; 4.1.1 – 4.1.12; 4.0.0 – 4.0.1 Fixed in — No fix listed CNA
- FortiDDoS-F VendorFortinet Affected 6.4.0; 6.3.0 – 6.3.3; 6.2.0 – 6.2.2; 6.1.0 – 6.1.4 Fixed in — No fix listed CNA
- FortiADC VendorFortinet Affected 7.1.0; 7.0.0 – 7.0.3; 6.2.0 – 6.2.4; 6.1.0 – 6.1.6; 6.0.0 – 6.0.4; 5.4.0 – 5.4.5; 5.3.0 – 5.3.7; 5.2.0 – 5.2.8; 5.1.0 – 5.1.7; 5.0.0 – 5.0.4 Fixed in — No fix listed CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:fortinet:fortiadc:*:*:*:*:*:*:*:* | 5.0.0 to before 6.2.5 | Vulnerable | Fortinet |
| cpe:2.3:a:fortinet:fortiddos:*:*:*:*:*:*:*:* | 4.0.0 to before 5.7.0 | Vulnerable | Fortinet |
| cpe:2.3:a:fortinet:fortiddos-f:*:*:*:*:*:*:*:* | 6.1.0 to before 6.1.5; 6.2.0 to before 6.2.3; 6.3.0 to before 6.3.4 | Vulnerable | Fortinet |
| cpe:2.3:a:fortinet:fortiddos-f:6.4.0:*:*:*:*:*:*:* | 6.4.0 | Vulnerable | Fortinet |
- cpe:2.3:a:fortinet:fortiadc:*:*:*:*:*:*:*:* Versions 5.0.0 to before 6.2.5 Vulnerable ·Fortinet
- cpe:2.3:a:fortinet:fortiddos:*:*:*:*:*:*:*:* Versions 4.0.0 to before 5.7.0 Vulnerable ·Fortinet
- cpe:2.3:a:fortinet:fortiddos-f:*:*:*:*:*:*:*:* Versions 6.1.0 to before 6.1.5; 6.2.0 to before 6.2.3; 6.3.0 to before 6.3.4 Vulnerable ·Fortinet
- cpe:2.3:a:fortinet:fortiddos-f:6.4.0:*:*:*:*:*:*:* Versions 6.4.0 Vulnerable ·Fortinet
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2022-40679
- 2026-10-03 Alias added: GHSA-fjfr-24j5-f8cq
References
More Fortinet Fortiadc vulnerabilities
- TI-2018-09612 Incorrect permission assignment in Fortinet FortiOS, fortiADC KEVCVSS 3.1MEDIUM 4.3
- TI-2022-18008 An improper handling of malformed request vulnerability [CWE-228] exists in FortiADC 5.0… CVSS 3.1CRITICAL 9.8
- TI-2023-10904 A permissive cross-domain policy with untrusted domains vulnerability in Fortinet… CVSS 3.1CRITICAL 9.1
- TI-2022-18913 OS command injection in Fortinet FortiADC CVSS 3.1HIGH 8.8
- TI-2022-18001 Cross-site scripting in Fortinet FortiADC CVSS 3.1HIGH 8.8
- TI-2023-11386 Improper access control in Fortinet FortiADC CVSS 3.1HIGH 8.8
Sources
- CVE-2022-40679 · CVE Program
- CVE-2022-40679 · NVD
- FIRST EPSS
- GHSA-fjfr-24j5-f8cq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences