XML External Entity Injection in HL7 FHIR Core (org.hl7.fhir.core) <6.3.23
CVE-2024-45294 Published on September 6, 2024
`org.hl7.fhir.core` XXE vulnerability in XSLT transforms
The HL7 FHIR Core Artifacts repository provides the java core object handling code, with utilities (including validator), for the Fast Healthcare Interoperability Resources (FHIR) specification. Prior to version 6.3.23, XSLT transforms performed by various components are vulnerable to XML external entity injections. A processed XML file with a malicious DTD tag 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 issue has been patched in release 6.3.23. No known workarounds are available.
Vulnerability Analysis
CVE-2024-45294 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality, with no impact on integrity and availability.
Weakness Type
What is a XXE Vulnerability?
The software processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.
CVE-2024-45294 has been classified to as a XXE vulnerability or weakness.
Affected Versions
hapifhir org.hl7.fhir.core Version < 6.3.23 is affected by CVE-2024-45294Vulnerable Packages
The following package name and versions may be associated with CVE-2024-45294
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| maven | ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may | < 6.3.23 | 6.3.23 |
| maven | ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 | < 6.3.23 | 6.3.23 |
| maven | ca.uhn.hapi.fhir:org.hl7.fhir.r4 | < 6.3.23 | 6.3.23 |
| maven | ca.uhn.hapi.fhir:org.hl7.fhir.r4b | < 6.3.23 | 6.3.23 |
| maven | ca.uhn.hapi.fhir:org.hl7.fhir.r5 | < 6.3.23 | 6.3.23 |
| maven | ca.uhn.hapi.fhir:org.hl7.fhir.utilities | < 6.3.23 | 6.3.23 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.