When running Apache Tomcat, it is 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.
In short
CVE-2017-12617 (Apache Tomcat Remote Code Execution) has a CVSS 3.1 base score of 8.1, rated high. CISA added it to the Known Exploited Vulnerabilities catalog on 25 Mar 2022. Fixed in Apache Tomcat 7.0.82 or later.
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.
CVSS 3.1 breakdown
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HAffected products
- 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
- Netapp Active Iq Unified Manager≥ 9.5 · ≥ 7.3
- Netapp Oncommand Balanceall versions
- Netapp Oncommand Insightall versions
- Netapp Oncommand Shiftall versions
- Netapp Oncommand Workflow Automationall versions
- Netapp Snapcenterall versions
- Oracle Agile Product Lifecycle Management9.3.3 · 9.3.4 · 9.3.5 · 9.3.6
- Oracle Communications Instant Messaging Server10.0.1
- Oracle Endeca Information Discovery Integrator3.1.0 · 3.2.0
- Oracle Enterprise Manager For Mysql Database12.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 Platform12.2.1.2.0 · 12.2.1.3.0
- Oracle Health Sciences Empirica Inspections1.0.1.1
- Oracle Hospitality Guest Access4.2.0 · 4.2.1
- Oracle Instantis Enterprisetrack17.1 · 17.2
- Oracle Management Pack11.2.1.0.13
- Oracle Micros Lucas2.9.5
- Oracle Micros Retail Xbri Loss Prevention10.0.1 · 10.5.0 · 10.6.0 · 10.7.0
- Oracle Mysql Enterprise Monitor≥ 3.4.0 ≤ 3.4.4.4226 · ≥ 4.0.0 ≤ 4.0.0.5135 · ≤ 3.3.6.3293
- Oracle Retail Advanced Inventory Planning13.2 · 13.4 · 14.1 · 15.0
- Oracle Retail Back Office14.0.4 · 14.1.3
- Oracle Retail Central Office14.0.4 · 14.1.3
- Oracle Retail Convenience And Fuel Pos Software2.1.132
Remediation
Fixed in- Apache Tomcat≥ 7.0.82
- https://lists.apache.org/thread.html/1dd0a59c1295cc08ce4c9e7edae5ad2268acc9ba55adcefa0532e5ba%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%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/5c0e00fd31efc11e147bf99d0f03c00a734447d3b131ab0818644cdb%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/6af47120905aa7d8fe12f42e8ff2284fb338ba141d3b77b8c7cb61b3%40%3Cdev.tomcat.apache.org%3E
References
- https://access.redhat.com/errata/RHSA-2017:3080
- https://access.redhat.com/errata/RHSA-2017:3081
- https://access.redhat.com/errata/RHSA-2017:3113
- https://access.redhat.com/errata/RHSA-2017:3114
- https://access.redhat.com/errata/RHSA-2018:0268
- https://access.redhat.com/errata/RHSA-2018:0269
- https://access.redhat.com/errata/RHSA-2018:0270
- https://access.redhat.com/errata/RHSA-2018:0271
- https://access.redhat.com/errata/RHSA-2018:0275
- https://access.redhat.com/errata/RHSA-2018:0465
and 35 more references
Related CVEs
Exploited and critical vulnerabilities in the same product or from the same vendor.
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
