Tomcat Input Validation Holes in the JSP Examples, Manager, and Host Manager Permit Cross-Site Scripting Attacks
SecurityTracker Alert ID: 1018245|
SecurityTracker URL: http://securitytracker.com/id/1018245
(Links to External Site)
Date: Jun 14 2007
Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information|
Vendor Confirmed: Yes |
Version(s): 4.0.0 to 4.0.6, 4.1.0 to 4.1.36, 5.0.0 to 5.0.30, 5.5.0 to 5.5.24, 6.0.0 to 6.0.13|
Two vulnerabilities were reported in Tomcat. A remote user can conduct cross-site scripting attacks.|
The JSP examples web application does not properly filter HTML code from user-supplied input before displaying the input. A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the Tomcat software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
A demonstration exploit URL is provided:
This vulnerability was reported to JPCERT by a researcher.
The Tomcat Manager and Host Manager web applications also do not properly filter HTML code. A remote user can conduct cross-site scripting attacks against authenticated target users.
Daiki Fukumori, Secure Sky Technology, discovered this vulnerability.
A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the Tomcat software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.|
No solution was available at the time of this entry.|
The vendor has provided the following mitigation instructions [quoted]:
Undeploy the examples web application(s).
Log out of the Manager or Host Manager application (close the
browser) once tasks requiring use of the manager have been completed.
Vendor URL: tomcat.apache.org/ (Links to External Site)
Input validation error|
|Underlying OS: Linux (Any)|
This archive entry has one or more follow-up message(s) listed below.|
Source Message Contents
Subject: [Full-disclosure] [CVE-2007-2449] Apache Tomcat XSS vulnerabilities|
-----BEGIN PGP SIGNED MESSAGE-----
CVE-2007-2449: Apache Tomcat XSS vulnerabilities in the JSP examples
Severity: low (cross-site scripting)
The Apache Software Foundation
Tomcat 4.0.0 to 4.0.6
Tomcat 4.1.0 to 4.1.36
Tomcat 5.0.0 to 5.0.30
Tomcat 5.5.0 to 5.5.24
Tomcat 6.0.0 to 6.0.13
The JSP examples web application displays does not escape some user
provided data before including it in the output. This enables a XSS
1. Undeploy the examples web application(s).
These issues were discovered by an unknown security researcher and
reported to JPCERT.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Full-Disclosure - We believe in it.
Hosted and sponsored by Secunia - http://secunia.com/