FortiManager and FortiAnalyzer
CVE-2024-40584: OS command injection in FortiAnalyzer, FortiManager
An improper neutralization of special elements used in an OS command ('OS Command Injection') vulnerability [CWE-78] in Fortinet FortiAnalyzer version 7.4.0 through 7.4.3, 7.2.0 through 7.2.5, 7.0.0 through 7.0.13, 6.4.0 through 6.4.15 and 6.2.2 through 6.2.13, Fortinet FortiManager version 7.4.0 through 7.4.3, 7.2.0 through 7.2.5, 7.0.0 through 7.0.13, 6.4.0 through 6.4.15 and 6.2.2 through 6.2.13, Fortinet FortiAnalyzer BigData version 7.4.0, 7.2.0 through 7.2.7, 7.0.1 through 7.0.6, 6.4.5 through 6.4.7 and 6.2.5, Fortinet FortiAnalyzer Cloud version 7.4.1 through 7.4.3, 7.2.1 through 7.2.5, 7.0.1 through 7.0.13 and 6.4.1 through 6.4.7 and Fortinet FortiManager Cloud version 7.4.1 through 7.4.3, 7.2.1 through 7.2.5, 7.0.1 through 7.0.13 and 6.4.1 through 6.4.7 GUI allows an authenticated privileged attacker to execute unauthorized code or commands via crafted HTTPS or HTTP requests.
Published Fortinet advisory FG-IR-24-220
Automatic summary from the vendor's CVE record. We haven't written a full analysis of this vulnerability yet.
Affected and fixed versions
| Product / branch | Fixed in |
|---|---|
| FortiAnalyzer 7.4.0 to 7.4.3 | 7.4.4 or later |
| FortiAnalyzer 7.2.0 to 7.2.5 | 7.2.6 or later |
| FortiAnalyzer 7.0.0 to 7.0.13 | Upgrade past 7.0.13; see the advisory |
| FortiAnalyzer 6.4.0 to 6.4.15 | Upgrade past 6.4.15; see the advisory |
| FortiAnalyzer 6.2.2 to 6.2.13 | Upgrade past 6.2.13; see the advisory |
| FortiManager 7.4.0 to 7.4.3 | 7.4.4 or later |
| FortiManager 7.2.0 to 7.2.5 | 7.2.6 or later |
| FortiManager 7.0.0 to 7.0.13 | Upgrade past 7.0.13; see the advisory |
| FortiManager 6.4.0 to 6.4.15 | Upgrade past 6.4.15; see the advisory |
| FortiManager 6.2.2 to 6.2.13 | Upgrade past 6.2.13; see the advisory |
Always confirm against the vendor advisory, which lists every fixed hotfix.
What it is
An improper neutralization of special elements used in an OS command ('OS Command Injection') vulnerability [CWE-78] in Fortinet FortiAnalyzer version 7.4.0 through 7.4.3, 7.2.0 through 7.2.5, 7.0.0 through 7.0.13, 6.4.0 through 6.4.15 and 6.2.2 through 6.2.13, Fortinet FortiManager version 7.4.0 through 7.4.3, 7.2.0 through 7.2.5, 7.0.0 through 7.0.13, 6.4.0 through 6.4.15 and 6.2.2 through 6.2.13, Fortinet FortiAnalyzer BigData version 7.4.0, 7.2.0 through 7.2.7, 7.0.1 through 7.0.6, 6.4.5 through 6.4.7 and 6.2.5, Fortinet FortiAnalyzer Cloud version 7.4.1 through 7.4.3, 7.2.1 through 7.2.5, 7.0.1 through 7.0.13 and 6.4.1 through 6.4.7 and Fortinet FortiManager Cloud version 7.4.1 through 7.4.3, 7.2.1 through 7.2.5, 7.0.1 through 7.0.13 and 6.4.1 through 6.4.7 GUI allows an authenticated privileged attacker to execute unauthorized code or commands via crafted HTTPS or HTTP requests.
Sources
Spotted a mistake on this page? Tell us, and we'll fix it.
KEV status, EPSS score and vendor data refreshed automatically, last on 24 Nov 2026.