Skip to content

XML External Entity Reference in Apache Cayenne

High severity GitHub Reviewed Published May 14, 2022 to the GitHub Advisory Database • Updated Feb 2, 2023

Package

maven org.apache.cayenne:cayenne-parent (Maven)

Affected versions

< 3.1.3
>= 4.0, < 4.1

Patched versions

3.1.3
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.

References

Published by the National Vulnerability Database Aug 22, 2018
Published to the GitHub Advisory Database May 14, 2022
Reviewed Nov 4, 2022
Last updated Feb 2, 2023

Severity

High
8.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Weaknesses

CVE ID

CVE-2018-11758

GHSA ID

GHSA-85hw-w436-c725

Source code

apache/cayenne
Checking history
See something to contribute? Suggest improvements for this vulnerability.