CVE-2024-46984
Woodstox WstxInputFactory XML External Entity Server-Side Request Forgery in 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.
INFO
Published Date :
Sept. 19, 2024, 11:15 p.m.
Last Modified :
Sept. 25, 2024, 5:49 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-46984
.
URL | Resource |
---|---|
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://github.com/gematik/app-referencevalidator/security/advisories/GHSA-68j8-fp38-p48q | Vendor Advisory |
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 |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-46984
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-46984
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Sep. 25, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html#transformerfactory No Types Assigned https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html#transformerfactory Technical Description Changed Reference Type https://github.com/gematik/app-referencevalidator/releases/tag/2.5.1 No Types Assigned https://github.com/gematik/app-referencevalidator/releases/tag/2.5.1 Release Notes Changed Reference Type https://github.com/gematik/app-referencevalidator/security/advisories/GHSA-68j8-fp38-p48q No Types Assigned https://github.com/gematik/app-referencevalidator/security/advisories/GHSA-68j8-fp38-p48q Vendor Advisory Changed Reference Type https://owasp.org/www-community/attacks/Server_Side_Request_Forgery No Types Assigned https://owasp.org/www-community/attacks/Server_Side_Request_Forgery Technical Description Changed Reference Type https://owasp.org/www-project-top-ten/2017/A4_2017-XML_External_Entities_(XXE) No Types Assigned https://owasp.org/www-project-top-ten/2017/A4_2017-XML_External_Entities_(XXE) Technical Description Changed Reference Type https://owasp.org/www-project-top-ten/2017/A4_2017-XML_External_Entities_(XXE)# No Types Assigned https://owasp.org/www-project-top-ten/2017/A4_2017-XML_External_Entities_(XXE)# Technical Description Added CPE Configuration OR *cpe:2.3:a:gematik:reference_validator:*:*:*:*:*:*:*:* versions up to (excluding) 2.5.1 -
CVE Received by [email protected]
Sep. 19, 2024
Action Type Old Value New Value Added 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. Added Reference GitHub, Inc. https://github.com/gematik/app-referencevalidator/security/advisories/GHSA-68j8-fp38-p48q [No types assigned] Added Reference GitHub, Inc. https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html#transformerfactory [No types assigned] Added Reference GitHub, Inc. https://github.com/gematik/app-referencevalidator/releases/tag/2.5.1 [No types assigned] Added Reference GitHub, Inc. https://owasp.org/www-community/attacks/Server_Side_Request_Forgery [No types assigned] Added Reference GitHub, Inc. https://owasp.org/www-project-top-ten/2017/A4_2017-XML_External_Entities_(XXE) [No types assigned] Added Reference GitHub, Inc. https://owasp.org/www-project-top-ten/2017/A4_2017-XML_External_Entities_(XXE)# [No types assigned] Added CWE GitHub, Inc. CWE-611 Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-46984
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-46984
weaknesses.