Sploitus

Exploit for Java Runtime Environment JAR manifest Main Class buffer overflow

saint · 2009-02-26

Exploit Code

MARKDOWN34 lines
## https://sploitus.com/exploit?id=SAINT:B4CAF588AC82ECC016E97DC29FA6C472
Added: 02/26/2009  
CVE: [CVE-2008-5354](<https://vulners.com/cve/CVE-2008-5354>)  
BID: [32608](<http://www.securityfocus.com/bid/32608>)  
OSVDB: [50499](<http://www.osvdb.org/50499>)  


### Background

Java Runtime Environment (JRE) allows end users to run Java applications. 

### Problem

A buffer overflow vulnerability in JRE allows command execution when a user opens a JAR archive containing a manifest file with a specially crafted Main Class entry. 

### Resolution

Apply the patch referenced in [Sun document 244990](<http://sunsolve.sun.com/search/document.do?assetkey=1-26-244990-1>). 

### References

<http://www.us-cert.gov/cas/techalerts/TA08-340A.html>  


### Limitations

Exploit works on Java Runtime Environment 1.6 Update 10 and requires a user to open the exploit file. 

Execution of this exploit requires the Digest::CRC PERL module. On Linux systems this is typically found in a package named such as libdigest-crc-perl or perl-Digest-CRC. 

### Platforms

Windows 2000  
Windows XP