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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Fortinet | Fortinet FortiOS, FortiProxy | FortiOS 6.0.0 to 6.0.4, 5.6.3 to 5.6.7 and 5.4.6 to 5.4.12, 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 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
FortiOS Path Traversal Credential Gatherer
auxiliary/gather/fortios_vpnssl_traversal_creds_leak
Exploit-DB 2
- Fortinet FortiOS 5.6.3 - 5.6.7 / FortiOS 6.0.0 - 6.0.4 - Credentials Disclosure (Metasploit) EDB-47287 · webapps · Aug 19, 2019
- Fortinet FortiOS 5.6.3 - 5.6.7 / FortiOS 6.0.0 - 6.0.4 - Credentials Disclosure EDB-47288 · webapps · Aug 19, 2019
GitHub 14 repositories · most starred shown
-
milo2012/CVE-2018-13379 ★ 253 · Aug 11, 2019
CVE-2018-13379
-
Blazz3/cve2018-13379-nmap-script ★ 12 · Oct 14, 2019
CVE-2018-13379 Script for Nmap NSE.
-
B1anda0/CVE-2018-13379 ★ 9 · Dec 14, 2020
Fortinet FortiOS路径遍历漏洞 (CVE-2018-13379)批量检测脚本
-
Zeop-CyberSec/fortios_vpnssl_traversal_leak ★ 9 · Nov 30, 2020
This module massively scan and exploit a path traversal vulnerability in the FortiOS SSL VPN web portal may allow an unauthenticated attacker to download FortiOS system files through specially crafte…
-
k4nfr3/CVE-2018-13379-Fortinet ★ 6 · Nov 19, 2020
FortiVuln
-
0xHunter/FortiOS-Credentials-Disclosure ★ 6 · Sep 24, 2019
CVE-2018-13379 Exploit
-
jpiechowka/at-doom-fortigate ★ 5 · Aug 18, 2019
Fortigate CVE-2018-13379 - Tool to search for vulnerable Fortigate hosts in Rapid7 Project Sonar data anonymously through The Tor network.
-
Vampsecure-Labs/vamp-forticheck ★ 2 · Jul 31, 2026
VampSecure Labs: FortiOS CVE scanner (CVE-2018-13379, CVE-2022-40684, CVE-2023-27997, CVE-2024-21762)
-
Zierax/CVE-2018-13379 ★ 2 · Feb 5, 2026
CVE-2018-13379 fortiOS vulnerability POC
-
pwn3z/CVE-2018-13379-FortinetVPN ★ 1 · Sep 17, 2020
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Fortinet FortiOS - Credentials Disclosure http/cves/2018/CVE-2018-13379.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.