CWE
134
Advisory Published
CVE Published
Updated
Advisory Published

CVE-2023-36640: Format String Bug in cli command

First published: Tue May 14 2024(Updated: )

A use of externally-controlled format string in Fortinet FortiProxy versions 7.2.0 through 7.2.4, 7.0.0 through 7.0.10, 2.0.0 through 2.0.13, 1.2.0 through 1.2.13, 1.1.0 through 1.1.6, 1.0.0 through 1.0.7, FortiPAM versions 1.0.0 through 1.0.3, FortiOS versions 7.2.0, 7.0.0 through 7.0.12, 6.4.0 through 6.4.14, 6.2.0 through 6.2.15, 6.0.0 through 6.0.16 allows attacker to execute unauthorized code or commands via specially crafted commands

Credit: psirt@fortinet.com

Affected SoftwareAffected VersionHow to fix
Fortinet FortiProxy>=1.0.0<=1.0.7
Fortinet FortiProxy>=1.1.0<=1.1.6
Fortinet FortiProxy>=1.2.0<=1.2.13
Fortinet FortiProxy>=2.0.0<=2.0.14
Fortinet FortiProxy>=7.0.0<=7.0.10
Fortinet FortiProxy>=7.2.0<=7.2.4
FortiGuard FortiPAM<=1.0.3
Fortinet FortiOS IPS Engine>=6.0.0<=6.0.16
Fortinet FortiOS IPS Engine>=6.2.0<=6.2.16
Fortinet FortiOS IPS Engine>=6.4.0<=6.4.14
Fortinet FortiOS IPS Engine>=7.0.0<=7.0.12
Fortinet FortiOS IPS Engine=7.2.0
Fortinet FortiOS IPS Engine=.
Fortinet FortiOS IPS Engine>=7.2.0<=7.2.5
Fortinet FortiOS IPS Engine>=7.0
Fortinet FortiOS IPS Engine>=6.4
Fortinet FortiOS IPS Engine>=6.2
Fortinet FortiOS IPS Engine>=6.0.0<=6.0.16
FortiGuard FortiPAM=.
FortiGuard FortiPAM>=1.0
Fortinet FortiProxy>=7.2.0<=7.2.5
Fortinet FortiProxy>=7.0.0<=7.0.11
Fortinet FortiProxy>=2.0
Fortinet FortiProxy>=1.2
Fortinet FortiProxy>=1.1
Fortinet FortiProxy>=1.0
Fortinet FortiSwitchManager>=7.2.0<=7.2.2
Fortinet FortiSwitchManager>=7.0.0<=7.0.2

Remedy

Please upgrade to FortiOS version 7.4.1 or above Please upgrade to FortiOS version 7.2.6 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.2.6 or above Please upgrade to FortiProxy version 7.0.12 or above Please upgrade to FortiPAM version 1.1.1 or above Please upgrade to FortiSASE version 22.4 or above

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2023-36640?

    CVE-2023-36640 is classified as a medium-severity vulnerability due to the potential for remote code execution via format string manipulation.

  • How do I fix CVE-2023-36640?

    To mitigate CVE-2023-36640, upgrade Fortinet FortiProxy versions to at least 7.2.6 or FortiOS to at least 7.2.6.

  • Which Fortinet products are affected by CVE-2023-36640?

    CVE-2023-36640 affects multiple versions of Fortinet FortiProxy, FortiOS, and FortiPAM.

  • What are the impacted versions for FortiProxy related to CVE-2023-36640?

    FortiProxy versions 7.2.0 through 7.2.4 and 7.0.0 through 7.0.10 are impacted by CVE-2023-36640.

  • Is there a patch available for CVE-2023-36640?

    Yes, patches for CVE-2023-36640 are available in the form of version upgrades for affected Fortinet products.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203