CVE-2017-12615
Vulnerability Summary
Timeline
Description
When running Apache Tomcat 7.0.0 to 7.0.79 on Windows with HTTP PUTs enabled (e.g. via setting the readonly initialisation parameter of the Default to false) it was possible to upload a JSP file to the server via a specially crafted request. This JSP could then be requested and any code it contained would be executed by the server.
CVSS Metrics
- v3.1•HIGH•Score: 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- v3.0•HIGH•Score: 8.1CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
- v2.0•MEDIUM•Score: 6.8AV:N/AC:M/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 94.23%• Percentile: 100%
Techniques & Countermeasures
- CWE-434•Unrestricted Upload of File with Dangerous Type
The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
Affected Systems
- apache software foundation•apache tomcat
7.0.0 to 7.0.79
- Unknown•Tomcat
≥ 7.0.0, ≤ 7.0.79
- org.apache.tomcat.embed•tomcat-embed-core
≥ 7.0.0, < 7.0.79
- netapp•7-mode_transition_tool
na
- netapp•oncommand_balance
na
- netapp•oncommand_shift
na
- redhat•enterprise_linux_desktop
6.0 | 7.0
- redhat•enterprise_linux_eus
7.4 | 7.5 | 7.6 | 7.7
- redhat•enterprise_linux_eus_compute_node
7.4 | 7.5 | 7.6 | 7.7
- redhat•enterprise_linux_for_ibm_z_systems
7.0_s390x
- redhat•enterprise_linux_for_ibm_z_systems_eus
7.4_s390x | 7.5_s390x | 7.6_s390x | 7.7_s390x
- redhat•enterprise_linux_for_power_big_endian
7.0_ppc64
- redhat•enterprise_linux_for_power_big_endian_eus
7.4_ppc64 | 7.5_ppc64 | 7.6_ppc64 | 7.7_ppc64
- redhat•enterprise_linux_for_power_little_endian
7.0_ppc64le
- redhat•enterprise_linux_for_power_little_endian_eus
7.4_ppc64le | 7.5_ppc64le | 7.6_ppc64le | 7.7_ppc64le
- redhat•enterprise_linux_for_scientific_computing
7.0
- redhat•enterprise_linux_server
6.0 | 7.0
- redhat•enterprise_linux_server_aus
7.4 | 7.6 | 7.7
- redhat•enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions
7.4_ppc64le | 7.6_ppc64le | 7.7_ppc64le | 9.2_ppc64le
- redhat•enterprise_linux_server_tus
7.4 | 7.6 | 7.7
- redhat•enterprise_linux_server_update_services_for_sap_solutions
7.4 | 7.6 | 7.7
- redhat•enterprise_linux_workstation
6.0 | 7.0
- redhat•jboss_enterprise_web_server
2.0.0 | 3.0.0
- redhat•jboss_enterprise_web_server_text-only_advisories
na
References (30)
- https://access.redhat.com/errata/RHSA-2017:3113
- https://access.redhat.com/errata/RHSA-2017:3080
- http://www.securitytracker.com/id/1039392
- https://lists.apache.org/thread.html/8fcb1e2d5895413abcf266f011b9918ae03e0b7daceb118ffbf23f8c%40%3Cannounce.tomcat.apache.org%3E
- https://www.synology.com/support/security/Synology_SA_17_54_Tomcat
- https://access.redhat.com/errata/RHSA-2018:0465
- http://breaktoprotect.blogspot.com/2017/09/the-case-of-cve-2017-12615-tomcat-7-put.html
- https://access.redhat.com/errata/RHSA-2017:3114
- http://www.securityfocus.com/bid/100901
- https://access.redhat.com/errata/RHSA-2018:0466
- https://www.exploit-db.com/exploits/42953/
- https://security.netapp.com/advisory/ntap-20171018-0001/
- https://github.com/breaktoprotect/CVE-2017-12615
- https://access.redhat.com/errata/RHSA-2017:3081
- https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-12615
- https://nvd.nist.gov/vuln/detail/CVE-2017-12615
- https://www.exploit-db.com/exploits/42953
- https://security.netapp.com/advisory/ntap-20171018-0001
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c@%3Cannounce.apache.org%3E
- https://lists.apache.org/thread.html/8fcb1e2d5895413abcf266f011b9918ae03e0b7daceb118ffbf23f8c@%3Cannounce.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708@%3Cdev.tomcat.apache.org%3E
- https://github.com/advisories/GHSA-pjfr-qf3p-3q25