Fortinet FortiOS 5.4.6 <= 5.4.12 / 5.6.3 < 5.6.8 / 6.0.x < 6.0.5 SSL VPN Directory Traversal (FG-IR-18-384)

critical Nessus Plugin ID 125885

Synopsis

The remote host is affected by a directory traversal vulnerability.

Description

The remote host is running a version of FortiOS 5.4.6 prior or equal to 5.4.12, 5.6.3 prior to 5.6.8 or 6.0.x prior to 6.0.5. It is, therefore, affected by a directory traversal vulnerability in the SSL VPN web portal, due to an improper limitation of a pathname to a restricted Directory. An unauthenticated, remote attacker can exploit this, via a specially crafted HTTP request, to download arbitrary FortiOS system files.

Solution

Upgrade to Fortinet FortiOS version to 5.6.8, 6.0.5, 6.2.0 or later. Alternatively, apply one of the workarounds outlined in the linked advisory.

See Also

https://www.fortiguard.com/psirt/FG-IR-18-384

Plugin Details

Severity: Critical

ID: 125885

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

Version: 1.20

Type: local

Family: Firewalls

Published: 6/14/2019

Updated: 1/30/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 8.9

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 4.4

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

CVSS Score Source: CVE-2018-13379

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.4

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:H/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:fortinet:fortios

Required KB Items: Host/Fortigate/version

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/24/2019

Vulnerability Publication Date: 5/24/2019

CISA Known Exploited Vulnerability Due Dates: 5/3/2022

Exploitable With

Elliot (Fortinet FortiGate SSL VPN File Disclosure)

Reference Information

CVE: CVE-2018-13379

BID: 108693

CISA-NCAS: AA22-011A

IAVA: 0001-A-0002-S