Tomcat Input Validation Hole in CookieExample Script Permits Cross-Site Scripting Attacks
SecurityTracker Alert ID: 1018503|
SecurityTracker URL: http://securitytracker.com/id/1018503
(Links to External Site)
Date: Aug 2 2007
Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information|
Fix Available: Yes Vendor Confirmed: Yes |
Version(s): 3.3 to 3.3.2|
A vulnerability was reported in Tomcat in the CookieExample script. A remote user can conduct cross-site scripting attacks.|
The cookies example script (CookieExample) does not properly filter HTML code from user-supplied input before displaying error messages. A remote user can 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.
The 'Name' and 'Value' fields are affected.
Tomasz Kuczynski, Poznan Supercomputing and Networking Center, discovered this vulnerability. CERT/CC reported 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.|
The vendor has issued a patch, available at:|
Vendor URL: tomcat.apache.org/ (Links to External Site)
Input validation error|
|Underlying OS: Linux (Any), UNIX (Any), Windows (Any)|
Source Message Contents
Subject: [Full-disclosure] CVE-2007-3384: XSS in Tomcat cookies example|
-----BEGIN PGP SIGNED MESSAGE-----
CVE-2007-3384: XSS in Tomcat cookies example
Low (Cross-site scripting)
The Apache Software Foundation
3.3 to 3.3.2
When reporting error messages, Tomcat does not filter user supplied
data before display. This enables an XSS attack.
Remove examples web application.
Apply patch available from http://tomcat.apache.org/download-33.cgi
This issue was discovered by Tomasz Kuczynski, Poznan Supercomputing
and Networking Center, who worked with the CERT/CC to report the
populate Name or Value field with:
-----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/