CVE-2018-13379 Fortinet FortiOS SSL VPN Path Traversal

Exploited in the wild Critical 9.1 Published Updated

Unauthenticated attackers can download system files via crafted HTTP requests in Fortinet SSL VPN web portals.

Exploited in the wild
Since 3 Nov 2021
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-13379?

CVE-2018-13379 is a critical path traversal vulnerability in Fortinet Fortios, published on 4 Jun 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An Improper Limitation of a Pathname to a Restricted Directory ("Path Traversal") in Fortinet FortiOS 6.0.0 to 6.0.4, 5.6.3 to 5.6.7 and 5.4.6 to 5.4.12 and FortiProxy 2.0.0, 1.2.0 to 1.2.8, 1.1.0 to 1.1.6, 1.0.0 to 1.0.7 under SSL VPN web portal allows an unauthenticated attacker to download system files via special crafted HTTP resource requests.

Weakness: CWE-22

Which versions are affected by CVE-2018-13379?

It affects 2 products.

Products include Fortinet Fortios, Fortinet Fortiproxy.

How do I fix CVE-2018-13379?

No fix has been published for CVE-2018-13379 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 3 May 2022.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2018-13379 being exploited?

Yes. Attackers have exploited CVE-2018-13379 in the wild since at least 3 Nov 2021, including in ransomware campaigns.

Public exploit code: 1 Metasploit module, 2 Exploit-DB entries, 1 Nuclei template and 14 proofs of concept on GitHub.

All Fortinet Fortios vulnerabilities

Sources

Also known as GHSA-2q79-m25p-r2q3.

Is CVE-2018-13379 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free