GitHub Advisoryadvisory · Maven

GHSA-85hw-w436-c725 XML External Entity Reference in Apache Cayenne

HIGH Published 2022-05-14 Modified 2022-11-04 Official page ↗
Aliases
CVE-2018-11758
Ecosystem
Maven
Packages
org.apache.cayenne:cayenne-parent
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Weaknesses
CWE-611
Reviewed
2022-11-04

Affected packages

• Maven org.apache.cayenne:cayenne-parent: < 3.1.3 → fixed in 3.1.3 • Maven org.apache.cayenne:cayenne-parent: >= 4.0, < 4.1 → fixed in 4.1

Description

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.

Related

Alias · CVE (1)

  • CVE-2018-11758 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. vulnerability

Weakness · CWE (1)

  • CWE-611 Improper Restriction of XML External Entity Reference weakness

References