CVE-2017-14186 Cross-site scripting in FortiOS
Remote attackers can inject scripts or redirect users via the SSL VPN web portal login parameter, compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2017-14186?
CVE-2017-14186 is a medium-severity cross-site scripting vulnerability in Fortinet Fortios, published on 29 Nov 2017. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A Cross-site Scripting (XSS) vulnerability in Fortinet FortiOS 6.0.0 to 6.0.4, 5.6.0 to 5.6.7, 5.4 and below versions under SSL VPN web portal allows a remote user to inject arbitrary web script or HTML in the context of the victim's browser via the login redir parameter. An URL Redirection attack may also be feasible by injecting an external URL via the affected parameter.
Weakness: CWE-79
Which versions are affected by CVE-2017-14186?
It affects 1 product.
Products include Fortinet Fortios.
How do I fix CVE-2017-14186?
No fix has been published for CVE-2017-14186 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2017-14186 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-14186 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Fortinet Fortios
Sources
Also known as GHSA-c8pf-wf99-pr3g.