Fortinet FortiOS and FortiProxy Remote Code Execution (CVE-2024-21762)

critical Nessus Plugin ID 236788

Synopsis

The remote web server is affected by a remote code execution vulnerability.

Description

The instance of Fortinet FortiOS or Fortinet FortiProxy running on the remote host is affected by a remote code execution vulnerability:

- A out-of-bounds write in Fortinet FortiOS versions 7.4.0 through 7.4.2, 7.2.0 through 7.2.6, 7.0.0 through 7.0.13, 6.4.0 through 6.4.14, 6.2.0 through 6.2.15, 6.0.0 through 6.0.17, FortiProxy versions 7.4.0 through 7.4.2, 7.2.0 through 7.2.8, 7.0.0 through 7.0.14, 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 allows attacker to execute unauthorized code or commands via specifically crafted requests. (CVE-2024-21762)

Solution

Upgrade to a patched version according to the vendor advisory.

See Also

https://www.fortiguard.com/psirt/FG-IR-24-015

Plugin Details

Severity: Critical

ID: 236788

File Name: fortios_and_fortiproxy_CVE-2024-21762.nbin

Version: 1.5

Type: remote

Family: CGI abuses

Published: 5/15/2025

Updated: 5/22/2025

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.3

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2024-21762

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:fortinet:fortiproxy, cpe:/o:fortinet:fortios

Required KB Items: Settings/ParanoidReport, installed_sw/fortios_ui

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/8/2024

Vulnerability Publication Date: 2/8/2024

CISA Known Exploited Vulnerability Due Dates: 2/16/2024

Exploitable With

Core Impact

Reference Information

CVE: CVE-2024-21762