Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 525
Alerts This Week
Warning Icon 1 525

Red Hat Enterprise 7: RHSA-2016:2046-01 Important: Tomcat Escalation Risks

red hat
Calendar Grey October 10, 2016
Scroller Redhat
Jetty vulnerability patch deemed Critical by Oracle due to possible security circumvention and unauthorized access risks.
An update for tomcat is now available for Red Hat Enterprise Linux 7

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

Summary

Apache Tomcat is a servlet container for the Java Servlet and JavaServer Pages (JSP) technologies.
Security Fix(es):
* It was discovered that the Tomcat packages installed configuration file /usr/lib/tmpfiles.d/tomcat.conf writeable to the tomcat group. A member of the group or a malicious web application deployed on Tomcat could use this flaw to escalate their privileges. (CVE-2016-5425)
* It was discovered that the Tomcat packages installed certain configuration files read by the Tomcat initialization script as writeable to the tomcat group. A member of the group or a malicious web application deployed on Tomcat could use this flaw to escalate their privileges. (CVE-2016-6325)
* It was found that the expression language resolver evaluated expressions within a privileged code section. A malicious web application could use this flaw to bypass security manager protections. (CVE-2014-7810)
* It was discovered that tomcat used the value of the Proxy header from HTTP requests to initialize the HTTP_PROXY environment variable for CGI scripts, which in turn was incorrectly used by certain HTTP client implementations to configure the proxy for outgoing HTTP requests. A remote attacker could possibly use this flaw to redirect HTTP requests performed by a CGI script to an attacker-controlled proxy via a malicious HTTP request. (CVE-2016-5388)
* A session fixation flaw was found in the way Tomcat recycled the requestedSessionSSL field. If at least one web application was configured to use the SSL session ID as the HTTP session ID, an attacker could reuse a previously used session ID for further requests. (CVE-2015-5346)
Red Hat would like to thank Dawid Golunski (https://legalhackers.com/) for reporting CVE-2016-5425 and Scott Geary (VendHQ) for reporting CVE-2016-5388. The CVE-2016-6325 issue was discovered by Red Hat Product Security.

References

https://access.redhat.com/security/cve/CVE-2014-7810 https://access.redhat.com/security/cve/CVE-2015-5346 https://access.redhat.com/security/cve/CVE-2016-5388 https://access.redhat.com/security/cve/CVE-2016-5425 https://access.redhat.com/security/cve/CVE-2016-6325 https://access.redhat.com/security/updates/classification#important https://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.59

Package List

Red Hat Enterprise Linux Client (v. 7):
Source: tomcat-7.0.54-8.el7_2.src.rpm
noarch: tomcat-servlet-3.0-api-7.0.54-8.el7_2.noarch.rpm
Red Hat Enterprise Linux Client Optional (v. 7):
noarch: tomcat-7.0.54-8.el7_2.noarch.rpm tomcat-admin-webapps-7.0.54-8.el7_2.noarch.rpm tomcat-docs-webapp-7.0.54-8.el7_2.noarch.rpm tomcat-el-2.2-api-7.0.54-8.el7_2.noarch.rpm tomcat-javadoc-7.0.54-8.el7_2.noarch.rpm tomcat-jsp-2.2-api-7.0.54-8.el7_2.noarch.rpm tomcat-jsvc-7.0.54-8.el7_2.noarch.rpm tomcat-lib-7.0.54-8.el7_2.noarch.rpm tomcat-webapps-7.0.54-8.el7_2.noarch.rpm
Red Hat Enterprise Linux ComputeNode (v. 7):
Source: tomcat-7.0.54-8.el7_2.src.rpm
noarch: tomcat-servlet-3.0-api-7.0.54-8.el7_2.noarch.rpm
Red Hat Enterprise Linux ComputeNode Optional (v. 7):
noarch: tomcat-7.0.54-8.el7_2.noarch.rpm tomcat-admin-webapps-7.0.54-8.el7_2.noarch.rpm tomcat-docs-webapp-7.0.54-8.el7_2.noarch.rpm tomcat-el-2.2-api-7.0.54-8.el7_2.noarch.rpm tomcat-javadoc-7.0.54-8.el7_2.noarch.rpm tomcat-jsp-2.2-api-7.0.54-8.el7_2.noarch.rpm tomcat-jsvc-7.0.54-8.el7_2.noarch.rpm tomcat-lib-7.0.54-8.el7_2.noarch.rpm tomcat-webapps-7.0.54-8.el7_2.noarch.rpm
Red Hat Enterprise Linux Server (v. 7):
Source: tomcat-7.0.54-8.el7_2.src.rpm
noarch: tomcat-7.0.54-8.el7_2.noarch.rpm tomcat-admin-webapps-7.0.54-8.el7_2.noarch.rpm

Read the Full Advisory


Severity
important
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2016:2046-01
Product: Red Hat Enterprise Linux
Issue date: 2016-10-10

Topic

An update for tomcat is now available for Red Hat Enterprise Linux 7.Red Hat Product Security has rated this update as having a security impactof Important. A Common Vulnerability Scoring System (CVSS) base score,which gives a detailed severity rating, is available for each vulnerabilityfrom the CVE link(s) in the References section.

Relevant Releases Architectures

Red Hat Enterprise Linux Client (v. 7) - noarch

Red Hat Enterprise Linux Client Optional (v. 7) - noarch

Red Hat Enterprise Linux ComputeNode (v. 7) - noarch

Red Hat Enterprise Linux ComputeNode Optional (v. 7) - noarch

Red Hat Enterprise Linux Server (v. 7) - noarch

Red Hat Enterprise Linux Server Optional (v. 7) - noarch

Red Hat Enterprise Linux Workstation (v. 7) - noarch

Red Hat Enterprise Linux Workstation Optional (v. 7) - noarch

Bugs Fixed

1222573 - CVE-2014-7810 Tomcat/JbossWeb: security manager bypass via EL expressions

1311085 - CVE-2015-5346 tomcat: Session fixation

1353809 - CVE-2016-5388 Tomcat: CGI sets environmental variable based on user supplied Proxy request header

1362545 - CVE-2016-5425 tomcat: Local privilege escalation via systemd-tmpfiles service

1367447 - CVE-2016-6325 tomcat: tomcat writable config files allow privilege escalation

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.