CVE-2017-3131 Cross-site scripting in Fortinet FortiOS

Medium 5.4 Published Updated

Attackers can execute unauthorized code via XSS in FortiView filter input, requiring FortiOS upgrades.

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-3131?

CVE-2017-3131 is a medium-severity cross-site scripting vulnerability in Fortinet Fortios, published on 12 Sep 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 vulnerability in Fortinet FortiOS versions 5.4.0 through 5.4.4 and 5.6.0 allows attackers to execute unauthorized code or commands via the filter input in "Applications" under FortiView.

Weakness: CWE-79

Which versions are affected by CVE-2017-3131?

It affects 1 product.

Products include Fortinet Fortios.

How do I fix CVE-2017-3131?

No fix has been published for CVE-2017-3131 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-3131 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-3131 exists.

Public exploit code: 1 Exploit-DB entry and 1 Nuclei template.

All Fortinet Fortios vulnerabilities

Sources

Also known as GHSA-vpwv-v7qq-9vj6.

Is CVE-2017-3131 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free