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
|
|
CVE Reference: CVE-2007-2449
, CVE-2007-2450
(Links to External Site)
|
Date: Jun 14 2007
|
Impact: 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
|
Description: 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:
http://[target]:[port]/jsp-examples/snp/snoop.jsp;<script>alert()</script>test.jsp
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.
|
Impact: 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.
|
Solution: 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)
|
Cause: Input validation error
|
Underlying OS: Linux (Any)
|
Reported By: Mark Thomas <markt@apache.org>
|
Message History:
This archive entry has one or more follow-up message(s) listed below.
|
Source Message Contents
|
Date: Wed, 13 Jun 2007 22:24:09 -0400
From: Mark Thomas <markt@apache.org>
Subject: [Full-disclosure] [CVE-2007-2449] Apache Tomcat XSS vulnerabilities
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
CVE-2007-2449: Apache Tomcat XSS vulnerabilities in the JSP examples
Severity: low (cross-site scripting)
Vendor:
The Apache Software Foundation
Versions Affected:
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
Description:
The JSP examples web application displays does not escape some user
provided data before including it in the output. This enables a XSS
attack.
Mitigation:
1. Undeploy the examples web application(s).
Example:
http://host:port/jsp-examples/snp/snoop.jsp;<script>alert()</script>test.jsp
Credit:
These issues were discovered by an unknown security researcher and
reported to JPCERT.
References:
http://tomcat.apache.org/security.html
Mark Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGcKbJb7IeiTPGAkMRAi9BAKDsuoomGh2n9BYl7mT/tGEjQ+HIlQCdHjnU
zdreMwViLR/bDBnys5YkhPk=
=SK7+
-----END PGP SIGNATURE-----
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
|
|