Fortinet Fortigate Format string vulnerability in command line interpreter (FG-IR-21-235)

high Nessus Plugin ID 209738

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-21-235 advisory.

- A format string vulnerability [CWE-134] in the command line interpreter of FortiADC version 6.0.0 through 6.0.4, FortiADC version 6.1.0 through 6.1.5, FortiADC version 6.2.0 through 6.2.1, FortiProxy version 1.0.0 through 1.0.7, FortiProxy version 1.1.0 through 1.1.6, FortiProxy version 1.2.0 through 1.2.13, FortiProxy version 2.0.0 through 2.0.7, FortiProxy version 7.0.0 through 7.0.1, FortiOS version 6.0.0 through 6.0.14, FortiOS version 6.2.0 through 6.2.10, FortiOS version 6.4.0 through 6.4.8, FortiOS version 7.0.0 through 7.0.2, FortiMail version 6.4.0 through 6.4.5, FortiMail version 7.0.0 through 7.0.2 may allow an authenticated user to execute unauthorized code or commands via specially crafted command arguments. (CVE-2022-22299)

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 6.0.15/6.2.11/6.4.9/7.0.4 or later.

See Also

https://www.fortiguard.com/psirt/FG-IR-21-235

Plugin Details

Severity: High

ID: 209738

File Name: fortigate_FG-IR-21-235.nasl

Version: 1.2

Type: local

Family: Firewalls

Published: 10/26/2024

Updated: 10/29/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2022-22299

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/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:/o:fortinet:fortios

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

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 7/7/2022

Reference Information

CVE: CVE-2022-22299

IAVA: 2022-A-0264-S