CVE-2017-12615KEV · OVERDUECWE-434unrestricted-file-upload

Apache Tomcat on Windows Remote Code Execution Vulnerability

High · published September 19, 2017

Patch now

Confirmed exploited, and the score agrees

CVSS calls it high at 8.1. It is confirmed in active exploitation. It sits in the 100.0th percentile for exploit probability.

1652
days past CISA
deadline
CVSS v3.1
8.1
EPSS
100%
Percentile
100.0
In the wild
Confirmed
What it is

🚨 An attacker can upload a malicious JSP file with just a crafted request on Tomcat versions 7.0.0 to 7.0.79! 🔥 Think of this like a sneaky delivery driver who gains access to a storage room and leaves a dangerous package directly inside. Once that package is there, anyone can open it up and unleash what's inside without a second glance! If exploited, an attacker could execute arbitrary code on your server simply by uploading their own JSP file. This means they could do anything from stealing sensitive data to taking full control of your system, making it crucial to act fast!

Put simply

Think of this like a sneaky delivery driver who gains access to a storage room and leaves a dangerous package directly inside. Once that package is there, anyone can open it up and unleash what's inside without a second glance! This vulnerability exists because the HTTP PUT method is enabled, allowing an attacker to upload a JSP file to the server without proper authorization checks. The server then executes any code contained within that uploaded file, leading to potential takeover.

What to do

If exploited, an attacker could execute arbitrary code on your server simply by uploading their own JSP file. This means they could do anything from stealing sensitive data to taking full control of your system, making it crucial to act fast! Disable HTTP PUT or restrict it to trusted users only. If you must keep it enabled, upgrade your Tomcat installation to a version higher than 7.0.79 to patch this vulnerability. Don't forget to review your access controls! You've got this! By taking the steps to secure your server, you're on your way to becoming a security hero! 🛡️

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.99641 · 100.0th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2017-09-19T17:29Z
KEV added
2022-03-25 · due 2022-04-15
Affected products (50)
ProductVersionsFixed in
apache/tomcat≥ 7.0.0, ≤ 7.0.79—
netapp/7-mode_transition_toolall versions—
netapp/oncommand_balanceall versions—
netapp/oncommand_shiftall versions—
redhat/enterprise_linux_server_update_services_for_sap_solutionsall versions—
redhat/enterprise_linux_server_update_services_for_sap_solutionsall versions—
redhat/enterprise_linux_server_update_services_for_sap_solutionsall versions—
redhat/jboss_enterprise_web_serverall versions—
redhat/jboss_enterprise_web_serverall versions—
redhat/jboss_enterprise_web_server_text-only_advisoriesall versions—
redhat/enterprise_linux_desktopall versions—
redhat/enterprise_linux_desktopall versions—
redhat/enterprise_linux_eusall versions—
redhat/enterprise_linux_eusall versions—
redhat/enterprise_linux_eusall versions—
redhat/enterprise_linux_eusall versions—
redhat/enterprise_linux_eus_compute_nodeall versions—
redhat/enterprise_linux_eus_compute_nodeall versions—
redhat/enterprise_linux_eus_compute_nodeall versions—
redhat/enterprise_linux_eus_compute_nodeall versions—
redhat/enterprise_linux_for_ibm_z_systemsall versions—
redhat/enterprise_linux_for_ibm_z_systems_eusall versions—
redhat/enterprise_linux_for_ibm_z_systems_eusall versions—
redhat/enterprise_linux_for_ibm_z_systems_eusall versions—
redhat/enterprise_linux_for_ibm_z_systems_eusall versions—
redhat/enterprise_linux_for_power_big_endianall versions—
redhat/enterprise_linux_for_power_big_endian_eusall versions—
redhat/enterprise_linux_for_power_big_endian_eusall versions—
redhat/enterprise_linux_for_power_big_endian_eusall versions—
redhat/enterprise_linux_for_power_big_endian_eusall versions—
redhat/enterprise_linux_for_power_little_endianall versions—
redhat/enterprise_linux_for_power_little_endian_eusall versions—
redhat/enterprise_linux_for_power_little_endian_eusall versions—
redhat/enterprise_linux_for_power_little_endian_eusall versions—
redhat/enterprise_linux_for_power_little_endian_eusall versions—
redhat/enterprise_linux_for_scientific_computingall versions—
redhat/enterprise_linux_serverall versions—
redhat/enterprise_linux_serverall versions—
redhat/enterprise_linux_server_ausall versions—
redhat/enterprise_linux_server_ausall versions—
redhat/enterprise_linux_server_ausall versions—
redhat/enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutionsall versions—
redhat/enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutionsall versions—
redhat/enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutionsall versions—
redhat/enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutionsall versions—
redhat/enterprise_linux_server_tusall versions—
redhat/enterprise_linux_server_tusall versions—
redhat/enterprise_linux_server_tusall versions—
redhat/enterprise_linux_workstationall versions—
redhat/enterprise_linux_workstationall versions—
References (39)
http://breaktoprotect.blogspot.com/2017/09/the-case-of-cve-2017-12615-tomcat-7-put.html · [email protected]http://www.securityfocus.com/bid/100901 · [email protected]http://www.securitytracker.com/id/1039392 · [email protected]https://access.redhat.com/errata/RHSA-2017:3080 · [email protected]https://access.redhat.com/errata/RHSA-2017:3081 · [email protected]https://access.redhat.com/errata/RHSA-2017:3113 · [email protected]https://access.redhat.com/errata/RHSA-2017:3114 · [email protected]https://access.redhat.com/errata/RHSA-2018:0465 · [email protected]https://access.redhat.com/errata/RHSA-2018:0466 · [email protected]https://github.com/breaktoprotect/CVE-2017-12615 · [email protected]https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E · [email protected]https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E · [email protected]https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E · [email protected]https://lists.apache.org/thread.html/8fcb1e2d5895413abcf266f011b9918ae03e0b7daceb118ffbf23f8c%40%3Cannounce.tomcat.apache.org%3E · [email protected]https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E · [email protected]https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E · [email protected]https://security.netapp.com/advisory/ntap-20171018-0001/ · [email protected]https://www.exploit-db.com/exploits/42953/ · [email protected]https://www.synology.com/support/security/Synology_SA_17_54_Tomcat · [email protected]http://breaktoprotect.blogspot.com/2017/09/the-case-of-cve-2017-12615-tomcat-7-put.html · af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/100901 · af854a3a-2127-422b-91ae-364da2661108http://www.securitytracker.com/id/1039392 · af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2017:3080 · af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2017:3081 · af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2017:3113 · af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2017:3114 · af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2018:0465 · af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2018:0466 · af854a3a-2127-422b-91ae-364da2661108https://github.com/breaktoprotect/CVE-2017-12615 · af854a3a-2127-422b-91ae-364da2661108https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E · af854a3a-2127-422b-91ae-364da2661108https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E · af854a3a-2127-422b-91ae-364da2661108https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E · af854a3a-2127-422b-91ae-364da2661108https://lists.apache.org/thread.html/8fcb1e2d5895413abcf266f011b9918ae03e0b7daceb118ffbf23f8c%40%3Cannounce.tomcat.apache.org%3E · af854a3a-2127-422b-91ae-364da2661108https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E · af854a3a-2127-422b-91ae-364da2661108https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E · af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20171018-0001/ · af854a3a-2127-422b-91ae-364da2661108https://www.exploit-db.com/exploits/42953/ · af854a3a-2127-422b-91ae-364da2661108https://www.synology.com/support/security/Synology_SA_17_54_Tomcat · af854a3a-2127-422b-91ae-364da2661108https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-12615 · 134c704f-9b21-4f2e-91b3-4a467353bcc0
EPSS history
Timeline
  • 25 MAR 00:00Z
    Added to CISA KEV — remediate by Apr 15
    kev
  • 19 SEP 13:00Z
    When running Apache Tomcat 7.0.0 to 7.0.79 on Windows with HTTP PUTs enabled (e.g
    cvelistv5