CVE-2024-56497: Fortinet FortiMail & FortiRecorder - Command Injection
- Cve: CVE-2024-56497
- Name: Fortinet FortiMail & FortiRecorder - Command Injection
- 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.
- Impact: Attackers can execute arbitrary commands on the system, potentially leading to full system compromise.
- Remediation: Update to the latest available versions of FortiMail and FortiRecorder.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs CLI access
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.7
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00585
- Epss percentile: 0.48652
- Assignee: [email protected]
- Published at: 2025-01-14T14:15:34Z
- Age in days: 679
- Modified at: 2026-06-17T08:12:15Z
- Patch available: yes
- References total: 1
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-56497
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
References
| Url | Source | Tags |
|---|---|---|
| https://fortiguard.fortinet.com/psirt/FG-IR-23-170 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| fortinet:fortimail | >= 7.2.0, < 7.2.5; >= 7.0.0, < 7.0.7; >= 6.4.0, < 6.4.8 | no | nvd | /v1/products/fortinet/fortimail |
| fortinet:fortirecorder | >= 7.0.0, < 7.0.2; >= 6.4.0, < 6.4.5 | no | nvd | /v1/products/fortinet/fortirecorder |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 1005
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports