XPATH Injection
XPath Injection is an attack technique used to exploit applications that construct XPath (XML Path Language) queries from user-supplied input to query or navigate XML documents.
Summary
Tools
orf/xcat - Automate XPath injection attacks to retrieve documents
feakk/xxxpwn - Advanced XPath Injection Tool
aayla-secura/xxxpwn_smart - A fork of xxxpwn using predictive text
Harshal35/XmlChor - Xpath injection exploitation tool
Methodology
Similar to SQL injection, you want to terminate the query properly:
Blind Exploitation
Size of a string
Access a character with
substring, and verify its value thecodepoints-to-stringfunction
Out Of Band Exploitation
Labs
References
Last updated