__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Security Vulnerabilities in the SOCKS Module of Sun Java System Web Proxy [Sun Alert ID: 102927] May 29, 2007 18:00 GMT Number R-248 ______________________________________________________________________________ PROBLEM: Two buffer overflows have been found in the SOCKS module of Sun Java System Web Proxy Server 4.0 which may allow a local or remote unprivileged user the ability to execute arbitrary code with the privileges of the SOCKS server or cause a Denial of Service (DoS) to the SOCKS server. The SOCKS server normally runs with root privileges. PLATFORM: Sun Java System Web Proxy Server 4.0 DAMAGE: May allow a local or remote unprivileged user the ability to execute arbitrary code with the privileges of the SOCKS server or cause a Denial of Service (DoS) to the SOCKS server. SOLUTION: Upgrade to the appropriate version. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. Two buffer overflows have been found in the ASSESSMENT: SOCKS module of Sun Java System Web Proxy Server 4.0 which may allow a local or remote unprivileged user the ability to execute arbitrary code with the privileges of the SOCKS server or cause a Denial of Service (DoS) to the SOCKS server. The SOCKS server normally runs with root privileges. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/r-248.shtml ORIGINAL BULLETIN: http://www.sunsolve.sun.com/search/document.do?assetkey=1 -26-102927-1 ______________________________________________________________________________ [***** Start Sun Alert ID: 102927 *****] Sun(sm) Alert Notification Sun Alert ID: 102927 Synopsis: Security Vulnerabilities in the SOCKS Module of Sun Java System Web Proxy Server 4.0 Category: Security Product: Sun Java System Web Proxy Server 4.0 BugIDs: 6537736, 6537745 Avoidance: Upgrade State: Resolved Date Released: 25-May-2007 Date Closed: 25-May-2007 Date Modified: 1. Impact Two buffer overflows have been found in the SOCKS module of Sun Java System Web Proxy Server 4.0 which may allow a local or remote unprivileged user the ability to execute arbitrary code with the privileges of the SOCKS server or cause a Denial of Service (DoS) to the SOCKS server. The SOCKS server normally runs with root privileges. One of the vulnerabilities (BugID 6537736) requires authentication before it can be exploited; however, the default configuration is for no authentication to be required to access the SOCKS server. Sun acknowledges with thanks, iDefense (http://www.idefense.com), for bringing these issues to our attention. These issues are also described in the following document: http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=536 2. Contributing Factors These issues can occur in the following releases for all platforms (SPARC, x86, Linux, Windows, HP-UX, AIX): Sun Java System Web Proxy Server 4.0.4 or earlier To determine the version of Sun Java System Proxy Server on a system, the following command can be run: $ /bin/ns-proxy -v Sun ONE Web Proxy Server 3.6-SP9 B2006.191.1801 SP9 (Where is the installation directory of the Proxy Server). 3. Symptoms There are no predictable symptoms that would indicate the described issues have been exploited. Solution Summary Top 4. Relief/Workaround To prevent these issues until upgrade, the SOCKS proxy server should be disabled if it is not being utilized. This can be accomplished by shutting down the SOCKS server using the 'stop-sockd' script under the Proxy Server instance directory. 5. Resolution These issues are addressed in the following releases for all platforms (SPARC, x86, Linux, Windows, HP-UX, AIX): Sun Java System Web Proxy Server 4.0.5 or later available for download at http://www.sun.com/download/products.xml?id=4648dc96 This Sun Alert notification is being provided to you on an "AS IS" basis. This Sun Alert notification may contain information provided by third parties. The issues described in this Sun Alert notification may or may not impact your system(s). Sun makes no representations, warranties, or guarantees as to the information contained herein. ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN. This Sun Alert notification contains Sun proprietary and confidential information. It is being provided to you pursuant to the provisions of your agreement to purchase services from Sun, or, if you do not have such an agreement, the Sun.com Terms of Use. This Sun Alert notification may only be used for the purposes contemplated by these agreements. Copyright 2000-2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved. [***** End Sun Alert ID: 102927 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Sun Microsystems for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) R-239: Multiple Vulnerabilities in the IOS FTP Server R-240: Samba Security Update R-241: CA Anti-Virus for the Enterprise Securitiy Notice R-242: Security Vulnerability in Sun Remote Services (SRS) Net Connect Software R-243: Tomcat Security Update R-244: OPeNDAP Vulnerability CIACTech07-001: MOICE - Microsoft Office Isolated Conversion Environment R-245: Vulnerability in Crypto Library R-246: Multiple Vulnerabilities in Cisco IOS while Processing SSL Packets R-247: Apple Security Update 2007-005