Fortinet Fortigate - Out-of-bound-write in sslvpnd (FG-IR-22-475)

high Nessus Plugin ID 175084

Synopsis

Fortinet Firewall is missing one or more security-related updates.

Description

The version of Fortigate installed on the remote host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the FG-IR-22-475 advisory.

- An out-of-bounds write vulnerability [CWE-787] in sslvpnd of FortiOS and FortiProxy may allow an authenticated attacker to achieve arbitrary code execution via specifically crafted requests.
(CVE-2023-22640)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Please upgrade to FortiOS version 7.4.0 or above Please upgrade to FortiOS version 7.2.4 or above Please upgrade to FortiOS version 7.0.11 or above Please upgrade to FortiOS version 6.4.12 or above Please upgrade to FortiOS version 6.2.14 or above Please upgrade to FortiProxy version 7.2.2 or above Please upgrade to FortiProxy version 7.0.8 or above Workaround:
Disable Host Check, Restrict to Specific OS Versions and MAC address host checking in sslvpn portal configuration. For example for full-access sslvpn portal:
config vpn ssl web portal edit full-access set os-check disable set host-check none set mac-addr-check disable end

See Also

https://www.fortiguard.com/psirt/FG-IR-22-475

Plugin Details

Severity: High

ID: 175084

File Name: fortigate_FG-IR-22-475.nasl

Version: 1.5

Type: local

Family: Firewalls

Published: 5/3/2023

Updated: 9/15/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

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

CVSS Score Source: CVE-2023-22640

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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

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

Vulnerability Information

CPE: cpe:/a:fortinet:fortiproxy

Required KB Items: Host/Fortigate/model, Host/Fortigate/version

Exploit Ease: No known exploits are available

Patch Publication Date: 5/3/2023

Vulnerability Publication Date: 5/3/2023

Reference Information

CVE: CVE-2023-22640

IAVA: 2023-A-0239-S