Write Once, Run Anywhere: A Tour Of Java Remote Code Execution Vectors

No ratings

Presented at Ruxcon 2014 by

Java applets run in a browser within a sandbox provided by the Java Security Manager (JSM). Flaws that allow malicious code to bypass the restrictions of the JSM are well known and numerous. Less well known are the myriad vectors that can be used to achieve remote code execution on server-side Java applications, including web applications. This presentation will provide a tour of these vectors, with practical examples of each one, along with advice on how to avoid exposing similar flaws in your applications. The examples will include a mix of flaws I have found myself and those found by others. The vectors include: XSL Java extensions Expression language interpolation Binary Deserialization XML Deserialization XXE + Gopher