CVE-2024-56497 Command injection in FortiMail
Attackers can execute unauthorized commands via the CLI in FortiMail and FortiRecorder due to improper neutralization of special elements.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-56497?
CVE-2024-56497 is a medium-severity command injection vulnerability in Fortinet FortiMail, published on 14 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An improper neutralization of special elements used in an os command ('os command injection') in Fortinet FortiMail versions 7.2.0 through 7.2.4 and 7.0.0 through 7.0.6 and 6.4.0 through 6.4.7, FortiRecorder versions 7.0.0 and 6.4.0 through 6.4.4 allows attacker to execute unauthorized code or commands via the CLI.
Weakness: CWE-78
Which versions are affected by CVE-2024-56497?
It affects 2 products.
Products include Fortinet Fortimail, Fortinet Fortirecorder.
How do I fix CVE-2024-56497?
No fix has been published for CVE-2024-56497 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-56497 being exploited?
There is no known exploitation of CVE-2024-56497 in the wild and no public exploit code.
Other vulnerabilities in Fortinet FortiMail
Sources
Also known as GHSA-8qhx-f4vg-5h4h.