XML External Entity Reference (XXE) vulnerability can lead to a Server Side Request Forgery attack in gematik app-referencevalidator
Description
The reference validator is a tool to perform advanced validation of FHIR resources for TI applications and interoperability standards. The profile location routine in the referencevalidator commons package is vulnerable to XML External Entities attack due to insecure defaults of the used Woodstox WstxInputFactory. A malicious XML resource can lead to network requests issued by referencevalidator and thus to a Server Side Request Forgery attack. The vulnerability impacts applications which use referencevalidator to process XML resources from untrusted sources. The problem has been patched with the 2.5.1 version of the referencevalidator. Users are strongly recommended to update to this version or a more recent one. A pre-processing or manual analysis of input XML resources on existence of DTD definitions or external entities can mitigate the problem.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
de.gematik.refv.commons:commonsMaven | < 2.5.1 | 2.5.1 |
Affected products
2- gematik/app-referencevalidatorv5Range: < 2.5.1
Patches
Vulnerability mechanics
References
9- github.com/advisories/GHSA-68j8-fp38-p48qghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-46984ghsaADVISORY
- cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.htmlghsax_refsource_MISCWEB
- github.com/gematik/app-referencevalidator/commit/d6d27613fab7a8dd08534946f29e0c51f319cad6ghsaWEB
- github.com/gematik/app-referencevalidator/releases/tag/2.5.1ghsax_refsource_MISCWEB
- github.com/gematik/app-referencevalidator/security/advisories/GHSA-68j8-fp38-p48qghsax_refsource_CONFIRMWEB
- owasp.org/www-community/attacks/Server_Side_Request_Forgeryghsax_refsource_MISCWEB
- owasp.org/www-project-top-ten/2017/A4_2017-XML_External_Entities_(XXE)ghsax_refsource_MISCWEB
- owasp.org/www-project-top-ten/2017/A4_2017-XML_External_Entities_(XXE)ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.