Fortinet FortiOS and FortiProxy SSL VPN Path Traversal Vulnerability (CVE-2018-13379) Security Advisory
Executive & SecOps Summary
SECOPS ASSESSMENTFortinet FortiOS 6.0.0 to 6.0.4, 5.6.3 to 5.6.7, 5.4.6 to 5.4.12, and specific FortiProxy versions with SSL VPN web portal enabled
Unauthenticated remote attackers can download arbitrary system files (including active session credentials) via specially crafted HTTP requests, leading to full network compromise
Immediately upgrade FortiOS/FortiProxy firmware to the patched versions, terminate active SSL VPN sessions, and enforce a global password reset
Affected Products & Version Scope
Remediation & Live Workaround Commands
PATCH & WORKAROUND1. Official Patch & Version Upgrade Commands
The primary remediation is upgrading the firmware to a non-vulnerable release. Verify your current version and perform the upgrade via the FortiOS CLI.
# Check current FortiOS version
get system status
# Example: Restore/Upgrade firmware image via TFTP server
execute restore image tftp FortiOS_6.0.5.out 192.168.1.1002. Temporary Workaround & Hardening Configuration
If upgrading immediately is not feasible, temporarily disable the SSL VPN service or restrict access to trusted source IP addresses.
# Disable SSL VPN service
config vpn ssl settings
set status disable
end
# Restrict SSL VPN access to trusted source IPs
config vpn ssl settings
set source-address 'Trusted_IP_Range'
set source-address-negate disable
end3. Log Audit & IoC Verification Commands
Inspect the system logs for suspicious requests targeting the '/remote/fgt_lang' endpoint to identify potential exploitation attempts.
# Filter and display logs for potential path traversal attempts
show log traffic filter dstport 10443
execute log filter category 1
execute log filter field attack 'fgt_lang'
execute log displayStop Exposing VPN Ports to the Internet — Switch to Zero-Trust Access
Eliminate public-facing VPN concentrators and firewall management ports with identity-first Zero-Trust Network Access.
Technical Root Cause & Exploitation Mechanics
1. Vulnerability Overview & Root Cause
This vulnerability (CVE-2018-13379) is a critical Path Traversal (CWE-22) flaw residing in the SSL VPN web portal component of Fortinet FortiOS and FortiProxy. The root cause is the application's failure to properly sanitize and restrict user-supplied input within HTTP resource requests. By utilizing directory traversal sequences (e.g., '../../../../'), an unauthenticated attacker can bypass the web root directory restrictions and access sensitive files on the underlying operating system.
2. Exploitation Mechanics & Attack Scenario
An attacker sends a crafted HTTP GET request targeting the SSL VPN portal (typically on port 10443). By exploiting the vulnerable parameter in the '/remote/fgt_lang' endpoint, the attacker can traverse directories to read the 'sslvpn_websession' file. This system file contains active session tokens along with cleartext usernames and passwords of currently logged-in users. With these stolen credentials, the attacker can establish legitimate VPN connections, bypassing perimeter defenses entirely.
3. Infrastructure & Business Impact
Listed in the CISA KEV catalog, this vulnerability has been heavily exploited in the wild by advanced persistent threat (APT) actors and ransomware operators. Successful exploitation grants initial access to the internal corporate network, which often serves as a stepping stone for lateral movement, domain controller compromise, data exfiltration, and ransomware deployment. With a CVSS score of 9.8, it poses an extreme risk to enterprise infrastructure.
Official Vendor Advisories & References
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.
Frequently Asked SecOps Questions (CVE-2018-13379)
FAQQ1. How critical is CVE-2018-13379 and is it actively exploited in the wild?
CVE-2018-13379 is rated CVSS 9.8 (CRITICAL) with a 30-day EPSS exploitation probability of 100.0%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.
Q2. Which vendors and products are affected by CVE-2018-13379?
Primary impacted vendors include fortinet across fortios, fortiproxy. Scope summary: FortiOS 6.0.0 to 6.0.4, 5.6.3 to 5.6.7, 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 with SSL VPN web portal enabled
Q3. What temporary mitigations or workarounds exist for CVE-2018-13379 before patching?
[Mitigation] Immediately upgrade FortiOS/FortiProxy firmware to the patched versions, terminate active SSL VPN sessions, and enforce a global password reset Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.
Generate an Internal Engineering Notice or CISO Report for CVE-2018-13379
Instantly format this advisory into an executive CISO summary or engineering patch ticket.
🔗 Related Advisories in Similar Stack (fortinet)
View Category →Fortinet FortiOS/FortiProxy Path Traversal Vulnerability Advisory (CVE-2025-61624)
[Affected Scope] Major Fortinet solutions including FortiOS (6.4-7.6), FortiPAM (1.0-1.7), FortiProxy (7.0-7.6), and FortiSwitchManager (7.0-7.2).
Fortinet FortiMail Path Traversal Vulnerability (CVE-2026-104286) - Unauthenticated Arbitrary File Write
[Affected Scope] FortiMail versions 8.0.0-8.0.1, 7.6.0-7.6.6, 7.4.0-7.4.8, 7.2.0-7.2.9, and all 7.0 versions.
Fortinet FortiSandbox OS Command Injection Vulnerability (CVE-2026-25089) Security Advisory
[Affected Scope] Fortinet FortiSandbox (5.0.0 to 5.0.5, 4.4.0 to 4.4.8, 4.2 all versions), FortiSandbox Cloud and PaaS (5.0.4 to 5.0.5)
Fortinet FortiSandbox OS Command Injection Vulnerability (CVE-2026-39808) Advisory
[Affected Scope] Fortinet FortiSandbox versions 4.4.0 through 4.4.8
Subscribe to Daily Vulnerability Briefings & KEV Alerts
Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.