#HITB2012AMS D2T2 – Nicolas Gregoire – Attacking XML Preprocessing

Posted: 26/06/2012 in Uncategorized
Tags: , , , ,

Documenting more than a year of research in XML technologies, this talk by Nicolas Grégoire at Hack in The Box 2012 Amsterdam details security implications of the XML format and its processing practices.

Discussed targets range from browsers to enterprise-level security solutions and web-service back-ends. Several key technologies will be addressed: XML grammar aka DTD, homo-iconicity and self-contained dynamic SVG images, design and implementation vulnerabilities in XSLT and XPath engines, in-memory exploitation of Java-based XSLT engines, XML databases and more. PoC code has and will systematically be released for every (patched) vulnerability.

The goal of this presentation is to document and publicize state of the art attacks including:

  • Data obfuscation in XML containers (Adobe, VLC, …)
  • DTD manipulation used to read (possibly binary) files, steal hashes or generate XSS
  • Dangerous extensions in newly studied XSLT and XQuery engines (Adobe, Oracle, XT, 4Suite, …)
  • Grammar and mutation-based fuzzing of XPath and XSLT engines
  • Bizarre combination of grammar, data, code and markup in a single XML file
  • How to trigger XSLT code in security protocols (SAML, WS-Security, …)
  • Advanced in-memory exploitation of Java based XSLT engines.

See on www.youtube.com

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s