CVE-2017-7340 Cross-site scripting in Fortinet FortiPortal

Medium 6.1 Published Updated

An attacker can execute unauthorized code via Cross-Site Scripting in the FortiView applicationSearch parameter of FortiPortal.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2017-7340?

CVE-2017-7340 is a medium-severity cross-site scripting vulnerability in Fortinet FortiPortal, published on 25 Mar 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A Cross-Site Scripting vulnerability in Fortinet FortiPortal versions 4.0.0 and below allows an attacker to execute unauthorized code or commands via the applicationSearch parameter in the FortiView functionality.

Weakness: CWE-79

Which versions are affected by CVE-2017-7340?

It affects 1 product.

Products include Fortinet Fortiportal.

How do I fix CVE-2017-7340?

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

There is no known exploitation of CVE-2017-7340 in the wild and no public exploit code.

Sources

Also known as GHSA-vr2g-px6h-r3mp.

Is CVE-2017-7340 in your software?

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

Check your SBOMs for free