XML Injection via --> in Codehaus Plexus XmlWriterUtil
CVE-2022-4245 Published on September 25, 2023
Codehaus-plexus: xml external entity (xxe) injection
A flaw was found in codehaus-plexus. The org.codehaus.plexus.util.xml.XmlWriterUtil#writeComment fails to sanitize comments for a --> sequence. This issue means that text contained in the command string could be interpreted as XML and allow for XML injection.
Vulnerability Analysis
CVE-2022-4245 can be exploited with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality, a small impact on integrity and availability.
Timeline
Reported to Red Hat.
Made public.
Weakness Type
What is an aka Blind XPath Injection Vulnerability?
The software does not properly neutralize special elements that are used in XML, allowing attackers to modify the syntax, content, or commands of the XML before it is processed by an end system. Within XML, special elements could include reserved words or characters such as "<", ">", """, and "&", which could then be used to add new data or modify XML syntax.
CVE-2022-4245 has been classified to as an aka Blind XPath Injection vulnerability or weakness.
Products Associated with CVE-2022-4245
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2022-4245 are published in these products:
Affected Versions
Red Hat RHINT Camel-K-1.10.1: Red Hat RHPAM 7.13.1 async: Red Hat A-MQ Clients 2: Red Hat A-MQ Online: Red Hat build of Apache Camel for Spring Boot: Red Hat build of Quarkus: Red Hat Data Grid 8: Red Hat Decision Manager 7: Red Hat Enterprise Linux 7: Red Hat Enterprise Linux 8: Red Hat Enterprise Linux 8: Red Hat Enterprise Linux 9: Red Hat Enterprise Linux 9: Red Hat Integration Camel Quarkus: Red Hat Integration Change Data Capture: Red Hat Integration Service Registry: Red Hat JBoss A-MQ 7: Red Hat JBoss Data Grid 7: Red Hat JBoss Enterprise Application Platform 6: Red Hat JBoss Enterprise Application Platform 7: Red Hat JBoss Enterprise Application Platform Expansion Pack: Red Hat JBoss Fuse 6: Red Hat JBoss Fuse 7: Red Hat JBoss Fuse Service Works 6: Red Hat JBoss Web Server 3: Red Hat JBoss Web Server 5: Red Hat OpenShift Application Runtimes: Red Hat Process Automation 7: Red Hat Single Sign-On 7: Red Hat Software Collections: Red Hat Software Collections: Red Hat Software Collections: Red Hat Software Collections: Red Hat Software Collections: Red Hat Software Collections: Red Hat Software Collections: Red Hat Software Collections: Red Hat Software Collections: Red Hat Software Collections: Red Hat Software Collections: Red Hat Software Collections: Red Hat support for Spring Boot: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.