CWE-652Improper Neutralization of Data within XQuery Expressions ('XQuery Injection')

PUBLISHEDweakness recordHigh
released 2008-01-30 · last modified 2025-12-11

Metadata

CWE ID:
CWE-652
摘要:
Base
结构:
Simple
状态:
Incomplete
发布日期:
2008-01-30
更新日期:
2025-12-11

名称

Improper Neutralization of Data within XQuery Expressions ('XQuery Injection')

描述

The product uses external input to dynamically construct an XQuery 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.

The 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).

常见后果

范围:
Confidentiality
影响:
Read Application Data
注释:
An attacker might be able to read sensitive information from the XML database.

相关 CWE