<<< Date Index >>>     <<< Thread Index >>>

iDefense Security Advisory 10.14.08: Sun Java Web Proxy Server FTP Resource Handling Heap-Based Buffer Overflow



iDefense Security Advisory 10.09.08
http://labs.idefense.com/intelligence/vulnerabilities/
Oct 09, 2008

I. BACKGROUND

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
http://www.sun.com/software/products/web_proxy/home_web_proxy.xml.

II. DESCRIPTION

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.

III. ANALYSIS

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.

IV. DETECTION

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

V. WORKAROUND

iDefense is currently unaware of any workarounds for this issue.

VI. VENDOR RESPONSE

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

For more information, consult their bulletin at the following URL:
http://sunsolve.sun.com/search/document.do?assetkey=1-66-242986-1

VII. CVE INFORMATION

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 (http://cve.mitre.org/), which standardizes names for
security problems.

VIII. DISCLOSURE TIMELINE

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

IX. CREDIT

This vulnerability was reported to iDefense by Joxean Koret.

Get paid for vulnerability research
http://labs.idefense.com/methodology/vulnerability/vcp.php

Free tools, research and upcoming events
http://labs.idefense.com/

X. LEGAL NOTICES

Copyright © 2008 iDefense, 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 customerservice@xxxxxxxxxxxx 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.