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
Exploitation
Blind exploitation
Out Of Band Exploitation
Tools
References
Exploitation
Similar to SQL : "string(//user[name/text()='" +vuln_var1+ "' and password/text()=’" +vuln_var1+ "']/account/text())"
Blind Exploitation
Size of a string
Extract a character
Out Of Band Exploitation
Tools
xcat - Automate XPath injection attacks to retrieve documents
xxxpwn - Advanced XPath Injection Tool
xxxpwn_smart - A fork of xxxpwn using predictive text
XmlChor - Xpath injection exploitation tool
References
Last updated