Exploited
8.1
CWE
434 20
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2017-12615: Apache Tomcat on Windows Remote Code Execution Vulnerability

First published: Tue Sep 19 2017(Updated: )

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.

Credit: security@apache.org security@apache.org

Affected SoftwareAffected VersionHow to fix
redhat/tomcat6<0:6.0.24-111.el6_9
0:6.0.24-111.el6_9
redhat/tomcat<0:7.0.76-3.el7_4
0:7.0.76-3.el7_4
redhat/httpd<0:2.2.26-57.ep6.el6
0:2.2.26-57.ep6.el6
redhat/jbcs-httpd24-openssl<1:1.0.2h-14.jbcs.el6
1:1.0.2h-14.jbcs.el6
redhat/tomcat6<0:6.0.41-19_patch_04.ep6.el6
0:6.0.41-19_patch_04.ep6.el6
redhat/tomcat7<0:7.0.54-28_patch_05.ep6.el6
0:7.0.54-28_patch_05.ep6.el6
redhat/httpd22<0:2.2.26-58.ep6.el7
0:2.2.26-58.ep6.el7
redhat/jbcs-httpd24-openssl<1:1.0.2h-14.jbcs.el7
1:1.0.2h-14.jbcs.el7
redhat/tomcat6<0:6.0.41-19_patch_04.ep6.el7
0:6.0.41-19_patch_04.ep6.el7
redhat/tomcat7<0:7.0.54-28_patch_05.ep6.el7
0:7.0.54-28_patch_05.ep6.el7
redhat/tomcat7<0:7.0.70-25.ep7.el6
0:7.0.70-25.ep7.el6
redhat/tomcat8<0:8.0.36-29.ep7.el6
0:8.0.36-29.ep7.el6
redhat/tomcat-native<0:1.2.8-11.redhat_11.ep7.el6
0:1.2.8-11.redhat_11.ep7.el6
redhat/tomcat-vault<0:1.1.6-1.Final_redhat_1.1.ep7.el6
0:1.1.6-1.Final_redhat_1.1.ep7.el6
redhat/tomcat7<0:7.0.70-25.ep7.el7
0:7.0.70-25.ep7.el7
redhat/tomcat8<0:8.0.36-29.ep7.el7
0:8.0.36-29.ep7.el7
redhat/tomcat-native<0:1.2.8-11.redhat_11.ep7.el7
0:1.2.8-11.redhat_11.ep7.el7
redhat/tomcat-vault<0:1.1.6-1.Final_redhat_1.1.ep7.el7
0:1.1.6-1.Final_redhat_1.1.ep7.el7
Apache Tomcat=7.0
Apache Tomcat=7.0.0
Apache Tomcat=7.0.0-beta
Apache Tomcat=7.0.1
Apache Tomcat=7.0.2
Apache Tomcat=7.0.2-beta
Apache Tomcat=7.0.3
Apache Tomcat=7.0.4
Apache Tomcat=7.0.4-beta
Apache Tomcat=7.0.5
Apache Tomcat=7.0.5-beta
Apache Tomcat=7.0.6
Apache Tomcat=7.0.7
Apache Tomcat=7.0.8
Apache Tomcat=7.0.9
Apache Tomcat=7.0.10
Apache Tomcat=7.0.11
Apache Tomcat=7.0.12
Apache Tomcat=7.0.13
Apache Tomcat=7.0.14
Apache Tomcat=7.0.15
Apache Tomcat=7.0.16
Apache Tomcat=7.0.17
Apache Tomcat=7.0.18
Apache Tomcat=7.0.19
Apache Tomcat=7.0.20
Apache Tomcat=7.0.21
Apache Tomcat=7.0.22
Apache Tomcat=7.0.23
Apache Tomcat=7.0.24
Apache Tomcat=7.0.25
Apache Tomcat=7.0.26
Apache Tomcat=7.0.27
Apache Tomcat=7.0.28
Apache Tomcat=7.0.29
Apache Tomcat=7.0.30
Apache Tomcat=7.0.31
Apache Tomcat=7.0.32
Apache Tomcat=7.0.33
Apache Tomcat=7.0.34
Apache Tomcat=7.0.35
Apache Tomcat=7.0.36
Apache Tomcat=7.0.37
Apache Tomcat=7.0.38
Apache Tomcat=7.0.39
Apache Tomcat=7.0.40
Apache Tomcat=7.0.41
Apache Tomcat=7.0.42
Apache Tomcat=7.0.43
Apache Tomcat=7.0.44
Apache Tomcat=7.0.45
Apache Tomcat=7.0.46
Apache Tomcat=7.0.47
Apache Tomcat=7.0.48
Apache Tomcat=7.0.49
Apache Tomcat=7.0.50
Apache Tomcat=7.0.51
Apache Tomcat=7.0.54
Apache Tomcat=7.0.55
Apache Tomcat=7.0.56
Apache Tomcat=7.0.57
Apache Tomcat=7.0.58
Apache Tomcat=7.0.59
Apache Tomcat=7.0.60
Apache Tomcat=7.0.61
Apache Tomcat=7.0.62
Apache Tomcat=7.0.63
Apache Tomcat=7.0.64
Apache Tomcat=7.0.65
Apache Tomcat=7.0.66
Apache Tomcat=7.0.67
Apache Tomcat=7.0.68
Apache Tomcat=7.0.69
Apache Tomcat=7.0.70
Apache Tomcat=7.0.71
Apache Tomcat=7.0.72
Apache Tomcat=7.0.73
Apache Tomcat=7.0.74
Apache Tomcat=7.0.75
Apache Tomcat=7.0.76
Apache Tomcat=7.0.77
Apache Tomcat=7.0.79
Microsoft Windows
Apache Tomcat
redhat/tomcat<7.0.81
7.0.81
All of
Apache Tomcat>=7.0.0<=7.0.79
Microsoft Windows
NetApp 7-Mode Transition Tool
NetApp OnCommand Balance
Netapp Oncommand Shift
Redhat Enterprise Linux Server Update Services For Sap Solutions=7.4
Redhat Enterprise Linux Server Update Services For Sap Solutions=7.6
Redhat Enterprise Linux Server Update Services For Sap Solutions=7.7
Redhat Jboss Enterprise Web Server=2.0.0
Redhat Jboss Enterprise Web Server=3.0.0
Redhat Jboss Enterprise Web Server Text-only Advisories
Redhat Enterprise Linux Desktop=6.0
Redhat Enterprise Linux Desktop=7.0
Redhat Enterprise Linux Eus=7.4
Redhat Enterprise Linux Eus=7.5
Redhat Enterprise Linux Eus=7.6
Redhat Enterprise Linux Eus=7.7
Redhat Enterprise Linux Eus Compute Node=7.4
Redhat Enterprise Linux Eus Compute Node=7.5
Redhat Enterprise Linux Eus Compute Node=7.6
Redhat Enterprise Linux Eus Compute Node=7.7
Redhat Enterprise Linux For Ibm Z Systems=7.0_s390x
Redhat Enterprise Linux For Ibm Z Systems Eus=7.4_s390x
Redhat Enterprise Linux For Ibm Z Systems Eus=7.5_s390x
Redhat Enterprise Linux For Ibm Z Systems Eus=7.6_s390x
Redhat Enterprise Linux For Ibm Z Systems Eus=7.7_s390x
Redhat Enterprise Linux For Power Big Endian=7.0_ppc64
Redhat Enterprise Linux For Power Big Endian Eus=7.4_ppc64
Redhat Enterprise Linux For Power Big Endian Eus=7.5_ppc64
Redhat Enterprise Linux For Power Big Endian Eus=7.6_ppc64
Redhat Enterprise Linux For Power Big Endian Eus=7.7_ppc64
Redhat Enterprise Linux For Power Little Endian=7.0_ppc64le
Redhat Enterprise Linux For Power Little Endian Eus=7.4_ppc64le
Redhat Enterprise Linux For Power Little Endian Eus=7.5_ppc64le
Redhat Enterprise Linux For Power Little Endian Eus=7.6_ppc64le
Redhat Enterprise Linux For Power Little Endian Eus=7.7_ppc64le
Redhat Enterprise Linux For Scientific Computing=7.0
Redhat Enterprise Linux Server=6.0
Redhat Enterprise Linux Server=7.0
Redhat Enterprise Linux Server Aus=7.4
Redhat Enterprise Linux Server Aus=7.6
Redhat Enterprise Linux Server Aus=7.7
Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=7.4_ppc64le
Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=7.6_ppc64le
Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=7.7_ppc64le
Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=9.2_ppc64le
Redhat Enterprise Linux Server Tus=7.4
Redhat Enterprise Linux Server Tus=7.6
Redhat Enterprise Linux Server Tus=7.7
Redhat Enterprise Linux Workstation=6.0
Redhat Enterprise Linux Workstation=7.0
maven/org.apache.tomcat.embed:tomcat-embed-core>=7.0.0<7.0.79
7.0.79

Remedy

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.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203