RedHat Update for tomcat6 RHSA-2011:0791-01

Solution
Please Install the Updated Packages.
Insight
Apache Tomcat is a servlet container for the Java Servlet and JavaServer Pages (JSP) technologies. It was found that web applications could modify the location of the Tomcat host's work directory. As web applications deployed on Tomcat have read and write access to this directory, a malicious web application could use this flaw to trick Tomcat into giving it read and write access to an arbitrary directory on the file system. (CVE-2010-3718) A cross-site scripting (XSS) flaw was found in the Manager application, used for managing web applications on Tomcat. If a remote attacker could trick a user who is logged into the Manager application into visiting a specially-crafted URL, the attacker could perform Manager application tasks with the privileges of the logged in user. (CVE-2010-4172) A second cross-site scripting (XSS) flaw was found in the Manager application. A malicious web application could use this flaw to conduct an XSS attack, leading to arbitrary web script execution with the privileges of victims who are logged into and viewing Manager application web pages. (CVE-2011-0013) This update also fixes the following bugs: * A bug in the &quot tomcat6&quot init script prevented additional Tomcat instances from starting. As well, running &quot service tomcat6 start&quot caused configuration options applied from &quot /etc/sysconfig/tomcat6&quot to be overwritten with those from &quot /etc/tomcat6/tomcat6.conf&quot . With this update, multiple instances of Tomcat run as expected. (BZ#636997) * The &quot /usr/share/java/&quot directory was missing a symbolic link to the &quot /usr/share/tomcat6/bin/tomcat-juli.jar&quot library. Because this library was mandatory for certain operations (such as running the Jasper JSP precompiler), the &quot build-jar-repository&quot command was unable to compose a valid classpath. With this update, the missing symbolic link has been added. (BZ#661244) * Previously, the &quot tomcat6&quot init script failed to start Tomcat with a &quot This account is currently not available.&quot message when Tomcat was configured to run under a user that did not have a valid shell configured as a login shell. This update modifies the init script to work correctly regardless of the daemon user's login shell. Additionally, these new tomcat6 packages now set &quot /sbin/nologin&quot as the login shell for the &quot tomcat&quot user upon installation, as recommended by deployment best practices. (BZ#678671 ... Description truncated, for more information please check the Reference URL
Affected
tomcat6 on Red Hat Enterprise Linux Server (v. 6), Red Hat Enterprise Linux Workstation (v. 6)
References