CVE-2023-40721: FortiOS / FortiProxy / FortiPAM / FortiSwitchManager - Format string vulnerability in CLI commands

Published Feb 11, 2025
·
Updated

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

13 affected components
Fortinet FortiOS>=7.4.0<=7.4.1, <7.2.6
Fortinet FortiProxy>=7.4.0<7.2.7
Fortinet FortiPAM<1.0.3
Fortinet FortiSwitchManager>=7.2.0<=7.2.2, <7.0.2
Fortinet FortiOS>=6.2.0<7.0.14
Fortinet FortiOS>=7.2.0<7.2.7
Fortinet FortiOS=7.4.0
Fortinet FortiSwitchManager>=7.0.0<7.0.3
Fortinet FortiSwitchManager>=7.2.0<7.2.3
Fortinet FortiProxy>=1.2.0<7.0.15
Fortinet FortiProxy>=7.2.0<7.2.8
Fortinet FortiProxy=7.4.0
Fortinet FortiPAM>=1.0.0<1.2.0

Remediation

Information

Please upgrade to FortiOS version 7.4.2 or above Please upgrade to FortiOS version 7.2.7 or above Please upgrade to FortiOS version 7.0.14 or above Please upgrade to FortiPAM version 1.2.0 or above Please upgrade to FortiSwitchManager version 7.2.3 or above Please upgrade to FortiSwitchManager version 7.0.3 or above Please upgrade to FortiProxy version 7.4.1 or above Please upgrade to FortiProxy version 7.2.8 or above Please upgrade to FortiProxy version 7.0.15 or above

Event History

Feb 11, 2025
Advisory Published
via FortiGuard·12:00 AM
Data Sourced
via FortiGuard·12:00 AM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·04:09 PM
Data Sourced
via MITRE·04:09 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software
Feb 12, 2025
Advisory Published
via FortiGuard·01:44 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

How do I fix CVE-2023-40721?

To mitigate CVE-2023-40721, upgrade Fortinet FortiOS, FortiProxy, FortiPAM, and FortiSwitchManager to the latest patched versions.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203