Sun ONE Application Server Error Message Cross-Site Scripting Vulnerability

BID:7710

Info

Sun ONE Application Server Error Message Cross-Site Scripting Vulnerability

Bugtraq ID: 7710
Class: Input Validation Error
CVE: CVE-2003-0413
Remote: Yes
Local: No
Published: May 27 2003 12:00AM
Updated: Jul 11 2009 10:06PM
Credit: Discovery of this vulnerability has been credited to "SPI Labs" <[email protected]>.
Vulnerable: Sun ONE Application Server 7.0 Standard Edition
Sun ONE Application Server 7.0 Platform Edition
Sun Java System Web Server 6.1 SP1
Sun Java System Web Server 6.1
Not Vulnerable: Sun ONE Application Server 7.0 UR1 Standard Edition
Sun ONE Application Server 7.0 UR1 Platform Edition
Sun Java System Web Server 6.1 SP2

Discussion

Sun ONE Application Server Error Message Cross-Site Scripting Vulnerability

Sun ONE Application Server has been reported prone to a cross-site scripting vulnerability.

Sun ONE Application Server does not adequately filter script code from URL parameters, making it prone to cross-site scripting attacks. Attacker-supplied script code may be included in a malicious link to a JSP application hosted on the vulnerable server. Under some circumstances if this link is followed the code will be executed in the browser of the web user who visits the link.

This issue affects a sample script supplied with the server. The vendor has reported that the sample application 'webapps-simple' affected by this issue is not enabled by default.

This vulnerability has been reported to affect Sun ONE Application Server 6.1, 6.1 Service Pack 1, and 7.0 on Windows platforms.

Exploit / POC

Sun ONE Application Server Error Message Cross-Site Scripting Vulnerability

The following proof of concept has been supplied:

GET /webapps-simple/jsp/source.jsp?&lt;script&gt;alert(document.cookie)&lt;/script&gt;
HTTP/1.0

Solution / Fix

Sun ONE Application Server Error Message Cross-Site Scripting Vulnerability

Solution:
Sun has released alert 57605 addressing this issue. Please see the referenced alert for further information.

The following fixes are available:


Sun Java System Web Server 6.1 SP1

Sun Java System Web Server 6.1

Sun ONE Application Server 7.0 Platform Edition

Sun ONE Application Server 7.0 Standard Edition

References

Sun ONE Application Server Error Message Cross-Site Scripting Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report