CVE-2017-12617Apache Tomcat Remote Code Execution Vulnerability
CVSS score
8.1
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
100.0%
100.0% 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.
Official description
When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTTP PUTs enabled (e.g. via setting the readonly initialisation parameter of the Default servlet 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's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running Apache Tomcat, Canonical Ubuntu Linux, Oracle Agile Product Lifecycle Management, Oracle Communications Instant Messaging Server, Oracle Endeca Information Discovery Integrator and compare its version with the affected versions.
Update to a fixed version
- Update Tomcat to 7.0.82, 8.0.47, 8.5.23, 9.0.1 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
- www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- lists.apache.org/thread.html/1dd0a59c1295cc08ce4c9e7edae5ad2268acc9ba55adcefa0532e5ba%40%3Cdev.tomcat.apache.org%3E
- lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%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.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
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.82 · ≥ 8.0, < 8.0.47 · ≥ 8.5.0, < 8.5.23 · ≥ 9.0.0, < 9.0.1 |
| Canonical Ubuntu Linux | 12.04 · 16.04 · 17.10 · 18.04 |
| Oracle Agile Product Lifecycle Management | 9.3.3 · 9.3.4 · 9.3.5 · 9.3.6 |
| Oracle Communications Instant Messaging Server | 10.0.1 |
| Oracle Endeca Information Discovery Integrator | 3.1.0 · 3.2.0 |
| Oracle Enterprise Manager For Mysql Database | 12.1.0.4.0 |
| Oracle Financial Services Analytical Applications Infrastructure | ≥ 7.3.3.0.0, ≤ 7.3.5.3.0 · ≥ 8.0.0.0.0, ≤ 8.0.9.0.0 |
| Oracle Fmw Platform | 12.2.1.2.0 · 12.2.1.3.0 |
| Oracle Health Sciences Empirica Inspections | 1.0.1.1 |
| Oracle Hospitality Guest Access | 4.2.0 · 4.2.1 |
| Oracle Instantis Enterprisetrack | 17.1 · 17.2 |
| Oracle Management Pack | 11.2.1.0.13 |
| Oracle Micros Lucas | 2.9.5 |
| Oracle Micros Retail Xbri Loss Prevention | 10.0.1 · 10.5.0 · 10.6.0 · 10.7.0 · 10.8.0 · 10.8.1 |
| Oracle Mysql Enterprise Monitor | ≤ 3.3.6.3293 · ≥ 3.4.0, ≤ 3.4.4.4226 · ≥ 4.0.0, ≤ 4.0.0.5135 |
| Oracle Retail Advanced Inventory Planning | 13.2 · 13.4 · 14.1 · 15.0 |
| Oracle Retail Back Office | 14.0.4 · 14.1.3 |
| Oracle Retail Central Office | 14.0.4 · 14.1.3 |
| Oracle Retail Convenience And Fuel Pos Software | 2.1.132 |
| Oracle Retail Eftlink | 1.1.124 · 15.0.1 · 16.0.2 |
| Oracle Retail Insights | 14.0 · 14.1 · 15.0 · 16.0 |
| Oracle Retail Invoice Matching | 12.0 · 13.0 · 13.1 · 13.2 · 14.0 · 14.1 |
| Oracle Retail Order Broker | 5.0 · 5.1 · 5.2 · 15.0 · 16.0 |
| Oracle Retail Order Management System | 4.0 · 4.5 · 4.7 · 5.0 |
| Oracle Retail Point-of-service | 14.0.4 · 14.1.3 |
Weakness
- CWE-434 unrestricted file upload
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2017-12617 being exploited?
Yes. CISA added CVE-2017-12617 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 100.0% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2017-12617?
CVE-2017-12617 has a CVSS 3.1 base score of 8.1 (high).
Which versions are affected?
Apache Tomcat (≥ 7.0.0, < 7.0.82; ≥ 8.0, < 8.0.47; ≥ 8.5.0, < 8.5.23; ≥ 9.0.0, < 9.0.1), Canonical Ubuntu Linux (12.04; 16.04; 17.10; 18.04), Oracle Agile Product Lifecycle Management (9.3.3; 9.3.4; 9.3.5; 9.3.6), Oracle Communications Instant Messaging Server (10.0.1), Oracle Endeca Information Discovery Integrator (3.1.0; 3.2.0), Oracle Enterprise Manager For Mysql Database (12.1.0.4.0)
Is there a patch for CVE-2017-12617?
The official record links to vendor advisories or patches; see “What to do” above.
References
- www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html(Patch, Third Party Advisory)
- www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html(Patch, Third Party Advisory)
- www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html(Patch, Third Party Advisory)
- lists.apache.org/thread.html/1dd0a59c1295cc08ce4c9e7edae5ad2268acc9ba55adcefa0532e5ba%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- 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/5c0e00fd31efc11e147bf99d0f03c00a734447d3b131ab0818644cdb%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- lists.apache.org/thread.html/6af47120905aa7d8fe12f42e8ff2284fb338ba141d3b77b8c7cb61b3%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/88855876c33f2f9c532ffb75bfee570ccf0b17ffa77493745af9a17a%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- lists.apache.org/thread.html/e85e83e9954f169bbb77b44baae5a33d8de878df557bb32b7f793661%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- lists.apache.org/thread.html/eb6efa8d59c45a7a9eff94c4b925467d3b3fec8ba7697f3daa314b04%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- lists.apache.org/thread.html/r6ccee4e849bc77df0840c7f853f6bd09d426f6741247da2b7429d5d9%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- lists.apache.org/thread.html/raba0fabaf4d56d4325ab2aca8814f0b30a237ab83d8106b115ee279a%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html(Patch, Third Party Advisory)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.