Improper Neutralization of Data within XPath Expressions ('XPath Injection')
Description The software uses external input to dynamically construct an XPath expression used to retrieve data from an XML database, but it does not neutralize or incorrectly neutralizes that input. This allows an attacker to control the structure of the query. Extended DescriptionThe net effect is that the attacker will have control over the information selected from the XML database and may use that ability to control application flow, modify logic, retrieve unauthorized data, or bypass important checks (e.g. authentication). Enabling Factors for ExploitationXPath queries are constructed dynamically using user supplied input Likelihood of Exploit: High Applicable PlatformsLanguage Class: All Time Of Introduction
Common Consequences
Detection MethodsNone Potential Mitigations
RelationshipsThis weakness is similar to other weaknesses that enable injection style attacks, such as SQL injection, command injection and LDAP injection. The main difference is that the target of attack here is the XML database.
Demonstrative Examples (Details) White Box Definitions None Black Box Definitions None Taxynomy Mappings
References:
|