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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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.
Exploit-DB 1
- Castor Library - XML External Entity Information Disclosure EDB-39205 · remote · May 27, 2014 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| 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
- openSUSE-SU-2014:0822 vendor-advisory
- 20140527 CVE-2014-3004 - Castor Library Default Config could lead to XML External Entity (XXE) Attacks mailing-list
- 59427 third-party-advisory
- 67676 vdb-entry
- https://www.oracle.com/security-alerts/cpujan2020.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- http://packetstormsecurity.com/files/126854/Castor-Library-XXE-Disclosure.html
- https://quickview.cloudapps.cisco.com/quickview/bug/CSCvm56811