Fortinet Fortigate - Path traversal in execute command (FG-IR-22-369)

high Nessus Plugin ID 197615

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-369 advisory.

- A improper limitation of a pathname to a restricted directory vulnerability ('path traversal') [CWE-22] in Fortinet FortiOS version 7.2.0 through 7.2.3, 7.0.0 through 7.0.9 and before 6.4.11 allows a privileged attacker to read and write files on the underlying Linux system via crafted CLI commands. (CVE-2022-41328)

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 6.4.12 / 7.0.10 / 7.2.4 or later.

See Also

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

Plugin Details

Severity: High

ID: 197615

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

Version: 1.0

Type: local

Family: Firewalls

Published: 5/22/2024

Updated: 5/22/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.2

Temporal Score: 5.1

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

CVSS Score Source: CVE-2022-41328

CVSS v3

Risk Factor: High

Base Score: 7.1

Temporal Score: 6.6

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

Temporal Vector: CVSS:3.0/E:F/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: 3/7/2023

Vulnerability Publication Date: 3/7/2023

CISA Known Exploited Vulnerability Due Dates: 4/4/2023

Reference Information

CVE: CVE-2022-41328

IAVA: 2023-A-0125-S