CVE-2018-11758 XML External Entity Reference in Apache Cayenne
An attacker can read local files or cause denial of service by tricking a user into opening a malicious XML file in Apache Cayenne Modeler.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-11758?
CVE-2018-11758 is a high-severity vulnerability in Apache Cayenne, published on 22 Aug 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-611
Which versions are affected by CVE-2018-11758?
4 open source packages ship an affected version, including org.apache.cayenne:cayenne-parent. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.cayenne:cayenne-parent Maven | All versions | 3.1.3 |
org.apache.cayenne:cayenne-parent Maven | All versions | 3.1.3 |
org.apache.cayenne:cayenne-parent Maven | From 4.0 | 4.1 |
org.apache.cayenne:cayenne-parent Maven | From 4.0 | 4.1 |
Products include Apache Cayenne.
How do I fix CVE-2018-11758?
Upgrade org.apache.cayenne:cayenne-parent to a fixed version for your release line: 3.1.3 or 4.1.
Is CVE-2018-11758 being exploited?
There is no known exploitation of CVE-2018-11758 in the wild and no public exploit code.
Other vulnerabilities in Apache Cayenne
Sources
Also known as GHSA-85hw-w436-c725.