USN-1097-1: Tomcat vulnerabilities

29 March 2011

tomcat6 vulnerabilities

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 10.10
  • Ubuntu 10.04 LTS
  • Ubuntu 9.10


An attacker could send crafted input to Tomcat and cause it to crash or read and write arbitrary files.

Software Description

  • tomcat6 - Servlet and JSP engine


It was discovered that the Tomcat SecurityManager did not properly restrict the working directory. An attacker could use this flaw to read or write files outside of the intended working directory. (CVE-2010-3718)

It was discovered that Tomcat did not properly escape certain parameters in the Manager application which could result in browsers becoming vulnerable to cross-site scripting attacks when processing the output. With cross-site scripting vulnerabilities, if a user were tricked into viewing server output during a crafted server request, a remote attacker could exploit this to modify the contents, or steal confidential data (such as passwords), within the same domain. (CVE-2011-0013)

It was discovered that Tomcat incorrectly enforced the maxHttpHeaderSize limit in certain configurations. A remote attacker could use this flaw to cause Tomcat to consume all available memory, resulting in a denial of service. (CVE-2011-0534)

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 10.10
libtomcat6-java - 6.0.28-2ubuntu1.2
tomcat6-admin - 6.0.28-2ubuntu1.2
Ubuntu 10.04 LTS
libtomcat6-java - 6.0.24-2ubuntu1.7
tomcat6-admin - 6.0.24-2ubuntu1.7
Ubuntu 9.10
libtomcat6-java - 6.0.20-2ubuntu2.4
tomcat6-admin - 6.0.20-2ubuntu2.4

To update your system, please follow these instructions:

In general, a standard system update will make all the necessary changes.