Skip to main content

Posts

Showing posts with the label xxe

SMTP over XXE Exploits

hi guys...today m going to tell u xxe vulneribility... h so lets start....... M4X: SMTP OVER XXE::::SENDING EMAILS USING JAVA's XML PARSER I regularly find XML eXternal Entitiy (XXE) vulnerabilities while performing penetration tests. These are particularly often present in Java-based systems, where the default for most XML parsers still is parsing and acting upon inline DTDs, even though I have not seen a single use case where this was really neceassary. While the vulnerability is useful for file disclosures (and Java is nice enough to also provide directory listings) or even process listings (via /proc/pid/cmdline), recently I stumbled over another interesting attack vector when using a Java XML parser. Out of curiosity, I looked at what protocols would be supported in external entities. In addition to the usual such as http and https, Java also supports ftp. The actual connection to the FTP server is implemented in sun.net.ftp.impl.FtpClient. It supports authentica