Fortinet Fortigate Out-of-bounds Write in captive portal (FG-IR-23-328)

critical Nessus Plugin ID 209712

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 multiple vulnerabilities as referenced in the FG-IR-23-328 advisory.

- A out-of-bounds write in Fortinet FortiOS 7.4.0 through 7.4.1, 7.2.0 through 7.2.5, 7.0.0 through 7.0.12, 6.4.0 through 6.4.14, 6.2.0 through 6.2.15, FortiProxy 7.4.0, 7.2.0 through 7.2.6, 7.0.0 through 7.0.12, 2.0.0 through 2.0.13 allows attacker to execute unauthorized code or commands via specially crafted HTTP requests. (CVE-2023-42789)

- A stack-based buffer overflow in Fortinet FortiOS 7.4.0 through 7.4.1, 7.2.0 through 7.2.5, 7.0.0 through 7.0.12, 6.4.0 through 6.4.14, 6.2.0 through 6.2.15, FortiProxy 7.4.0, 7.2.0 through 7.2.6, 7.0.0 through 7.0.12, 2.0.0 through 2.0.13 allows attacker to execute unauthorized code or commands via specially crafted HTTP requests. (CVE-2023-42790)

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

Solution

Please upgrade to FortiOS version 6.2.16/6.4.15/7.0.13/7.2.6/7.4.2 or later.

See Also

https://www.fortiguard.com/psirt/FG-IR-23-328

Plugin Details

Severity: Critical

ID: 209712

File Name: fortigate_FG-IR-23-328.nasl

Version: 1.2

Type: local

Family: Firewalls

Published: 10/26/2024

Updated: 10/29/2024

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2023-42789

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

Vulnerability Information

CPE: cpe:/o:fortinet:fortios

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

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 3/12/2024

Reference Information

CVE: CVE-2023-42789, CVE-2023-42790

IAVA: 2024-A-0165