CVE Vulnerabilities

CVE-2017-18197

Improper Restriction of XML External Entity Reference

Published: Feb 24, 2018 | Modified: Nov 21, 2024
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
4.8 MODERATE
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
Ubuntu
MEDIUM

In mxGraphViewImageReader.java in mxGraph before 3.7.6, the SAXParserFactory instance in convert() is missing flags to prevent XML External Entity (XXE) attacks, as demonstrated by /ServerView.

Weakness

The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.

Affected Software

Name Vendor Start Version End Version
Mxgraph Jgraph * 3.7.5 (including)
Libjgraphx-java Ubuntu artful *
Libjgraphx-java Ubuntu bionic *
Libjgraphx-java Ubuntu cosmic *
Libjgraphx-java Ubuntu esm-apps/bionic *
Libjgraphx-java Ubuntu esm-apps/xenial *
Libjgraphx-java Ubuntu trusty *
Libjgraphx-java Ubuntu upstream *
Libjgraphx-java Ubuntu xenial *

Potential Mitigations

References