# CVE-2018-13379: Fortinet FortiOS - Credentials Disclosure

> Live exploitation tracking for CVE-2018-13379 by the CrowdSec Live Exploit Tracker, built from real-world attack data crowdsourced from CrowdSec's global network.

Page: https://tracker.crowdsec.net/cves/CVE-2018-13379

## Key facts

- **Exploitation phase:** Background Noise. Continuous low-level scanning or exploitation attempts are observed, mostly opportunistic and automated.
- **CVSS score:** 9.1
- **Public exploit available:** Yes
- **Affected products:** Fortinet FortiOS, Fortinet FortiProxy
- **Weaknesses:** CWE-22 (Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'))
- **Tags:** enterprise_software, firewall, sslvpn

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

## CrowdSec analysis

[CVE-2018-13379](https://euvd.enisa.europa.eu/vulnerability/CVE-2018-13379) is a critical path traversal vulnerability affecting Fortinet FortiOS and FortiProxy SSL VPN portals, allowing unauthenticated attackers to download sensitive system files via specially crafted requests.

CrowdSec has been tracking this vulnerability and its exploits since 9th of December 2021.

Based on data from the CrowdSec network, nearly all observed exploitation of CVE-2018-13379 is fully opportunistic, with attackers indiscriminately scanning the entire internet. These attacks are automated and lack any form of target selection or reconnaissance.
Additionally, according to week-over-week analysis by CrowdSec, exploitation of CVE-2018-13379 is surging. Attack volumes are spiking well above historical norms, indicating widespread and escalating interest from threat actors. CVE-2018-13379 is currently experiencing high visibility and active exploitation across the internet.

Observed exploitation attempts often target URLs that include `/remote/fgt_lang?lang=/../`.

## Timeline

- 2019-06-04: CVE Published. CVE-2018-13379 is published to NVD.
- 2021-11-03: CISA KEV. CVE-2018-13379 is added to the Known Exploited Vulnerabilities catalog by CISA.
- 2021-12-09: Rule Released. CrowdSec releases a rule to detect CVE-2018-13379 exploitation attempts against the CrowdSec Network.
- 2021-12-09: CrowdSec First Seen. CrowdSec observes in-the-wild exploitation of CVE-2018-13379 for the first time.
- 2022-05-03: CISA Remediation Deadline. Expiration of the CISA remediation deadline as described in [BOD 22-01](https://www.cisa.gov/news-events/directives/bod-22-01-reducing-significant-risk-known-exploited-vulnerabilities).

## References

- https://www.fortiguard.com/psirt/FG-IR-20-233
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-13379.yaml

## Live exploitation data

The [Live Exploit Tracker page](https://tracker.crowdsec.net/cves/CVE-2018-13379) follows observed exploitation activity for CVE-2018-13379. [Request an API key](https://tracker.crowdsec.net/request-api-key) for full access to its exploitation timeline, attacking IP addresses and blocklists.
