Skip to main content

Improper Restriction of XML External Entity Reference

CVE-2024-52807

Severity High
Score 8.6/10

Summary

The HL7 FHIR IG Publisher, a tool for creating standard FHIR IGs, is vulnerable to XML external entity (XXE) injection attacks in versions prior to 1.7.4. Certain XSLT transforms performed by various components allow a malicious XML file with a crafted DTD tag, such as "( ]>", to extract data from the host system. This vulnerability affects scenarios where "org.hl7.fhir.publisher" is used on a host that permits external clients to submit XML files. An earlier release attempted to address the issue but provided an incomplete solution, as revealed by further testing.

  • 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.

Advisory Timeline

  • Published