CVE Vulnerabilities

CVE-2018-11758

Improper Restriction of XML External Entity Reference

Published: Aug 22, 2018 | Modified: Nov 21, 2024
CVSS 3.x
8.1
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
CVSS 2.x
5.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:N
RedHat/V2
RedHat/V3
Ubuntu
root.io logo minimus.io logo echo.ai logo

This affects Apache Cayenne 4.1.M1, 3.2.M1, 4.0.M2 to 4.0.M5, 4.0.B1, 4.0.B2, 4.0.RC1, 3.1, 3.1.1, 3.1.2. CayenneModeler is a desktop GUI tool shipped with Apache Cayenne and intended for editing Cayenne ORM models stored as XML files. If an attacker tricks a user of CayenneModeler into opening a malicious XML file, the attacker will be able to instruct the XML parser built into CayenneModeler to transfer files from a local machine to a remote machine controlled by the attacker. The cause of the issue is XML parser processing XML External Entity (XXE) declarations included in XML. The vulnerability is addressed in Cayenne by disabling XXE processing in all operations that require XML parsing.

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

NameVendorStart VersionEnd Version
CayenneApache*3.1.0 (including)
CayenneApache3.1.1 (including)3.1.1 (including)
CayenneApache3.1.2 (including)3.1.2 (including)
CayenneApache3.2-milestone1 (including)3.2-milestone1 (including)
CayenneApache4.0-beta1 (including)4.0-beta1 (including)
CayenneApache4.0-beta2 (including)4.0-beta2 (including)
CayenneApache4.0-milestone2 (including)4.0-milestone2 (including)
CayenneApache4.0-milestone3 (including)4.0-milestone3 (including)
CayenneApache4.0-milestone4 (including)4.0-milestone4 (including)
CayenneApache4.0-milestone5 (including)4.0-milestone5 (including)
CayenneApache4.0-rc1 (including)4.0-rc1 (including)
CayenneApache4.1-milestone1 (including)4.1-milestone1 (including)

Potential Mitigations

References