Published:2007/08/15  Last Updated:2008/05/21

Apache Tomcat Host Manager cross-site scripting vulnerability


Apache Tomcat, from the Apache Software Foundation, contains a cross-site scripting vulnerability.

Products Affected

  • Apache Tomcat 5.5.0 - 5.5.24
  • Apache Tomcat 6.0.0 - 6.0.13
For more information, refer to the developer's website.


Apache Tomcat from the Apache Software Foundation is an implementation of the Java Servlet and JavaServer Page (JSP) technologies.
The Host Manager Servlet does not properly filter user supplied data. This enables a cross-site scripting attack.


An arbitrary script could be executed on the user's web browser who logged into Apache Tomcat Host Manager.


Update the Software
We recommend that users of Apache Tomcat 6.0.x upgrade to Apache Tomcat 6.0.14 following the information provided by the vendor.

The fixed version of Apache Tomcat 5.5.x is not available yet.
We recommend that users of Apache Tomcat 5.5.x apply the following workaround.

This issue can be mitigated by logging out (closing the web browser) from the Host Manager when finished.

Vendor Status

Vendor Status Last Update Vendor Notes
Hitachi Not Vulnerable, investigating 2007/08/15
Yokogawa Electric Corporation Not Vulnerable, investigating 2007/08/15


JPCERT/CC Addendum

Vulnerability Analysis by JPCERT/CC

Analyzed on 2007.08.15

Measures Conditions Severity
Access Required Routed - can be attacked over the Internet using packets
  • High
Authentication None - anonymous or no authentication (IP addresses do not count)
  • High
User Interaction Required Simple - the user must be convinced to take a standard action that does not feel harmful to most users, such as click on a link or view a file
  • Medium
Exploit Complexity Low - little to no expertise and/or luck required to exploit (cross-site scripting)
  • High

Description of each analysis measures


NTT OSS CENTER reported this vulnerability to IPA.
JPCERT/CC coordinated with the vendors under Information Security Early Warning Partnership.

Other Information

JPCERT Reports
CERT Advisory
CPNI Advisory
CVE CVE-2007-3386
JVN iPedia JVNDB-2007-000598

Update History