CVE-2017-12617

Impact:
Important
Public Date:
2017-09-21
CWE:
CWE-20
Bugzilla:
1494283: CVE-2017-12617 tomcat: Remote Code Execution bypass for CVE-2017-12615
A vulnerability was 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.

Find out more about CVE-2017-12617 from the MITRE CVE dictionary dictionary and NIST NVD.

Statement

This flaw affects Tomcat on Red Hat Enterprise Linux only when a specific context is configured with readonly=false. The default configuration has a readonly context, so it is not affected.

CVSS v3 metrics

CVSS3 Base Score 8.1
CVSS3 Base Metrics CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity Impact High
Availability Impact High

Red Hat Security Errata

Platform Errata Release Date
Red Hat JBoss Web Server 3.1 for RHEL 7 RHSA-2018:0466 2018-03-07
Red Hat JBoss Web Server 3.1 for RHEL 6 RHSA-2018:0466 2018-03-07
Red Hat JBoss Web Server 2.1 RHSA-2017:3114 2017-11-02
Red Hat JBoss Enterprise Web Server 2 for RHEL 7 Server RHSA-2017:3113 2017-11-02
Red Hat JBoss Enterprise Application Platform 6.4 RHSA-2018:0269 2018-02-05
Red Hat JBoss Enterprise Web Server 2 for RHEL 6 Server RHSA-2017:3113 2017-11-02
Red Hat JBoss Enterprise Application Platform 6 for RHEL 5 Server (jbossweb) RHSA-2018:0271 2018-02-05
Red Hat Enterprise Linux 6 (tomcat6) RHSA-2017:3080 2017-10-30
Red Hat JBoss Web Server 3.1 RHSA-2018:0465 2018-03-07
Red Hat JBoss Enterprise Application Platform 6.3 for RHEL 7 Server (jbossweb) RHSA-2018:0268 2018-02-05
Red Hat JBoss Enterprise Application Platform 6 for RHEL 6 Server (jboss-ec2-eap) RHSA-2018:0275 2018-02-05
Red Hat Enterprise Linux 7 (tomcat) RHSA-2017:3081 2017-10-30
Red Hat JBoss Enterprise Application Platform 6 for RHEL 6 Server (jbossweb) RHSA-2018:0270 2018-02-05

Affected Packages State

Platform Package State
Red Hat Software Collections for Red Hat Enterprise Linux rh-java-common-tomcat Not affected
Red Hat JBoss Portal Platform 6 jbossweb Not affected
Red Hat JBoss Operations Network 3 jbossweb Not affected
Red Hat JBoss Fuse 6 jbossweb Not affected
Red Hat JBoss EAP 5 jbossweb Will not fix
Red Hat JBoss Data Virtualization 6 jbossweb Not affected
Red Hat JBoss Data Grid 6 jbossweb Not affected
Red Hat Enterprise Linux 5 tomcat5 Will not fix

Mitigation

Ensure that readonly is set to true (the default) for the DefaultServlet, WebDAV servlet or application context.

Block HTTP methods that permit resource modification for untrusted users.

External References

Last Modified
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.