CVE-2024-40584 Command injection in FortiAnalyzer
Authenticated privileged attackers can execute unauthorized commands via crafted HTTP requests in Fortinet FortiAnalyzer and FortiManager.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-40584?
CVE-2024-40584 is a medium-severity command injection vulnerability in Fortinet Fortianalyzer, published on 11 Feb 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
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.
Weakness: CWE-78
Which versions are affected by CVE-2024-40584?
It affects 5 products.
Products include Fortinet Fortianalyzer, Fortinet Fortianalyzer Big Data, Fortinet Fortianalyzer Cloud, Fortinet Fortimanager, Fortinet Fortimanager Cloud.
How do I fix CVE-2024-40584?
No fix has been published for CVE-2024-40584 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-2024-40584 being exploited?
There is no known exploitation of CVE-2024-40584 in the wild and no public exploit code.
Other vulnerabilities in Fortinet Fortianalyzer
- CVE-2026-24858 Fortinet Multiple Products Authentication Bypass Using an Alternate Path or Channel
- CVE-2023-25610 Memory corruption in FortiAnalyzer
- CVE-2021-32603 Server-side request forgery in Fortinet FortiAnalyzer, FortiManager
- CVE-2020-12817 Cross-site scripting in Fortinet FortiAnalyzer
- CVE-2024-48886 Auth bypass in FortiOS
Sources
Also known as GHSA-x763-rwjp-4g28.