CAPEC-CAPEC-84 - CERT CVE
Naziv

XQuery Injection

Sažetak This attack utilizes XQuery to probe and attack server systems; in a similar manner that SQL Injection allows an attacker to exploit SQL calls to RDBMS, XQuery Injection uses improperly validated data that is passed to XQuery commands to traverse and execute commands that the XQuery routines have access to. XQuery injection can be used to enumerate elements on the victim's environment, inject commands to the local host, or execute queries to remote files and data sources.
Preduvjeti The XQL must execute unvalidated data
Rješenja ['Design: Perform input allowlist validation on all XML input', 'Implementation: Run xml parsing and query infrastructure with minimal privileges so that an attacker is limited in their ability to probe other system resources from XQL.']