Vulnerability Note VU#746889

Sun Java System Web Proxy Server fails to properly process malformed packets

Original Release date: 30 May 2007 | Last revised: 27 Sep 2007


A vulnerability in the way Sun Java System Web Proxy Server processes malformed packets may allow execution of arbitrary code.


SOCKS is a network protocol that provides a framework that allows client-server applications to securely use network firewall services. A vulnerability exists in the way Sun Java System Web Proxy Server handles specially crafted SOCKS packets. According to iDefense Security Advisory 05.25.07:

    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 negotiation.


An unauthenticated attacker on the local network may be able to execute arbitrary code with the privileges of the SOCKS server or cause a denial of service.


Sun has addressed this issue in Sun Alert Notification 102927.

Disable SOCKS proxy server

Disable the SOCKS proxy server if it is not needed. According to Sun Alert Notification 102927:

    This can be accomplished by shutting down the SOCKS server using the 'stop-sockd' script under the Proxy Server instance directory.

Systems Affected (Learn More)

VendorStatusDate NotifiedDate Updated
Sun Microsystems, Inc.Affected-30 May 2007
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A N/A



This issue is addressed in Sun Alert Notification 102927. Sun credits iDefense for reporting this issue.

This document was written by Chris Taschner.

Other Information

  • CVE IDs: CVE-2007-2881
  • Date Public: 25 May 2007
  • Date First Published: 30 May 2007
  • Date Last Updated: 27 Sep 2007
  • Severity Metric: 17.86
  • Document Revision: 11


If you have feedback, comments, or additional information about this vulnerability, please send us email.