critical CVSS 9.1 Actively exploited EPSS 100% Public exploit available

CVE-2018-13379·Fortiproxy vulnerability

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.

Severity
critical
Software
Fortiproxy
Fixed in
6.0.5
Published

How Defensia detected this

Defensia agents read the web server logs of the Linux servers they protect and match incoming requests against exploitation signatures. When the same CVE is matched across enough independent servers, from enough distinct networks, it is recorded as being actively exploited. That threshold was crossed for CVE-2018-13379 starting , across 7.4% of the servers Defensia monitors, from 7 distinct attacking IP addresses.

Every CVE we currently measure under active exploitation is listed together, with the share of servers targeted and how long each has been running.

Where the attacks came from

US · 28SG · 2CA · 1

Aggregated across every server Defensia monitors, over 5 days of observation, last measured . Counts are of distinct servers and distinct source addresses, not of requests. No customer, host or domain is identified.

How likely is exploitation

FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 100% — among the highest-scoring CVEs ever published. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.

Affected versions

From: 6.0.0

Until: 6.0.5

Fixed in: 6.0.5

How to fix this CVE

Upgrade FortiProxy to version 6.0.5 or later to patch the SSL VPN web portal path traversal vulnerability. This fix prevents unauthenticated attackers from downloading sensitive system files through specially crafted HTTP requests to the SSL VPN interface. Apply the update immediately as this affects all unauthenticated users with network access to the VPN portal.

sudo dnf update fortiproxy

Defensia detects this vulnerability

What an exploitation attempt looks like

Sample log line indicative of exploitation attempts:

GET|POST request to /remote/login|/remote/console containing path traversal sequences (../ or %2e%2e%2f) followed by system file paths such as /etc/passwd, /etc/shadow, ../../../etc/passwd, config.tar, or system.log

WAF mitigation (if patching is not yet possible)

Add this rule to your WAF to block exploitation attempts while you schedule the patch.

Implement WAF rules to block HTTP requests to SSL VPN endpoints (/remote/login, /remote/console, /remote/fgt_lang) containing encoded or literal path traversal patterns including '../', '..%2f', '%2e%2e%2f', and '\\..\\'. Restrict access to the SSL VPN portal to known trusted IP ranges where possible.

How to check if you are affected

  1. SSH into your FortiProxy appliance and run 'show system status' or check the firmware version in the web UI under System > Dashboard to identify the current installed version.
  2. Verify that the SSL VPN web portal is exposed to untrusted networks by checking 'show vpn ssl settings' and reviewing firewall rules that permit access to port 443 on the administrative interface.
  3. Search FortiProxy logs for HTTP GET/POST requests containing path traversal patterns like '../' or encoded equivalents (%2e%2e%2f) targeting common system file paths such as '/etc/passwd', 'config.tar', or 'system.log' in the access logs.
  4. After applying the patch, re-run 'show system status' to confirm the firmware version is 6.0.5 or higher, then restart the SSL VPN service with 'execute vpn ssl reload' and verify connectivity to the portal.

FAQ

What is CVE-2018-13379?

CVE-2018-13379 is a path traversal vulnerability in FortiProxy's SSL VPN web portal that allows unauthenticated attackers to bypass directory restrictions and download restricted system files by crafting malicious HTTP requests with directory traversal sequences.

Is CVE-2018-13379 being actively exploited?

This CVE is not currently listed in CISA's Known Exploited Vulnerabilities catalog, and no public exploits are widely available. However, the vulnerability has been known since 2018 and is demonstrable, so organizations should prioritize patching.

What versions of Fortiproxy are affected by CVE-2018-13379?

FortiProxy versions 6.0.0 through 6.0.4, 1.2.0 through 1.2.8, 1.1.0 through 1.1.6, and 1.0.0 through 1.0.7 are vulnerable. The fix for the 6.0.x branch is available in version 6.0.5 and later.

How do I check if my server is vulnerable to CVE-2018-13379?

Log into your FortiProxy management interface, navigate to System > Dashboard, and compare your firmware version against the affected ranges. If running 6.0.0–6.0.4 or other listed versions, your deployment is vulnerable.

Does Defensia detect CVE-2018-13379?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If FortiProxy is installed on a monitored server, CVE-2018-13379 will appear in your dashboard with remediation steps.

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2018-13379. Free for 1 server.

Get started free