Vulnerability   
Search   
    Search 324607 CVE descriptions
and 145615 test descriptions,
access 10,000+ cross references.
Tests   CVE   All  

Test ID:1.3.6.1.4.1.25623.1.0.11041
Category:Web application abuses
Title:Apache Tomcat '/servlet' XSS Vulnerability - Active Check
Summary:Apache Tomcat is prone to a cross-site scripting (XSS); vulnerability.
Description:Summary:
Apache Tomcat is prone to a cross-site scripting (XSS)
vulnerability.

Vulnerability Insight:
By using the /servlet/ mapping to invoke various servlets /
classes it is possible to cause Tomcat to throw an exception, allowing XSS attacks, e.g:

tomcat-server/servlet/org.apache.catalina.servlets.WebdavStatus/SCRIPTalert(document.domain)/SCRIPT

tomcat-server/servlet/org.apache.catalina.ContainerServlet/SCRIPTalert(document.domain)/SCRIPT

tomcat-server/servlet/org.apache.catalina.Context/SCRIPTalert(document.domain)/SCRIPT

tomcat-server/servlet/org.apache.catalina.Globals/SCRIPTalert(document.domain)/SCRIPT

(angle brackets omitted)

Solution:
The 'invoker' servlet (mapped to /servlet/), which executes
anonymous servlet classes that have not been defined in a web.xml file should be unmapped.

The entry for this can be found in the /tomcat-install-dir/conf/web.xml file.

CVSS Score:
7.5

CVSS Vector:
AV:N/AC:L/Au:N/C:P/I:P/A:P

Cross-Ref: Common Vulnerability Exposure (CVE) ID: CVE-2002-0682
BugTraq ID: 5193
http://www.securityfocus.com/bid/5193
Bugtraq: 20020710 wp-02-0008: Apache Tomcat Cross Site Scripting (Google Search)
http://marc.info/?l=bugtraq&m=102631703811297&w=2
https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@%3Cdev.tomcat.apache.org%3E
https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@%3Cdev.tomcat.apache.org%3E
https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3@%3Cdev.tomcat.apache.org%3E
http://www.osvdb.org/4973
http://archives.neohapsis.com/archives/vulnwatch/2002-q3/0014.html
XForce ISS Database: tomcat-servlet-xss(9520)
https://exchange.xforce.ibmcloud.com/vulnerabilities/9520
CopyrightCopyright (C) 2002 Matt Moore

This is only one of 145615 vulnerability tests in our test suite. Find out more about running a complete security audit.

To run a free test of this vulnerability against your system, register below.




© 1998-2025 E-Soft Inc. All rights reserved.