CVE-2023-40721: FortiOS / FortiProxy / FortiPAM / FortiSwitchManager - Format string vulnerability in CLI commands
A use of externally-controlled format string vulnerability [CWE-134] in FortiOS, FortiProxy, FortiPAM & FortiSwitchManager CLI may allow a privileged attacker to execute arbitrary code or commands via specially crafted requests.
Other sources
A use of externally-controlled format string vulnerability [CWE-134] vulnerability in Fortinet allows a privileged attacker to execute arbitrary code or commands via specially crafted requests.
— MITRE
Affected Software
Remediation
Information
Event History
Frequently Asked Questions
What is the severity of CVE-2023-40721?
CVE-2023-40721 is classified as a high-severity vulnerability due to its potential for privilege escalation.
How do I fix CVE-2023-40721?
To mitigate CVE-2023-40721, upgrade Fortinet FortiOS, FortiProxy, FortiPAM, and FortiSwitchManager to the latest patched versions.
Which versions are affected by CVE-2023-40721?
CVE-2023-40721 affects FortiOS versions 7.4.0 to 7.4.1 and prior to 7.2.6, FortiProxy versions 7.4.0 and prior to 7.2.7, FortiPAM versions before 1.0.3, and FortiSwitchManager versions 7.2.0 to 7.2.2 and prior to 7.0.2.
What type of vulnerability is CVE-2023-40721?
CVE-2023-40721 is categorized as a use of externally-controlled format string vulnerability, which can lead to privilege escalation.
Is there a workaround for CVE-2023-40721?
Currently, the recommended solution for CVE-2023-40721 is to update to the latest secure versions of the affected Fortinet products, as there are no effective workarounds.