Tomcat Host Manager Input Validation Hole Permits Cross-Site Scripting Attacks
|
|
SecurityTracker Alert ID: 1018558
|
|
SecurityTracker URL: http://securitytracker.com/id?1018558
|
|
CVE Reference: CVE-2007-3386
(Links to External Site)
|
Date: Aug 14 2007
|
Impact: Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
|
Fix Available: Yes
Exploit Included: Yes
Vendor Confirmed: Yes
|
Version(s): 5.5.0 to 5.5.24, 6.0.0 to 6.0.13
|
Description: A vulnerability was reported in Tomcat Host Manager. A remote user can conduct cross-site scripting attacks.
The Host Manager Servlet does not properly filter HTML code from user-supplied input before displaying the input. A remote user
can create a specially crafted request 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 Host Manager 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 is provided:
<form action="http://[target]:8080/host-manager/html/add"
method="get">
<input type="hidden" NAME='name' VALUE="aaa">
<input type="hidden" NAME='aliases' VALUE="<script>alert()</script>">
<input
type="submit">
</form>
The NTT OSS CENTER and JPCERT/CC reported 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 Host Manager 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: The vendor has issued a fixed version (6.0.14).
|
Vendor URL: tomcat.apache.org/ (Links to External Site)
|
Cause: Input validation error
|
Underlying OS: Linux (Any), UNIX (Any), Windows (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: Mon, 13 Aug 2007 23:28:50 -0400
From: Mark Thomas <markt@apache.org>
Subject: CVE-2007-3386: XSS in Host Manager
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
CVE-2007-3386: XSS in Host Manager
Severity:
Low (Cross-site scripting)
Vendor:
The Apache Software Foundation
Versions Affected:
6.0.0 to 6.0.13
5.5.0 to 5.5.24
Description:
The Host Manager Servlet does not filter user supplied data before
display. This enables an XSS attack.
Mitigation:
Log out (close browser) of the Host Manager application once admin
tasks are complete
Upgrade to 6.0.14
Credit:
This issue was discovered by the NTT OSS CENTER who worked with the
JPCERT/CC to report the vulnerability.
Example:
<form action="http://localhost:8080/host-manager/html/add" method="get">
<input type="hidden" NAME='name' VALUE="aaa">
<input type="hidden" NAME='aliases' VALUE="<script>alert()</script>">
<input type="submit">
</form>
References:
http://tomcat.apache.org/security.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGwSFyb7IeiTPGAkMRAlgMAKCe0hS+c6so9pxK3KfN7LggWv+3uQCfUsAg
95+vMfHDJlrKHP/yKUZ0SYc=
=1pQc
-----END PGP SIGNATURE-----
|
|