Fortinet FortiOS, FortiProxy
Fortinet FortiOS SSL VPN Path Traversal Vulnerability
Edge device · Firewall / VPNknown edge product: Fortinet Fortinet FortiOS, FortiProxy Fortinet FortiOS SSL (high confidence)
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.
Timeline
Days relative to CVE publicationFirst public PoC 68 days after publication; added to CISA KEV 2.4 years after publication. First PoC: milo2012/CVE-2018-13379 (created 11 Aug 2019, found by us: backfilled).
PoC repositories
Found on GitHub.13 PoCs · 3 informational · 2 suspicious or fake
PoCs 13
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| milo2012/CVE-2018-13379 | 11 Aug 2019 +68 d | 253 | PoC |
| jpiechowka/at-doom-fortigate | 18 Aug 2019 +75 d | 5 | Scanner |
| 0xHunter/FortiOS-Credentials-Disclosure | 24 Sep 2019 +112 d | 6 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| RedcentricCyber/Fortigate | 9 Oct 2019 +127 d | 81 | PoC |
| Blazz3/cve2018-13379-nmap-script | 14 Oct 2019 +131 d | 12 | PoC via PoC Index |
| yukar1z0e/CVE-2018-13379 | 18 May 2020 +348 d | 0 | PoC |
| pwn3z/CVE-2018-13379-FortinetVPN | 17 Sep 2020 +1.3 y | 1 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| k4nfr3/CVE-2018-13379-Fortinet | 19 Nov 2020 +1.5 y | 6 | PoC |
| B1anda0/CVE-2018-13379 | 14 Dec 2020 +1.5 y | 9 | PoC |
| nescam123/forti | 28 Dec 2020 +1.6 y | 0 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| kh4sh3i/CVE-2018-13379 | 21 Sep 2025 +6.3 y | 0 | PoC |
| Zierax/CVE-2018-13379 | 5 Feb 2026 +6.7 y | 2 | PoC |
| Instructor-Admin/Multi-threaded-mass-exploiter-CVE-2018-13379-POC | 23 May 2026 +7.0 y | 1 | PoC |
Informational 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Zeop-CyberSec/fortios_vpnssl_traversal_leak | 30 Nov 2020 +1.5 y | 9 | Informational · list |
| nivdolgin/CVE-2018-13379 | 11 Sep 2021 +2.3 y | 0 | Informational · write-up |
| 1337or420/FortiGate-FortiWeb-Multi-Exploit-Extractor | 14 May 2026 +6.9 y | 2 | Informational · list |
Suspicious or fake 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Justjeff211/conti-ransomware-writeup | 27 Mar 2026 +6.8 y | 0 | Suspicious · score 60
Why suspicious
|
| Vampsecure-Labs/vamp-forticheck | 31 Jul 2026 +7.2 y | 2 | Suspicious · score 80
Why suspicious
|
Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Fortinet FortiOS 5.6.3 - 5.6.7 / FortiOS 6.0.0 - 6.0.4 - Credentials Disclosure (Metasploit) | 19 Aug 2019 | 14 Nov 2026 |
| Exploit-DB | Fortinet FortiOS 5.6.3 - 5.6.7 / FortiOS 6.0.0 - 6.0.4 - Credentials Disclosure | 19 Aug 2019 | 14 Nov 2026 |
| Metasploit | Metasploit auxiliary: FortiOS Path Traversal Credential Gatherer (auxiliary/gather/fortios_vpnssl_traversal_creds_leak) | unknown | 14 Nov 2026 |
| nuclei template | nuclei template: Fortinet FortiOS - Credentials Disclosure | unknown | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 13 PoC reposGET /remote/fgt_lang
- Query
lang=/../../../..//////////dev/cmdb/sslvpn_websession- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language: en-US,en;q=0.5Upgrade-Insecure-Requests: 1- Ports
- 443, 8080, 10443
- PoC User-Agent
Mozilla/5.0Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36body_markers_placeholder- Seen in
- 12 repos: 0xHunter/FortiOS-Credentials-Disclosure, B1anda0/CVE-2018-13379, Instructor-Admin/Multi-threaded-mass-exploiter-CVE-2018-13379-POC, RedcentricCyber/Fortigate, Zierax/CVE-2018-13379, jpiechowka/at-doom-fortigate, k4nfr3/CVE-2018-13379-Fortinet, kh4sh3i/CVE-2018-13379, milo2012/CVE-2018-13379, nescam123/forti, pwn3z/CVE-2018-13379-FortinetVPN, yukar1z0e/CVE-2018-13379
- Evidence
- 0xHunter/FortiOS-Credentials-Disclosure/CVE-2018-13379.py:29 0xHunter/FortiOS-Credentials-Disclosure/CVE-2018-13379.py:67 0xHunter/FortiOS-Credentials-Disclosure/CVE-2018-13379.py:94 B1anda0/CVE-2018-13379/CVE-2018-13379.py:27 Instructor-Admin/Multi-threaded-mass-exploiter-CVE-2018-13379-POC/exploit.py:167 RedcentricCyber/Fortigate/fortigate.py:32
GET //https://{var}
- Seen in
- 1 repo: jpiechowka/at-doom-fortigate
- Evidence
- jpiechowka/at-doom-fortigate/networking/http.go:34
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/remote/fgt_lang\?(?:.*&)?lang=/\.\./\.\./\.\./\.\.//////////dev/cmdb/sslvpn_websession
(?i)^//https://[^/?#]*(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [443,8080,10443] (msg:"GG PoC-Monitor CVE-2018-13379 Fortinet Fortinet FortiOS, FortiProxy exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/remote/fgt_lang"; http.uri; content:"lang=/../../../..//////////dev/cmdb/sslvpn_websession"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.5"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2018-13379; classtype:web-application-attack; sid:9814261; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2018-13379 Fortinet Fortinet FortiOS, FortiProxy exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"//https://"; reference:url,poc.griffinguard.io/cve/CVE-2018-13379; classtype:web-application-attack; sid:9777039; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Fortinet Fortinet FortiOS, FortiProxy exploit attempt (CVE-2018-13379)
id: gg-pocmon-cve-2018-13379-9814261
status: experimental
description: Request pattern taken from public PoCs for CVE-2018-13379. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2018-13379
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/remote/fgt_lang'
cs-uri-query|contains|all:
- 'lang=/../../../..//////////dev/cmdb/sslvpn_websession'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2018.13379
title: Fortinet Fortinet FortiOS, FortiProxy exploit attempt (CVE-2018-13379)
id: gg-pocmon-cve-2018-13379-9777039
status: experimental
description: Request pattern taken from public PoCs for CVE-2018-13379. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2018-13379
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '//https://'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2018.13379