search menu icon-carat-right cmu-wordmark

CERT Coordination Center

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

Vulnerability Note VU#746889

Original Release Date: 2007-05-30 | Last Revised: 2007-09-27

Overview

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

Description

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.

Impact

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.

Solution

Update

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.

Vendor Information

746889
 

Sun Microsystems, Inc. Affected

Updated:  May 30, 2007

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

Refer to Sun Alert Notification 102927.

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


CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

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
Severity Metric: 17.86
Date Public: 2007-05-25
Date First Published: 2007-05-30
Date Last Updated: 2007-09-27 14:37 UTC
Document Revision: 11

Sponsored by CISA.