Security Advisory

CVE-2018-13379: FortiOS SSL-VPN Path Traversal

Last updated:
  • CVE-2018-13379

CVE-2018-13379 is a path traversal in the SSL VPN web portal of Fortinet FortiOS and FortiProxy: an attacker with no account can download system files from the FortiGate, and Fortinet notes public code uses this to obtain logged-in VPN users' credentials. NVD scores it 9.8, CISA KEV lists it with known ransomware use, and the fix is FortiOS 5.4.13, 5.6.8, 6.0.5 or 6.2.0.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

100.0%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2018-13379 · Source: NVD

Affected components

ComponentCPEVersion range
Fortinet FortiOS (FortiGate firmware)cpe:2.3:o:fortinet:fortios:*:*:*:*:*:*:*:*5.4.6 through 5.4.12 (fixed in 5.4.13); 5.6.3 through 5.6.7 (fixed in 5.6.8); 6.0.0 through 6.0.4 (fixed in 6.0.5); 6.2.0 and later not affected; only when SSL VPN web-mode or tunnel-mode is enabled
Fortinet FortiProxycpe:2.3:a:fortinet:fortiproxy:*:*:*:*:*:*:*:*1.0.7 and below, 1.1.6 and below, 1.2.8 and below (fixed in 1.2.9); 2.0.0 (fixed in 2.0.1)

What does this mean for affected devices?

NVD describes CVE-2018-13379 as a path traversal (CWE-22) in 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 and 1.0.0 to 1.0.7 "under SSL VPN web portal" that "allows an unauthenticated attacker to download system files via special crafted HTTP resource requests". NVD's Primary score is CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and NVD CVSS v2 5.0; Fortinet, the CNA, scores it 9.1 (C:H/I:N/A:H) (NVD, CVE record).

Which FortiGate firmware is affected and what is the fix?

Fortinet advisory FG-IR-18-384 (2019-05-24) lists FortiOS 6.0.0 to 6.0.4, 5.6.3 to 5.6.7 and 5.4.6 to 5.4.12, "ONLY if the SSL VPN service (web-mode or tunnel-mode) is enabled"; other branches are not impacted. The fix is FortiOS 5.4.13, 5.6.8, 6.0.5 or 6.2.0 and above. The only workaround Fortinet names is to disable the SSL-VPN service completely. It notes that code obtaining the credentials of logged-in SSL VPN users was disclosed, and that two-factor authentication stops an attacker from reusing stolen credentials. For FortiProxy, FG-IR-20-233 lists 2.0.0, 1.2.8 and below, 1.1.6 and below and 1.0.7 and below, fixed in 1.2.9 and 2.0.1.

Is patching enough?

No. On 2021-09-08 Fortinet reported that an actor had published SSL-VPN access information for 87,000 FortiGate devices, taken from systems unpatched against this CVE at scan time. Fortinet's advice to anyone who ever ran an affected version: disable VPNs until done, upgrade (it names FortiOS 5.4.13, 5.6.14, 6.0.13 or 6.2.9 and above), reset all user passwords, turn on multi-factor authentication and tell users why. The FBI and CISA joint advisory AA21-092A (2021-04-02) reported APT actors scanning ports 4443, 8443 and 10443 for this CVE and enumerating devices for CVE-2020-12812 and CVE-2019-5591. The sister portal flaw CVE-2018-13382 came from the same research.

Is CVE-2018-13379 exploited?

Yes. CISA added it to the KEV catalog on 2021-11-03 with the required action "Apply updates per vendor instructions." (due 2022-05-03) and known ransomware campaign use "Known"; it is listed as of 2026-11-25 in catalog version 2026.11.24 (CISA KEV). FIRST EPSS gives 0.99999, the 99.99th percentile, in the 2026-11-24 dataset (FIRST EPSS). An SSL-VPN portal is an internet-facing management surface; see CISA BOD 23-02 on internet-exposed management interfaces and how to fix path traversal in embedded firmware.

How to fix this class of issueThis advisory's weakness class is Path traversal. Our practical guide covers how to detect, fix, verify and disclose it: How to fix path traversal in embedded firmware.

Evidence

  • NVD (Analyzed): path traversal in FortiOS 6.0.0-6.0.4, 5.6.3-5.6.7, 5.4.6-5.4.12 and FortiProxy 2.0.0, 1.2.0-1.2.8, 1.1.0-1.1.6, 1.0.0-1.0.7 SSL VPN web portal, unauthenticated download of system files; NVD Primary CVSS v3.1 9.8, NVD CVSS v2 5.0; Fortinet ([email protected]) Secondary 9.1 C:H/I:N/A:H; CWE-22; published 2019-06-04; read 2026-11-25. — NVD
  • FG-IR-18-384 (2019-05-24): affected FortiOS 6.0.0-6.0.4, 5.6.3-5.6.7, 5.4.6-5.4.12 only if SSL VPN (web-mode or tunnel-mode) is enabled; upgrade to 5.4.13, 5.6.8, 6.0.5 or 6.2.0 and above; only workaround is to disable SSL-VPN; 2FA mitigates use of stolen credentials. — Fortinet PSIRT FG-IR-18-384
  • FG-IR-20-233 (2021-06-01): FortiProxy 2.0.0, 1.2.8 and below, 1.1.6 and below, 1.0.7 and below; upgrade to 1.2.9 or 2.0.1 and above. — Fortinet PSIRT FG-IR-20-233
  • Fortinet blog 2021-09-08: actor disclosed SSL-VPN access information for 87,000 FortiGate devices unpatched against CVE-2018-13379; disable VPNs, upgrade to FortiOS 5.4.13, 5.6.14, 6.0.13 or 6.2.9 and above, organisation-wide password reset, MFA, notify users. — Fortinet PSIRT blog
  • FBI/CISA AA21-092A (2021-04-02): APT actors scanning ports 4443, 8443 and 10443 for CVE-2018-13379 and enumerating for CVE-2020-12812 and CVE-2019-5591; patch immediately. — FBI and CISA joint advisory AA21-092A
  • CVE record PUBLISHED, CNA Fortinet, 2019-06-04; references FG-IR-18-384 and FG-IR-20-233; CISA ADP SSVC exploitation active. — CVE.org
  • KEV catalog 2026.11.24: dateAdded 2021-11-03, due 2022-05-03, required action 'Apply updates per vendor instructions.', knownRansomwareCampaignUse Known, CWE-22; checked 2026-11-25. — CISA KEV
  • EPSS 0.99999, percentile 0.99994, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Fortinet PSIRT FG-IR-18-384 (FortiOS)
  3. Fortinet PSIRT FG-IR-20-233 (FortiProxy)
  4. Fortinet PSIRT blog: Malicious Actor Discloses FortiGate SSL-VPN Credentials (2021-09-08)
  5. FBI and CISA joint advisory AA21-092A (PDF)
  6. CVE.org record CVE-2018-13379 (CNA: Fortinet)
  7. CISA KEV
  8. FIRST EPSS

Frequently asked questions

Which FortiOS versions fix CVE-2018-13379?

FortiOS 5.4.13, 5.6.8, 6.0.5 and 6.2.0 and above. Only 5.4.6-5.4.12, 5.6.3-5.6.7 and 6.0.0-6.0.4 with SSL VPN enabled are affected. FortiProxy is fixed in 1.2.9 and 2.0.1 (per Fortinet FG-IR-18-384 and FG-IR-20-233).

Do I need to reset passwords after upgrading?

Yes, if the device ever ran an affected version. Fortinet says credentials taken before the upgrade stay usable, so it tells customers to reset all user passwords, enable multi-factor authentication and keep VPNs off until that is done (per Fortinet's 2021-09-08 PSIRT blog).

Is there a workaround if I cannot upgrade?

Fortinet names one: disable the SSL-VPN service completely, both web-mode and tunnel-mode. Two-factor authentication for SSL VPN users limits the use of stolen credentials but does not close the flaw (per FG-IR-18-384).

How serious is CVE-2018-13379?

NVD scores it CVSS v3.1 9.8 and Fortinet 9.1. CISA KEV lists it since 2021-11-03 with known ransomware use, and FIRST EPSS gives 0.99999 (99.99th percentile) in the 2026-11-24 dataset, as of 2026-11-25 (per NVD, CISA KEV and FIRST EPSS).