{
  "id": "CVE-2018-13379",
  "url": "https://poc.griffinguard.io/cve/CVE-2018-13379",
  "published_at": "2019-06-04T20:18:08Z",
  "title": "Fortinet FortiOS SSL VPN Path Traversal Vulnerability",
  "vendor": "Fortinet",
  "product": "Fortinet FortiOS, FortiProxy",
  "cvss": {
    "score": 9.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2021-11-03",
    "known_ransomware_campaign_use": "Known",
    "days_after_publication": 883
  },
  "first_poc": {
    "created_at": "2019-08-11T09:44:37Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 67.6,
    "repo": "milo2012/CVE-2018-13379",
    "source": "github"
  },
  "poc_repo_count": 13,
  "exploit_count": 4,
  "suspicious_repo_count": 2,
  "edge_device": {
    "category": "Firewall / VPN",
    "confidence": "high",
    "reason": "known edge product: Fortinet Fortinet FortiOS, FortiProxy Fortinet FortiOS SSL"
  },
  "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.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cna": 9.1
  },
  "repos": [
    {
      "repo": "milo2012/CVE-2018-13379",
      "url": "https://github.com/milo2012/CVE-2018-13379",
      "created_at": "2019-08-11T09:44:37Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 253,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2011-07-09T23:27:29Z"
    },
    {
      "repo": "jpiechowka/at-doom-fortigate",
      "url": "https://github.com/jpiechowka/at-doom-fortigate",
      "created_at": "2019-08-18T19:24:48Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 5,
      "is_poc": "yes",
      "kind": "scanner",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2014-10-06T17:55:30Z"
    },
    {
      "repo": "0xHunter/FortiOS-Credentials-Disclosure",
      "url": "https://github.com/0xHunter/FortiOS-Credentials-Disclosure",
      "created_at": "2019-09-24T08:49:46Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 6,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2019-09-24T08:20:33Z"
    },
    {
      "repo": "RedcentricCyber/Fortigate",
      "url": "https://github.com/RedcentricCyber/Fortigate",
      "created_at": "2019-10-09T21:03:19Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 81,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2012-01-06T16:11:36Z"
    },
    {
      "repo": "Blazz3/cve2018-13379-nmap-script",
      "url": "https://github.com/Blazz3/cve2018-13379-nmap-script",
      "created_at": "2019-10-14T04:09:44Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 12,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-11-24T18:25:07Z"
    },
    {
      "repo": "yukar1z0e/CVE-2018-13379",
      "url": "https://github.com/yukar1z0e/CVE-2018-13379",
      "created_at": "2020-05-18T01:37:13Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-10-20T12:08:05Z"
    },
    {
      "repo": "pwn3z/CVE-2018-13379-FortinetVPN",
      "url": "https://github.com/pwn3z/CVE-2018-13379-FortinetVPN",
      "created_at": "2020-09-17T18:00:11Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2020-09-17T11:13:36Z"
    },
    {
      "repo": "k4nfr3/CVE-2018-13379-Fortinet",
      "url": "https://github.com/k4nfr3/CVE-2018-13379-Fortinet",
      "created_at": "2020-11-19T21:22:25Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 6,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-11-23T16:50:41Z"
    },
    {
      "repo": "Zeop-CyberSec/fortios_vpnssl_traversal_leak",
      "url": "https://github.com/Zeop-CyberSec/fortios_vpnssl_traversal_leak",
      "created_at": "2020-11-30T08:39:05Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 9,
      "is_poc": "no",
      "kind": "list",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-07-11T13:41:13Z"
    },
    {
      "repo": "B1anda0/CVE-2018-13379",
      "url": "https://github.com/B1anda0/CVE-2018-13379",
      "created_at": "2020-12-14T12:17:03Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 9,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-11-10T07:13:23Z"
    },
    {
      "repo": "nescam123/forti",
      "url": "https://github.com/nescam123/forti",
      "created_at": "2020-12-28T22:51:16Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 30 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2020-12-18T09:16:56Z"
    },
    {
      "repo": "nivdolgin/CVE-2018-13379",
      "url": "https://github.com/nivdolgin/CVE-2018-13379",
      "created_at": "2021-09-11T13:12:31Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-09-21T17:00:21Z"
    },
    {
      "repo": "kh4sh3i/CVE-2018-13379",
      "url": "https://github.com/kh4sh3i/CVE-2018-13379",
      "created_at": "2025-09-21T10:41:04Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-05-02T13:49:16Z"
    },
    {
      "repo": "Zierax/CVE-2018-13379",
      "url": "https://github.com/Zierax/CVE-2018-13379",
      "created_at": "2026-02-05T19:12:17Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-12-07T21:47:15Z"
    },
    {
      "repo": "Justjeff211/conti-ransomware-writeup",
      "url": "https://github.com/Justjeff211/conti-ransomware-writeup",
      "created_at": "2026-03-27T09:09:10Z",
      "first_seen_at": "2026-11-15T01:46:12.516Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 60,
      "suspicious": true,
      "suspicion_reasons": [
        "README asks to download a release/binary/archive",
        "description pushes a download/binary"
      ],
      "status": "analyzed",
      "owner_created_at": "2025-04-29T08:17:01Z"
    },
    {
      "repo": "1337or420/FortiGate-FortiWeb-Multi-Exploit-Extractor",
      "url": "https://github.com/1337or420/FortiGate-FortiWeb-Multi-Exploit-Extractor",
      "created_at": "2026-05-14T14:07:42Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "no",
      "kind": "list",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-04-01T16:52:24Z"
    },
    {
      "repo": "Instructor-Admin/Multi-threaded-mass-exploiter-CVE-2018-13379-POC",
      "url": "https://github.com/Instructor-Admin/Multi-threaded-mass-exploiter-CVE-2018-13379-POC",
      "created_at": "2026-05-23T13:25:08Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-02-15T20:07:42Z"
    },
    {
      "repo": "Vampsecure-Labs/vamp-forticheck",
      "url": "https://github.com/Vampsecure-Labs/vamp-forticheck",
      "created_at": "2026-07-31T10:13:19Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 2,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 80,
      "suspicious": true,
      "suspicion_reasons": [
        "pipes a download into a shell / encoded PowerShell in .github/workflows/security-scan.yml",
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2026-08-03T07:49:04Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/47287",
      "source": "exploitdb",
      "title": "Fortinet FortiOS 5.6.3 - 5.6.7 / FortiOS 6.0.0 - 6.0.4 - Credentials Disclosure (Metasploit)",
      "published_at": "2019-08-19T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/47288",
      "source": "exploitdb",
      "title": "Fortinet FortiOS 5.6.3 - 5.6.7 / FortiOS 6.0.0 - 6.0.4 - Credentials Disclosure",
      "published_at": "2019-08-19T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/fortios_vpnssl_traversal_creds_leak.rb",
      "source": "metasploit",
      "title": "Metasploit auxiliary: FortiOS Path Traversal Credential Gatherer (auxiliary/gather/fortios_vpnssl_traversal_creds_leak)",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-13379.yaml",
      "source": "nuclei",
      "title": "nuclei template: Fortinet FortiOS - Credentials Disclosure",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/remote/fgt_lang",
      "query_markers": [
        "lang=/../../../..//////////dev/cmdb/sslvpn_websession"
      ],
      "headers": [
        {
          "name": "Accept",
          "value": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
        },
        {
          "name": "Accept-Language",
          "value": "en-US,en;q=0.5"
        },
        {
          "name": "Upgrade-Insecure-Requests",
          "value": "1"
        }
      ],
      "ports": [
        443,
        8080,
        10443
      ],
      "user_agents": [
        "Mozilla/5.0",
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36",
        "body_markers_placeholder"
      ],
      "protocol": "https",
      "repos": [
        "0xHunter/FortiOS-Credentials-Disclosure",
        "B1anda0/CVE-2018-13379",
        "Instructor-Admin/Multi-threaded-mass-exploiter-CVE-2018-13379-POC",
        "RedcentricCyber/Fortigate",
        "Zierax/CVE-2018-13379",
        "jpiechowka/at-doom-fortigate",
        "k4nfr3/CVE-2018-13379-Fortinet",
        "kh4sh3i/CVE-2018-13379",
        "milo2012/CVE-2018-13379",
        "nescam123/forti",
        "pwn3z/CVE-2018-13379-FortinetVPN",
        "yukar1z0e/CVE-2018-13379"
      ],
      "repo_count": 12,
      "confidence": 0.7,
      "evidence": [
        "0xHunter/FortiOS-Credentials-Disclosure/CVE-2018-13379.py:29",
        "0xHunter/FortiOS-Credentials-Disclosure/CVE-2018-13379.py:67",
        "0xHunter/FortiOS-Credentials-Disclosure/CVE-2018-13379.py:94",
        "B1anda0/CVE-2018-13379/CVE-2018-13379.py:27",
        "Instructor-Admin/Multi-threaded-mass-exploiter-CVE-2018-13379-POC/exploit.py:167",
        "RedcentricCyber/Fortigate/fortigate.py:32",
        "Zierax/CVE-2018-13379/CVE-2018-13379.py:31",
        "jpiechowka/at-doom-fortigate/config/config.go:28",
        "jpiechowka/at-doom-fortigate/doom/gatling.go:27",
        "jpiechowka/at-doom-fortigate/networking/http.go:34",
        "k4nfr3/CVE-2018-13379-Fortinet/cve-2018-13379.py:35",
        "k4nfr3/CVE-2018-13379-Fortinet/cve-2018-13379.py:122",
        "kh4sh3i/CVE-2018-13379/CVE-2018-13379.py:23",
        "milo2012/CVE-2018-13379/CVE-2018-13379.py:12",
        "nescam123/forti/fortinew.py:26",
        "pwn3z/CVE-2018-13379-FortinetVPN/fortinet-ssl.sh:8",
        "yukar1z0e/CVE-2018-13379/exp.py:40"
      ]
    },
    {
      "method": "GET",
      "path_template": "//https://{var}",
      "protocol": "https",
      "repos": [
        "jpiechowka/at-doom-fortigate"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "jpiechowka/at-doom-fortigate/networking/http.go:34"
      ]
    }
  ],
  "rules": []
}
