Improper Restriction of XML External Entity Reference
CVE-2024-52007
Summary
HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. "XSLT" parsing performed by various components is vulnerable to XML external entity injections. A processed XML file with a malicious DTD tag """( <!DOCTYPE foo [<!ENTITY example SYSTEM "/etc/passwd"> ]>""" could produce XML containing data from the host system. This impacts use cases where "org.hl7.fhir.core" is being used to within a host where external clients can submit XML. This is related to GHSA-6cr6-ph3p-f5rf, in which its fix (#1571 & #1717) was incomplete. This issue affects versions prior to 6.4.0.
- LOW
- NETWORK
- NONE
- CHANGED
- NONE
- NONE
- HIGH
- NONE
CWE-611 - Improper Restriction of XML External Entity Reference
Listed 4th in the 'OWASP Top Ten', XML External Entities (XXE) vulnerability allows attackers to provide an XML input that contains an external entity. When the XML is parsed, it can cause data extraction and manipulation, execution of commands, denial-of-service attacks, and server-side request forgery.
References
Advisory Timeline
- Published