Fortinet Fortigate SSH key is added even if operation is aborted (FG-IR-23-008)

low Nessus Plugin ID 238111

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

- An incomplete cleanup vulnerability [CWE-459] in FortiOS 7.2 all versions and before & FortiProxy version 7.2.0 through 7.2.2 and before 7.0.8 allows a VDOM privileged attacker to add SSH key files on the system silently via crafted CLI requests. (CVE-2023-29184)

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.2.x / 6.4.x / 7.0.x / 7.2.x, see vendor advisory.

See Also

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

Plugin Details

Severity: Low

ID: 238111

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

Version: 1.1

Type: local

Family: Firewalls

Published: 6/10/2025

Updated: 6/10/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

CVSS v2

Risk Factor: Low

Base Score: 1.4

Temporal Score: 1

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

CVSS Score Source: CVE-2023-29184

CVSS v3

Risk Factor: Low

Base Score: 3.2

Temporal Score: 2.8

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

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: 6/10/2025

Vulnerability Publication Date: 6/10/2025

Reference Information

CVE: CVE-2023-29184