Apache Tomcat Cross-Site Scripting Vulnerability

BID:2982

Info

Apache Tomcat Cross-Site Scripting Vulnerability

Bugtraq ID: 2982
Class: Input Validation Error
CVE: CVE-2001-0829
Remote: Yes
Local: No
Published: Jul 02 2001 12:00AM
Updated: Jul 11 2009 06:56AM
Credit: Discovered and posted to Bugtraq by TAKAGI, Hiromitsu <[email protected]> on July 2, 2001.
Vulnerable: Apache Tomcat 3.2.1
- BSDI BSD/OS 4.0
- Caldera OpenLinux 2.4
- Debian Linux 2.2
- Debian Linux 2.1
- Digital UNIX 4.0
- FreeBSD FreeBSD 5.0
- FreeBSD FreeBSD 4.0
- HP Secure OS software for Linux 1.0
- Mandriva Linux Mandrake 7.1
- Mandriva Linux Mandrake 7.0
- NetBSD NetBSD 1.4.2 x86
- NetBSD NetBSD 1.4.1 x86
- Redhat Linux 6.2 i386
- Redhat Linux 6.1 i386
- SGI IRIX 6.5
- SGI IRIX 6.4
- Sun Solaris 8_sparc
- Sun Solaris 7.0
Not Vulnerable:

Discussion

Apache Tomcat Cross-Site Scripting Vulnerability

Apache Tomcat does not filter script embedding from links that are displayed on a server's website. A malicious webmaster can exploit this vulnerability to cause JavaScript commands or embedded scripts to be executed by any user who clicks on the hyper-link. Upon clicking on the hyper-link, Tomcat will generate an error message including the specified or embedded script. The specified or embedded scripting will be executed in the client's browser and treated as content originating from the target server returning the error message (even though the scripting may have originated at another site entirely).

Exploit / POC

Apache Tomcat Cross-Site Scripting Vulnerability

TAKAGI, Hiromitsu provided the following example in his BugTraq posting:

http://Tomcat/jsp-mapped-dir/&lt;SCRIPT&gt;alert(document.cookie)&lt;/SCRIPT&gt;.jsp

References

Apache Tomcat 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