Fortinet FortiOS - Path Traversal in Execute Command (FG-IR-22-369)

high Nessus Plugin ID 172491

Synopsis

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

Description

The version of FortiOS installed on the remote host is therefore, affected by a path traversal in execute command vulnerability. A improper limitation of a pathname to a restricted directory vulnerability ('path traversal') in FortiOS may allow a privileged attacker to read and write arbitrary files via crafted CLI commands.

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 to 6.2.14 / 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: 172491

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

Version: 1.4

Type: local

Family: Firewalls

Published: 3/13/2023

Updated: 8/9/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.2

Temporal Score: 5.4

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.8

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: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: 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