CVE DatabaseCVE-2018-13379
한국어 권고문 →
CVE-2018-133799.8/CRITICALCISA KEVCWE-22CWE-22

Fortinet FortiOS and FortiProxy SSL VPN Path Traversal Vulnerability (CVE-2018-13379) Security Advisory

⚡ Jump to Patch
Affected Vendors
fortinet
Affected Components
fortios, fortiproxy
Published Date
2019-06-04
CVSS v3.1
9.8
CRITICAL
EPSS (30d)
100.0%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Fortinet 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

Impact

Unauthenticated remote attackers can download arbitrary system files (including active session credentials) via specially crafted HTTP requests, leading to full network compromise

Mitigation

Immediately upgrade FortiOS/FortiProxy firmware to the patched versions, terminate active SSL VPN sessions, and enforce a global password reset

Affected Products & Version Scope

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

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. 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.

bash
# 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.100

2. Temporary Workaround & Hardening Configuration

If upgrading immediately is not feasible, temporarily disable the SSL VPN service or restrict access to trusted source IP addresses.

bash
# 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
end

3. Log Audit & IoC Verification Commands

Inspect the system logs for suspicious requests targeting the '/remote/fgt_lang' endpoint to identify potential exploitation attempts.

bash
# 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 display
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
NordLayer / Zero-Trust Network Access
Due to active exploitation in the wild, immediately patch all vulnerable FortiOS devices and mandate a password reset for all VPN users.

Stop 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.

90% Attack Surface Reduction · Hardware-Free

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

NVD Original English 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.

Frequently Asked SecOps Questions (CVE-2018-13379)

FAQ

Q1. 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.

SECOPS WORKBENCH INTEGRATION

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.

Generate Report →

🔗 Related Advisories in Similar Stack (fortinet)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2018-13379 Fortinet FortiOS and FortiProxy SSL VPN Path Traversal Vulnerability (CVE-2018-13379) Security Advisory (CVSS 9.8) - Patch & Workaround | CVE Pulse