FortiosOperating system · Fortinet

CVE-2018-13380

MEDIUM · 6.1 CVSS v3.1 Published 2019-06-04
Fix available
A fix is available. Upgrade to after 6.0.4 or later.
See remediation →
68/100
Remediation priority · Elevated
High EPSS Remotely reachable No privileges

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

A stored Cross-site Scripting (XSS) vulnerability exists in the SSL VPN web portal of Fortinet FortiOS (versions 5.2 through 6.0.4) and FortiProxy (versions 1.2.8 and below, 2.0.0). The vulnerability resides in error or message handling parameters where unsanitized user input is reflected back to the browser, allowing attackers to execute arbitrary JavaScript code in the context of authenticated VPN users.

MitigationUpgrade FortiOS to version 6.0.5 or later (or 5.6.8+, 5.4.13+) and FortiProxy to version 1.2.9 or later (or 2.0.1+). As a temporary workaround, consider restricting SSL VPN web portal access or implementing WAF rules to filter malicious script payloads.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
FortiosOperating system
Affected:<= 5.2>= 5.4.0, <= 5.4.12>= 5.6.0, <= 5.6.7>= 6.0.0, <= 6.0.4
FortiproxyApplication
Affected:<= 1.2.8= 2.0.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify FortiOS version
    Run 'get system status' or 'fwconsole -i version' via CLI to retrieve the installed FortiOS version
    Affected if version falls within 5.2 to 5.4.12, 5.6.0 to 5.6.7, or 6.0.0 to 6.0.4
  2. Identify FortiProxy version
    Run 'get system status' via CLI to retrieve the installed FortiProxy version
    Affected if version is 1.2.8 or below, or exactly 2.0.0
  3. Confirm SSL VPN web portal is enabled
    Navigate to VPN > SSL-VPN Settings in the web UI or run 'get vpn ssl settings' via CLI to verify the portal is active
    Affected if SSL VPN web portal access is enabled and users can authenticate to the portal
  4. Inspect error and message handling parameters
    Log into the SSL VPN web portal as an authenticated user, submit crafted input in error message fields or message parameters (such as username, custom messages, or error display fields), then refresh the page to see if the input is reflected without sanitization
    Affected if unsanitized user-supplied input is reflected back and executed as JavaScript in the browser

You are affected if your FortiOS version is 5.2 through 5.4.12, 5.6.0 through 5.6.7, or 6.0.0 through 6.0.4, OR your FortiProxy version is 1.2.8 or below or exactly 2.0.0, AND the SSL VPN web portal is enabled with unsanitized input reflected in error/message handling parameters.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Upgrade available Upgrade to a release after 6.0.4
Interim mitigation

Upgrade FortiOS to version 6.0.5 or later (or 5.6.8+, 5.4.13+) and FortiProxy to version 1.2.9 or later (or 2.0.1+). As a temporary workaround, consider restricting SSL VPN web portal access or implementing WAF rules to filter malicious script payloads.

Fix this in Fortios Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA1.0 h
10.0 hours of engineering $1,750
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,800.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2018-13380 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2018-13380 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data