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 461
Alerts This Week
Warning Icon 1 461

RedHat 7: RHSA-2017-3081-01 Important: Tomcat Remote Code Execution

red hat
Calendar Grey October 30, 2017
Scroller Redhat
Red Hat has unveiled a crucial security update for Tomcat on RHEL 7, fixing multiple vulnerabilities that could be exploited by attackers. Admins should update promptly
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):
* A vulnerability was discovered in Tomcat's handling of pipelined requests when "Sendfile" was used. If sendfile processing completed quickly, it was possible for the Processor to be added to the processor cache twice. This could lead to invalid responses or information disclosure. (CVE-2017-5647)
* Two vulnerabilities were discovered in Tomcat where if a servlet context was configured with readonly=false and HTTP PUT requests were allowed, an attacker could upload a JSP file to that context and achieve code execution. (CVE-2017-12615, CVE-2017-12617)
* A vulnerability was discovered in Tomcat where the CORS Filter did not send a "Vary: Origin" HTTP header. This potentially allowed sensitive data to be leaked to other visitors through both client-side and server-side caches. (CVE-2017-7674)

References

https://access.redhat.com/security/cve/CVE-2017-12615 https://access.redhat.com/security/cve/CVE-2017-12617 https://access.redhat.com/security/cve/CVE-2017-5647 https://access.redhat.com/security/cve/CVE-2017-7674 https://access.redhat.com/security/updates/classification/#important

Package List

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

Read the Full Advisory


Severity
important
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2017:3081-01
Product: Red Hat Enterprise Linux
Issue date: 2017-10-29

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

1441205 - CVE-2017-5647 tomcat: Incorrect handling of pipelined requests when send file was used

1480618 - CVE-2017-7674 tomcat: Vary header not added by CORS filter leading to cache poisoning

1493220 - CVE-2017-12615 tomcat: Remote Code Execution via JSP Upload

1494283 - CVE-2017-12617 tomcat: Remote Code Execution bypass for CVE-2017-12615

Get the latest News and Insights

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