Fortinet Forti* formatstring flaw (7.4.07.4.1/7.2.6) allows RCE
CVE-2023-40721 Published on February 11, 2025
A use of externally-controlled format string vulnerability [CWE-134] in Fortinet FortiOS version 7.4.0 through 7.4.1 and before 7.2.6, FortiProxy version 7.4.0 and before 7.2.7, FortiPAM version 1.1.2 and before 1.0.3, FortiSwitchManager version 7.2.0 through 7.2.2 and before 7.0.2 allows a privileged attacker to execute arbitrary code or commands via specially crafted requests.
Vulnerability Analysis
CVE-2023-40721 can be exploited with local system access, and requires user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Type
Use of Externally-Controlled Format String
The software uses a function that accepts a format string as an argument, but the format string originates from an external source.
Products Associated with CVE-2023-40721
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2023-40721 are published in these products:
Affected Versions
Fortinet FortiOS:- Version 7.4.0 is affected.
- Version 7.2.0, <= 7.2.5 is affected.
- Version 7.0.0, <= 7.0.13 is affected.
- Version 6.4.0, <= 6.4.15 is affected.
- Version 6.2.0, <= 6.2.16 is affected.
- Version 7.2.0, <= 7.2.2 is affected.
- Version 7.0.0, <= 7.0.2 is affected.
- Version 7.4.0 is affected.
- Version 7.2.0, <= 7.2.6 is affected.
- Version 7.0.0, <= 7.0.14 is affected.
- Version 2.0.0, <= 2.0.14 is affected.
- Version 1.2.0, <= 1.2.13 is affected.
- Version 1.1.0, <= 1.1.2 is affected.
- Version 1.0.0, <= 1.0.3 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.