CVE-2018-13380 Cross-site scripting in Fortinet FortiOS and FortiProxy

Medium 4.7 Published Updated

Attackers can execute malicious scripts via SSL VPN web portal error parameters, potentially compromising user sessions and data.

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-2018-13380?

CVE-2018-13380 is a medium-severity cross-site scripting vulnerability in Fortinet Fortios, published on 4 Jun 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 (XSS) vulnerability in Fortinet FortiOS 6.0.0 to 6.0.4, 5.6.0 to 5.6.7, 5.4.0 to 5.4.12, 5.2 and below and Fortinet FortiProxy 2.0.0, 1.2.8 and below under SSL VPN web portal allows attacker to execute unauthorized malicious script code via the error or message handling parameters.

Weakness: CWE-79

Which versions are affected by CVE-2018-13380?

It affects 2 products.

Products include Fortinet Fortios, Fortinet Fortiproxy.

How do I fix CVE-2018-13380?

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

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

Public exploit code: 1 Nuclei template.

All Fortinet Fortios vulnerabilities

Sources

Also known as GHSA-p6vg-vj3x-m483.

Is CVE-2018-13380 in your software?

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

Check your SBOMs for free