CVE-2018-13379
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…
- 9.1CriticalCVSS base score
- 100.0%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- YesKnown exploitedin CISA's KEV since 3 Nov 2021
- 4Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Fortinet FortiOS SSL VPN Path Traversal Vulnerability.
- Added
- 3 Nov 2021
- Fix due (US federal)
- 3 May 2022
- Used by ransomware
- Known
Apply updates per vendor instructions.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 3 Nov 2021.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module, a Nuclei template and 2 Exploit-DB entries for it. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits4
Metasploit modules1 module
- FortiOS Path Traversal Credential Gatherer (Metasploit module) (opens in a new tab)
auxiliary/gather/fortios_vpnssl_traversal_creds_leakRank normal
Nuclei templates1 template
- Fortinet FortiOS - Credentials Disclosure (Nuclei template) (opens in a new tab)
http/cves/2018/CVE-2018-13379.yamlSeverity critical
Exploit-DB2 entries
- Fortinet FortiOS 5.6.3 - 5.6.7 / FortiOS 6.0.0 - 6.0.4 - Credentials Disclosure (Metasploit) (Exploit-DB entry) (opens in a new tab)
EDB-ID 47287webapps, hardwarepublished 19 Aug 2019Not verified
- Fortinet FortiOS 5.6.3 - 5.6.7 / FortiOS 6.0.0 - 6.0.4 - Credentials Disclosure (Exploit-DB entry) (opens in a new tab)
EDB-ID 47288webapps, hardwarepublished 19 Aug 2019Not verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By fortinet
- 11 months later
· 11 months later
Published
- 2 years later
· 2 years later
Added to CISA KEV
Known exploited, also by ransomware
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| fortinetCNA (assigner) | 3.1 | Critical9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVDNVD · Analyzed | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 100.0% · top 0.1% of all CVEs (11 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.1.
Affected products
Fortinet · Fortinet FortiOS, FortiProxy
- affected 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
References
References3
- https://fortiguard.com/advisory/FG-IR-18-384 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.fortiguard.com/psirt/FG-IR-20-233 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-13379 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2018-5323 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2018-13379)Record last updated .