WaratekVRT Sign in

CVE-2018-11758 Apache Cayenne

Affected softwareApache Cayenne
Severity8.1 High CVSS 3.0 2 scores
Fixed in3.1.3, 4.1
WeaknessXML external entity (XXE) (CWE-611)
Published22 Aug 2018
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 8 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 2.9% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full XXE
  • Action available security rule
  • Review automated Inferred
  • Record active
Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR xxe security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-611: XML External Entity Reference.

How to mitigate CVE-2018-11758

Upgrade Apache Cayenne to a release that fixes it: 3.1.3 or 4.1. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

8.1 HIGH v3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.0 8.1 HIGH CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N NVD Primary published
CVSS 2.0 5.8 none AV:N/AC:M/Au:N/C:P/I:P/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.cayenne:cayenne-parent 0 3.1.3 unbounded
org.apache.cayenne:cayenne-parent 4.0 4.1 unbounded

Products and versions

2 products, 14 version entries
SourceVendorProductSchemeAffected versions
nvd apache cayenne generic ≤ 3.1.0 · 3.1.1 · 3.1.2 · 3.2:milestone1 · 4.0:beta1 · 4.0:beta2 · 4.0:milestone2 · 4.0:milestone3 · 4.0:milestone4 · 4.0:milestone5 · 4.0:rc1 · 4.1:milestone1
osv org.apache.cayenne cayenne-parent generic < 3.1.3 · ≥ 4.0 and < 4.1

References

URLTags
https://lists.apache.org/thread.html/ed60a4d329be3c722f105317ca883986dfcd17615c70d1df87f4528c@%3Cuser.cayenne.apache.org%3E WEB
apache/cayenne PACKAGE
http://www.securityfocus.com/bid/105142 Third Party Advisory, VDB Entry
https://lists.apache.org/thread.html/ed60a4d329be3c722f105317ca883986dfcd17615c70d1df87f4528c%40%3Cuser.cayenne.apache.org%3E

Timeline

Published2018-08-22By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.