Detailedlikelihood: Highseverity: HighDraft
CAPEC-83XPath Injection
Abstraction
Detailed
Status
Draft
Likelihood
High
Severity
High
Description
An attacker can craft special user-controllable input consisting of XPath expressions to inject the XML database and bypass authentication or glean information that they normally would not be able to. XPath Injection enables an attacker to talk directly to the XML database, thus bypassing the application completely. XPath Injection results from the failure of an application to properly sanitize input used as part of dynamic XPath expressions used to query an XML database.
Related weaknesses· 4
Related attack patterns· 1
Exploits4
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Improper Input Validationcwe-20 | 100% | live |
| Weakness | Improper Neutralizationcwe-707 | 100% | live |
| Weakness | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')cwe-74 | 100% | live |
| Weakness | XML Injection (aka Blind XPath Injection)cwe-91 | 100% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.