Sun Java System Web Proxy Multiple Buffer Overflow Vulnerabilities
iDefense Security Advisory 05.25.07
May 25, 2007
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 the following URL.
Remote exploitation of multiple stack-based buffer overflows in Sun
Microsystems Inc's Java System Web Proxy allows unauthenticated
attackers to execute arbitrary code with superuser privileges.
The problem specifically exists within the "sockd" daemon. This daemon
implements SOCKS proxy support for the Web Proxy product. Attackers can
cause a buffer overflow by manipulating certain bytes during protocol
Exploitation allows attackers to execute arbitrary code with the
privileges of the user running "sockd", typically root.
No authentication is required to trigger this vulnerability. The
attacker only needs the ability to open a session with the SOCKS
The server runs under a watchdog process which will restart the server
in cases when it will fail. This allows attackers to repeatedly attempt
to exploit the issue.
iDefense has confirmed the existence of this vulnerability using version
4.0.3 of Sun Java Web Proxy Server. Lab tests were performed on an x86
RedHat enterprise Linux machine. Previous versions, including products
released under the "Sun ONE" product line, are suspected to be
Disabling the SOCKS proxy server will prevent exploitation of this
vulnerability. Additionally, employing firewalls to limit access to the
affected service will prevent untrusted users from exploiting this
VI. VENDOR RESPONSE
Sun Microsystems has addressed these vulnerabilities in Sun Alert ID
102927. For more information visit the following URL.
VII. CVE INFORMATION
A Mitre Corp. Common Vulnerabilities and Exposures (CVE) number has not
been assigned yet.
VIII. DISCLOSURE TIMELINE
03/20/2007 Initial vendor notification
03/22/2007 Initial vendor response
05/25/2007 Coordinated public disclosure
The discoverer of this vulnerability wishes to remain anonymous.
Get paid for vulnerability research
Free tools, research and upcoming events
X. LEGAL NOTICES
Copyright =A9 2007 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 firstname.lastname@example.org 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.