Note: This is an archival copy of Security Sun Alert 231467 as previously published on http://sunsolve.sun.com.
Latest version of this security advisory is available from http://support.oracle.com as Sun Alert 1018981.1.
Article ID : 1018981.1
Article Type : Sun Alerts (SURE)
Last reviewed : 2010-01-19
Audience : PUBLIC
Copyright Notice: Copyright © 2010, Oracle Corporation and/or its affiliates.

Cross-Site Scripting Vulnerability in Sun Java System Web Server Search Module



Category
Security

Release Phase
Resolved

Bug Id
6638185

Product
Sun Java System Web Server 6.1 Service Pack 9
Sun Java System Web Server 7.0 Update 2

Date of Resolved Release
06-May-2008

Cross-Site Scripting Vulnerability in Sun Java System Web Server Search Module

1. Impact


A cross-site scripting (XSS) vulnerability in the Sun Java System Web Server search module may allow a local or remote unprivileged user the ability to execute arbitrary scripts on the system hosting the web server.

2. Contributing Factors


This issue can occur in the following releases:

SPARC Platform
  • Sun Java System Web Server 6.1 without Service Pack 9
  • Sun Java System Web Server 6.1 without patch 116648-21
  • Sun Java System Web Server 7.0 without Update 2
  • Sun Java System Web Server 7.0 without patch 125437-13

x86 Platform
  • Sun Java System Web Server 6.1 without Service Pack 9
  • Sun Java System Web Server 6.1 without patch 116649-21
  • Sun Java System Web Server 7.0 without Update 2
  • Sun Java System Web Server 7.0 without patch 125438-13
Linux
  • Sun Java System Web Server 6.1 without Service Pack 9
  • Sun Java System Web Server 6.1 without patch 118202-13
  • Sun Java System Web Server 7.0 without Update 2
  • Sun Java System Web Server 7.0 without patch 125439-11
Windows
  • Sun Java System Web Server 6.1 without Service Pack 9
  • Sun Java System Web Server 6.1 without patch 121524-05
  • Sun Java System Web Server 7.0 without Update 2
  • Sun Java System Web Server 7.0 without patch 125441-12
HP-UX
  • Sun Java System Web Server 6.1 without Service Pack 9
  • Sun Java System Web Server 6.1 without patch 121510-05
  • Sun Java System Web Server 7.0 without Update 2
  • Sun Java System Web Server 7.0 without patch 125440-11
AIX
  • Sun Java System Web Server 6.1 without Service Pack 9
To determine the version of Sun Java System Web Server 6.1 on a system, the following command can be run:
    $ <WS-install>/https-<host>/start -version
(Where <WS-install> is the installation directory of the Web Server and <host> should be the actual host name on which the Web Server is installed).

To determine the version of Sun Java System Web Server 7.0 on a system, the following command can be run:
    $ <WS-install>/bin/wadm --version
(Where <WS-install> is the installation directory of the Web Server).

3. Symptoms:


There are no predictable symptoms that would indicate the described issue has been exploited.

4. Workaround


To work around the described issue, edit the default search web application file named "index.jsp" which is located at "<WS-install>/lib/webapps/search/index.jsp" to remove the line containing the text "out.println(s);".

5. Resolution


This issue is addressed in the following releases:

SPARC Platform
  • Sun Java System Web Server 6.1 with Service Pack 9 or later
  • Sun Java System Web Server 6.1 with patch 116648-21 or later
  • Sun Java System Web Server 7.0 with Update 2 or later
  • Sun Java System Web Server 7.0 with patch 125437-13 or later
x86 Platform
  • Sun Java System Web Server 6.1 with Service Pack 9 or later
  • Sun Java System Web Server 6.1 with patch 116649-21 or later
  • Sun Java System Web Server 7.0 with Update 2 or later
  • Sun Java System Web Server 7.0 with patch 125438-13 or later
Linux
  • Sun Java System Web Server 6.1 with Service Pack 9 or later
  • Sun Java System Web Server 6.1 with patch 118202-13 or later
  • Sun Java System Web Server 7.0 with Update 2 or later
  • Sun Java System Web Server 7.0 with patch 125439-11 or later
Windows
  • Sun Java System Web Server 6.1 with Service Pack 9 or later
  • Sun Java System Web Server 6.1 with patch 121524-05 or later
  • Sun Java System Web Server 7.0 with Update 2 or later
  • Sun Java System Web Server 7.0 with patch 125441-12 or later
HP-UX
  • Sun Java System Web Server 6.1 with Service Pack 9 or later
  • Sun Java System Web Server 6.1 with patch 121510-05  or later
  • Sun Java System Web Server 7.0 with Update 2 or later
  • Sun Java System Web Server 7.0 with patch 125440-11 or later
AIX
  • Sun Java System Web Server 6.1 with Service Pack 9 or later
Sun Java System Web Server 6.1 with Service Pack 9 and Sun Java System Web Server 7.0 Update 2 are available at:


then choose Web & Proxy Servers -> Web Servers

For more information on Security Sun Alerts, see 1009886.1.

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-2008 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved.


References

125437-11
125438-11
125439-11
125440-11
125441-11
116648-21
116649-21
121524-05
118202-13
121510-05





Attachments
This solution has no attachment