Skip to content
OpenAdvisories
Medium Public exploit CVE-2014-3004 EUVD-2022-4455GHSA-jwwr-fjgh-cv2x

Improper Restriction of XML External Entity Reference in Castor

Published Jun 11, 2014 · Updated Aug 6, 2024 · Assigned by mitre

Description

The default configuration for the Xerces SAX Parser in Castor before 1.3.3 allows context-dependent attackers to conduct XML External Entity (XXE) attacks via a crafted XML document.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 castor No fix yet —
Ubuntu 26.04 LTS castor No fix yet —
Ubuntu 25.10 castor No fix yet —
Ubuntu 24.04 LTS castor No fix yet —
Ubuntu 22.04 LTS castor No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS castor No fix yet —
Ubuntu 18.04 LTS castor No fix yet —
Ubuntu 16.04 LTS castor No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven castor:castor <= 1.0 — GHSA-jwwr-fjgh-cv2x
Maven org.codehaus.castor:castor < 1.3.3 1.3.3 GHSA-jwwr-fjgh-cv2x

References