__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Sun Java System Web Server Cross-site Scripting Vulnerability [Sun Alert ID: 57605] July 22, 2004 18:00 GMT Number O-185 ______________________________________________________________________________ PROBLEM: A cross-site scripting vulnerability in the sample application called "webapps-simple" has been fixed. PLATFORM: Sun Java System Web Server 6.1 Sun Java System Web Server 6.1 Service Pack 1 DAMAGE: A remote attacker may be able to execute commands with the privileges of a user who unintentionally followed untrusted links/URLs in web pages, mail messages, or newsgroup postings. SOLUTION: Upgrade to Service Pack 2 or later. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. If successfully exploited, a remote ASSESSMENT: attacker may be able to execute arbitrary code under the victim's privileges. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/o-185.shtml ORIGINAL BULLETIN: http://sunsolve.sun.com/search/document.do?assetkey= 1-26-57605-1 ______________________________________________________________________________ [***** Start Sun Alert ID: 57605 *****] Sun(sm) Alert Notification Sun Alert ID: 57605 Synopsis: Vulnerability In Sample Application Included With Sun Java System Web Server Category: Security Product: Sun Java System Web Server BugIDs: 4976454 Avoidance: Upgrade State: Resolved Date Released: 21-Jul-2004 Date Closed: 21-Jul-2004 Date Modified: 1. Impact The sample application "webapps-simple" included with Sun Java System Web Server 6.1 (formerly Sun ONE Web Server 6.1), may be vulnerable to cross-site scripting attacks. Due to this cross-site scripting vulnerability, users may unintentionally execute scripts in their browser written by a remote unprivileged user if they follow untrusted links/URIs in web pages, mail messages, or newsgroup postings. By following these untrusted links/URIs, the remote attacker may be able to execute commands with the privileges of the user who accessed the link/URI. This issue is described in the SPI Security Advisory located at http://www.securityfocus.com/archive/1/322946/2003-05-25/2003-05-31/0. In addition, see the following URLs for details about cross-site scripting and web script vulnerabilities: http://www.cert.org/archive/pdf/cross_site_scripting.pdf http://www.cert.org/tech_tips/malicious_code_FAQ.html http://www.cert.org/advisories/CA-2000-02.html 2. Contributing Factors This issue can occur in the following releases on all platforms: Sun Java System Web Server 6.1 Sun Java System Web Server 6.1 Service Pack 1 Notes: Releases of Sun Java System Web Server prior to 6.1 are not affected. This is an issue only if the sample application is deployed. It is not deployed by default. For supported architectures and OS versions see http://wwws.sun.com/software/products/web_srvr/home_web_srvr.html. 3. Symptoms There are no reliable symptoms that would indicate the described issue has been exploited. Solution Summary 4. Relief/Workaround There is no workaround. Please see the "Resolution" section. Note: Customers should review the aforementioned CERT documents in addition to the following URL for information on how to mitigate the risks of these issues including details on hardening web servers, modifying web browsers to disable scripting languages, and advice for developers. See the practices numbered 18-22 at http://www.cert.org/security-improvement/. 5. Resolution This issue is addressed in the following release: Sun Java System Web Server 6.1 Service Pack 2 and later Sun Java System Web Server releases are available at http://wwws.sun.com/software/download/inter_ecom.html#webs. 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-2004 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved. [***** End Sun Alert ID: 57605 *****] _______________________________________________________________________________ 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) O-175: 'shell:' Protocol Security Issue O-176: Adobe Acrobat and Adobe Reader Filename Handler Buffer Overflow O-177: Multiple Vulnerabilities in ISC DHCP 3 O-178: Vulnerability in Task Scheduler Could Allow Code Execution O-179: Microsoft Update for IIS 4.0 (841373) O-180: Microsoft Utility Manager Vulnerability O-181: Microsoft Vulnerability in POSIX Could Allow Code Execution O-182: Microsoft Vulnerability in HTML Help Could Allow Code Execution O-183: Microsoft Vulnerability in Windows Shell Could Allow Remote Code Execution O-184: PHP memory_limit and strip_tags Vulnerabilities