USN-3665-1: Tomcat vulnerabilities

30 May 2018

tomcat7, tomcat8 vulnerabilities

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

  • Ubuntu 18.04 LTS
  • Ubuntu 17.10
  • Ubuntu 16.04 LTS
  • Ubuntu 14.04 LTS

Summary

Several security issues were fixed in Tomcat.

Software Description

  • tomcat8 - Servlet and JSP engine
  • tomcat7 - Servlet and JSP engine

Details

It was discovered that Tomcat incorrectly handled being configured with HTTP PUTs enabled. A remote attacker could use this issue to upload a JSP file to the server and execute arbitrary code. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS and Ubuntu 17.10. (CVE-2017-12616, CVE-2017-12617)

It was discovered that Tomcat contained incorrect documentation regarding description of the search algorithm used by the CGI Servlet to identify which script to execute. This issue only affected Ubuntu 17.10. (CVE-2017-15706)

It was discovered that Tomcat incorrectly handled en empty string URL pattern in security constraint definitions. A remote attacker could possibly use this issue to gain access to web application resources, contrary to expectations. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS and Ubuntu 17.10. (CVE-2018-1304)

It was discovered that Tomcat incorrectly handled applying certain security constraints. A remote attacker could possibly access certain resources, contrary to expectations. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS and Ubuntu 17.10. (CVE-2018-1305)

It was discovered that the Tomcat CORS filter default settings were insecure and would enable ‘supportsCredentials’ for all origins, contrary to expectations. (CVE-2018-8014)

Update instructions

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

Ubuntu 18.04 LTS
libtomcat8-java - 8.5.30-1ubuntu1.2
tomcat8 - 8.5.30-1ubuntu1.2
Ubuntu 17.10
libtomcat8-java - 8.5.21-1ubuntu1.1
tomcat8 - 8.5.21-1ubuntu1.1
Ubuntu 16.04 LTS
libtomcat8-java - 8.0.32-1ubuntu1.6
tomcat8 - 8.0.32-1ubuntu1.6
Ubuntu 14.04 LTS
libtomcat7-java - 7.0.52-1ubuntu0.14
tomcat7 - 7.0.52-1ubuntu0.14

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

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

References