CVE-2017-12615Apache Tomcat on Windows Remote Code Execution Vulnerability
CVSS score
8.1
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
99.7%
99.7% chance of exploitation in the next 30 days, higher than 100.0% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 25 Mar 2022.
US federal deadline to fix: 15 Apr 2022.
Ransomware
Official 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.
Source: NVD · CNA: security@apache.org
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 25 Mar 2022.
US federal agencies must fix it by 15 Apr 2022. It's a sensible deadline for everyone else too.
CISA reports it has been used in ransomware attacks.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running Apache Tomcat, netapp 7-mode Transition Tool, netapp Oncommand Balance, netapp Oncommand Shift, Red Hat Enterprise Linux Server Update Services For Sap Solutions and compare its version with the affected versions.
Apply the vendor's fix
The official record doesn't name a fixed version. The vendor's advisory describes the fix:
- lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E
- lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E
- lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E
- lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Apache Tomcat | ≥ 7.0.0, ≤ 7.0.79 |
| netapp 7-mode Transition Tool | Not specified |
| netapp Oncommand Balance | Not specified |
| netapp Oncommand Shift | Not specified |
| Red Hat Enterprise Linux Server Update Services For Sap Solutions | 7.4 · 7.6 · 7.7 |
| Red Hat Jboss Enterprise Web Server | 2.0.0 · 3.0.0 |
| Red Hat Jboss Enterprise Web Server Text-only Advisories | Not specified |
| Red Hat Enterprise Linux Desktop | 6.0 · 7.0 |
| Red Hat Enterprise Linux Eus | 7.4 · 7.5 · 7.6 · 7.7 |
| Red Hat Enterprise Linux Eus Compute Node | 7.4 · 7.5 · 7.6 · 7.7 |
| Red Hat Enterprise Linux For Ibm Z Systems | 7.0_s390x |
| Red Hat Enterprise Linux For Ibm Z Systems Eus | 7.4_s390x · 7.5_s390x · 7.6_s390x · 7.7_s390x |
| Red Hat Enterprise Linux For Power Big Endian | 7.0_ppc64 |
| Red Hat Enterprise Linux For Power Big Endian Eus | 7.4_ppc64 · 7.5_ppc64 · 7.6_ppc64 · 7.7_ppc64 |
| Red Hat Enterprise Linux For Power Little Endian | 7.0_ppc64le |
| Red Hat Enterprise Linux For Power Little Endian Eus | 7.4_ppc64le · 7.5_ppc64le · 7.6_ppc64le · 7.7_ppc64le |
| Red Hat Enterprise Linux For Scientific Computing | 7.0 |
| Red Hat Enterprise Linux Server | 6.0 · 7.0 |
| Red Hat Enterprise Linux Server Aus | 7.4 · 7.6 · 7.7 |
| Red Hat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions | 7.4_ppc64le · 7.6_ppc64le · 7.7_ppc64le · 9.2_ppc64le |
| Red Hat Enterprise Linux Server Tus | 7.4 · 7.6 · 7.7 |
| Red Hat Enterprise Linux Workstation | 6.0 · 7.0 |
| Apache Apache Tomcat | 7.0.0 to 7.0.79 |
Weakness
- CWE-434 unrestricted file upload
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2017-12615 being exploited?
Yes. CISA added CVE-2017-12615 to its Known Exploited Vulnerabilities catalog on 25 Mar 2022, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 99.7% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2017-12615?
CVE-2017-12615 has a CVSS 3.1 base score of 8.1 (high).
Which versions are affected?
Apache Tomcat (≥ 7.0.0, ≤ 7.0.79), Netapp 7-mode Transition Tool, Netapp Oncommand Balance, Netapp Oncommand Shift, Red Hat Enterprise Linux Server Update Services For Sap Solutions (7.4; 7.6; 7.7), Red Hat Jboss Enterprise Web Server (2.0.0; 3.0.0)
Is there a patch for CVE-2017-12615?
The official record links to vendor advisories or patches; see “What to do” above.
References
- lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- breaktoprotect.blogspot.com/2017/09/the-case-of-cve-2017-12615-tomcat-7-put.html(Exploit)
- github.com/breaktoprotect/CVE-2017-12615(Exploit, Third Party Advisory)
- www.securityfocus.com/bid/100901(Broken Link, Third Party Advisory, VDB Entry)
- www.securitytracker.com/id/1039392(Broken Link, Third Party Advisory, VDB Entry)
- access.redhat.com/errata/RHSA-2017:3080(Third Party Advisory)
- access.redhat.com/errata/RHSA-2017:3081(Third Party Advisory)
- access.redhat.com/errata/RHSA-2017:3113(Third Party Advisory)
- access.redhat.com/errata/RHSA-2017:3114(Third Party Advisory)
- access.redhat.com/errata/RHSA-2018:0465(Third Party Advisory)
- access.redhat.com/errata/RHSA-2018:0466(Third Party Advisory)
- lists.apache.org/thread.html/8fcb1e2d5895413abcf266f011b9918ae03e0b7daceb118ffbf23f8c%40%3Cannounce.tomcat.apache.org%3E(Issue Tracking, Mailing List)
- lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E(Mailing List)
- security.netapp.com/advisory/ntap-20171018-0001/(Third Party Advisory)
- www.exploit-db.com/exploits/42953/(Third Party Advisory, VDB Entry)
- www.synology.com/support/security/Synology_SA_17_54_Tomcat(Third Party Advisory)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-12615(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.