Fortinet Fortigate heap-based buffer overflow in sslvpnd (FG-IR-22-398)

critical Nessus Plugin ID 168637

Synopsis

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

Description

The version of Fortigate installed on the remote host is 5.0.0 through 5.0.14, 5.2.0 through 5.2.15, 5.4.0 through 5.4.13, 5.6.0 through 5.6.14, 6.0.0 through 6.0.15, 6.2.x prior to 6.2.12, 6.4.x prior to 6.4.11, 7.0.x prior to 7.0.9, or 7.2.x prior to 7.2.3. It is, therefore, affected by a heap-based buffer overflow vulnerability as referenced in the FG-IR-22-398 advisory.

- A heap-based buffer overflow vulnerability in FortiOS SSL-VPN may allow a remote unauthenticated attacker to execute arbitrary code or commands via specifically crafted requests. (CVE-2022-42475)

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

Solution

Upgrade to Fortigate version 7.2.3, 7.0.9, 6.4.11, or 6.2.12 or later. As a workaround, disable SSL-VPN.

See Also

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

Plugin Details

Severity: Critical

ID: 168637

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

Version: 1.8

Type: local

Family: Firewalls

Published: 12/12/2022

Updated: 10/31/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.7

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

CVSS Score Source: CVE-2022-42475

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.4

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:H/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:fortinet:fortios

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/12/2022

Vulnerability Publication Date: 12/12/2022

CISA Known Exploited Vulnerability Due Dates: 1/3/2023

Reference Information

CVE: CVE-2022-42475

IAVA: 2022-A-0512-S