.. / CVE-2017-14186

Exploit for FortiGate FortiOS SSL VPN Web Portal - Cross-Site Scripting (CVE-2017-14186)

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.

Nuclei Template

View the template here CVE-2017-14186.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2017/CVE-2017-14186.yaml
Copy

References:

http://www.securitytracker.com/id/1039891
https://web.archive.org/web/20210801135714/http://www.securitytracker.com/id/1039891
https://nvd.nist.gov/vuln/detail/CVE-2017-14186
https://fortiguard.com/advisory/FG-IR-17-242
https://www.fortiguard.com/psirt/FG-IR-17-242