Public Vulnerability Reports

Sun Java Web Proxy Server FTP Resource Handling Heap-Based Buffer Overflow



Sun Microsystems Inc's Java System is a collection of server applications bundled together. One such server application included is the Web Proxy Server. This software implements proxy services including HTTP and SOCKSv5.

For more information, visit


Remote exploitation of a heap based buffer overflow in Sun Microsystems Inc.'s Sun Java Web Proxy could allow an attacker to execute arbitrary code.

A heap based buffer overflow exists in the handling of FTP resources. Specifically the vulnerability resides within the code responsible for handling HTTP GET requests.


Exploitation of this issue allows an attacker to execute arbitrary code on the server. An attacker would need to locate the vulnerable server and construct a malicious HTTP GET request. The attacker would then send the HTTP GET request to the Sun Java Web Proxy Server and upon processing the request execution of arbitrary code would be possible.


Sun Java System Web Proxy Server 4.0 through 4.0.7 is vulnerable in the following versions:

 SPARC Platform prior to patch 120981-15 x86 Platform prior to patch 120982-15 Linux prior to patch 120983-15 HP-UX prior to patch 123532-05 Windows prior to patch 126325-05 


iDefense is currently unaware of any workarounds for this issue.


Sun Microsystems has officially addressed this vulnerability with Alert # 242986.

For more information, consult their bulletin at the following URL:


The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2008-4541 to this issue. This is a candidate for inclusion in the CVE list (, which standardizes names for security problems.


05/27/2008 Initial vendor notification
05/27/2008 Initial vendor response
10/09/2008 Coordinated public disclosure


This vulnerability was reported to iDefense by Joxean Koret.

Get paid for vulnerability research

Free tools, research and upcoming events


Copyright © 2008 Verisign, Inc.

Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of iDefense. If you wish to reprint the whole or any part of this alert in any other medium other than electronically, please e-mail customer service for permission.

Disclaimer: The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information.