The Jar utility provided with Java's JDK/SDK allows the extraction of files with names that traverse the directory structure of host system. This could be used to create a malicious Jar that will overwrite arbitrary files on the host system when it is extracted.
Classification
Location:
Local Access Required
Attack Type:
Input Manipulation
Impact:
Loss of Integrity
Exploit:
Exploit Available
Disclosure:
OSVDB Verified
Technical
If a malicious jar file is created including a file with a name such as, ../../../../../<directory>/<filename>, when this jar is extracted, it will overwrite a file matching /<directory>/<filename>.
Solution
Currently, there are no known upgrades, patches, or workarounds available to correct this issue.