Fortinet Fortigate - Format String in CLI command (FG-IR-23-413)

medium Nessus Plugin ID 197622

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-23-413 advisory.

- A use of externally-controlled format string vulnerability [CWE-134] in FortiOS version 7.4.1 and below, version 7.2.7 and below, 7.0 all versions, 6.4 all versions command line interface may allow a local privileged attacker with super-admin profile and CLI access to execute arbitrary code or commands via specially crafted requests. (CVE-2023-48784)

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

Solution

For 6.4.x, see vendor advisory. For 7.0.x, upgrade to Fortigate version 7.0.16 or later. For 7.2.x, upgrade to Fortigate version 7.2.8 or later. For 7.4.x, upgrade to Fortigate version 7.4.2 or later.

See Also

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

Plugin Details

Severity: Medium

ID: 197622

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

Version: 1.5

Type: local

Family: Firewalls

Published: 5/22/2024

Updated: 2/15/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 4.8

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

CVSS Score Source: CVE-2023-48784

CVSS v3

Risk Factor: Medium

Base Score: 6.7

Temporal Score: 5.8

Vector: CVSS:3.0/AV:L/AC:L/PR:H/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: Host/Fortigate/model, Host/Fortigate/version

Exploit Ease: No known exploits are available

Patch Publication Date: 4/9/2024

Vulnerability Publication Date: 3/14/2024

Reference Information

CVE: CVE-2023-48784

IAVA: 2024-A-0165-S