CVE-2023-42788
Fortinet FortiManager vulnerability analysis and mitigation

Overview

An OS Command Injection vulnerability (CVE-2023-42788) was discovered in FortiManager, FortiAnalyzer & FortiAnalyzer-BigData products. The vulnerability was identified in multiple versions of these products, including versions 6.2.0 through 7.4.0, and was disclosed on October 10, 2023. This security flaw allows a local attacker with low privileges to execute unauthorized code through specifically crafted arguments to a CLI command (Fortiguard PSIRT, NVD).

Technical details

The vulnerability is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command Injection). It received a CVSS v3.1 base score of 7.6 (High) from Fortinet and 6.7 (Medium) from NIST. The vulnerability stems from improper sanitization of parameters in certain diagnose commands that allow administrators to export files to external FTP/SFTP servers. The injection is possible through parameters passed to the underlying tar command, specifically the --checkpoint and --checkpoint-action parameters can be abused to obtain root access (Github Advisory).

Impact

The successful exploitation of this vulnerability allows attackers to spawn an interactive shell on the affected device with root privileges. Since all processes run with root privileges, including scripts and binaries handling user inputs, attackers can gain complete control over the affected system (Github Advisory).

Mitigation and workarounds

Fortinet has released patches for affected versions. Users should upgrade to the following versions: FortiAnalyzer 7.4.1 or above, 7.2.4 or above, 7.0.9 or above, 6.4.13 or above, or 6.2.12 or above. For FortiAnalyzer-BigData, users should upgrade to version 7.2.6 or above, or migrate to a fixed release for versions 7.0, 6.4, and 6.2. FortiManager users should upgrade to versions 7.4.1 or above, 7.2.4 or above, 7.0.9 or above, 6.4.13 or above, or 6.2.12 or above (Fortiguard PSIRT).

Additional resources


SourceThis report was generated using AI

Related Fortinet FortiManager vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-50571HIGH7.2
  • FortiOSFortiOS
  • cpe:2.3:o:fortinet:fortios
NoYesOct 14, 2025
CVE-2024-52964MEDIUM6.5
  • Fortinet FortiManagerFortinet FortiManager
  • cpe:2.3:a:fortinet:fortimanager
NoYesAug 12, 2025
CVE-2024-47569MEDIUM4.3
  • FortiOSFortiOS
  • cpe:2.3:o:fortinet:fortios
NoYesOct 14, 2025
CVE-2024-54020MEDIUM4.3
  • Fortinet FortiManagerFortinet FortiManager
  • cpe:2.3:a:fortinet:fortimanager
NoYesMay 28, 2025
CVE-2025-24474LOW2.7
  • Fortinet FortiManagerFortinet FortiManager
  • cpe:2.3:a:fortinet:fortimanager
NoYesJul 08, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management