XXE in Gematik App-Referencevalidator
CVE-2024-46984
- CVSS v3
- 8.6 High
- Public exploits
- None known
- EPSS
- 0.006 · 51.3th percentile
- Published
- 2024-09-19
What to do
- Fixed in
2.5.1- Affected
- 2 affected products
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.
Vulnerability class: XXE (XML External Entity)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Changed
S:C - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.006, 51.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Gematik App-Referencevalidator — versions < 2.5.1
- Gematik Reference Validator
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/gematik/app-referencevalidator/security/advisories/GHSA-68j8-fp38-p48q (Vendor Advisory)
- https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html#transformerfactory (Technical Description)
- https://github.com/gematik/app-referencevalidator/releases/tag/2.5.1 (Release Notes)
- https://owasp.org/www-community/attacks/Server_Side_Request_Forgery (Technical Description)
- https://owasp.org/www-project-top-ten/2017/A4_2017-XML_External_Entities_(XXE) (Technical Description)
- https://owasp.org/www-project-top-ten/2017/A4_2017-XML_External_Entities_(XXE)# (Technical Description)