XXE defence(les)s in JDK XML parsers
Résumé
This article will demonstrate that many Oracle JDK XML
parsers are vulnerable to Xml eXternal Entity (XXE) attack. We shall
also demonstrate that existing Java defenses against XXE attacks fall
short and fail to protect against malicious malformed XML, which re-
sults in a parsing error with external entities successfully expanded. Our
exploit has the capability of exfiltrating files and launching directory
traversals. We present a proof of concept dumping filenames under /tmp
directory from a remote server running JDK 7 via untrusted XML files.
It is our hope to raise awareness of the industry regarding the dangers
of XXE-type of attacks. This should also result in upgrading the best
practices for disabling external entity resolution for several XML parsers
Domaines
Informatique [cs]
Fichier principal
Jonathan_Brossard_Blackhat_2015_XXE_Defenseless_JDK_XML_Parsers_JAVA.pdf (86.22 Ko)
Télécharger le fichier
Origine | Fichiers produits par l'(les) auteur(s) |
---|---|
Licence |