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

CWE-91CWE-74CWE-20CWE-707

Related attack patterns· 1

CAPEC-250 (ChildOf)

Exploits4

TypeTargetConfidenceTier
WeaknessImproper Input Validationcwe-20100%live
WeaknessImproper Neutralizationcwe-707100%live
WeaknessImproper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')cwe-74100%live
WeaknessXML Injection (aka Blind XPath Injection)cwe-91100%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CAPEC
XQuery Injection
CAPEC
XML Injection
CAPEC
SQL Injection
CAPEC
XSS Through HTTP Query Strings
CAPEC
Command Injection
CAPEC
Cross-Site Scripting (XSS)
Sourced from MITRE CAPEC. Curated by Adam Lundqvist, SQUR.