Fortinet FortiOS 5.6.0 Remote Code Execution (FG-IR-18-018)

critical Nessus Plugin ID 122855

Synopsis

The remote host may be affected by unauthorized code execution which could possibly lead to memory corruption.

Description

The version of Fortinet FortiOS running on the remote device is 5.6.0.
It is, therefore, affected by a remote execution vulnerability which can be exploited via the SSH username variable. A remote attacker can exploit this to bypass authentication and execute arbitrary commands which could cause memory corruption

Solution

Upgrade to Fortinet FortiOS version 5.6.1 or later.

See Also

https://fortiguard.com/psirt/FG-IR-18-018

Plugin Details

Severity: Critical

ID: 122855

File Name: fortios_FG-IR-18-018.nasl

Version: 1.4

Type: local

Family: Firewalls

Published: 3/14/2019

Updated: 9/16/2022

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2018-1352

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

Exploit Ease: No known exploits are available

Patch Publication Date: 2/11/2019

Vulnerability Publication Date: 2/11/2019

Reference Information

CVE: CVE-2018-1352

BID: 106960