Apache Tomcat up to 7.0.81/8.0.46/8.5.22/9.0.0 JSP File unrestricted upload
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
7.5 | $0-$5k | 0.00 |
A vulnerability was found in Apache Tomcat up to 7.0.81/8.0.46/8.5.22/9.0.0 (Application Server Software) and classified as critical. This issue affects an unknown part of the component JSP File Handler. The manipulation with an unknown input leads to a unrestricted upload vulnerability. Using CWE to declare the problem leads to CWE-434. The product allows the attacker to upload or transfer files of dangerous types that can be automatically processed within the product's environment. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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.
The bug was discovered 09/21/2017. The weakness was released 10/04/2017 (Website). It is possible to read the advisory at lists.apache.org. The identification of this vulnerability is CVE-2017-12617 since 08/07/2017. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are unknown but a public exploit is available. The attack technique deployed by this issue is T1608.002 according to MITRE ATT&CK.
A public exploit has been developed by Metasploit in Python and been published 2 weeks after the advisory. The exploit is available at exploit-db.com. It is declared as highly functional. We expect the 0-day to have been worth approximately $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 103329 (Apache Tomcat 7.0.x < 7.0.81 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Web Servers and running in the context r. The commercial vulnerability scanner Qualys is able to test this issue with plugin 370952 (HPE Intelligent Management Center (iMC) PLAT Multiple Vulnerabilities(HPESBHF03810EN_US,HPESBHF03809EN_US,HPESBHF03812EN_US)).
Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (103329) and Exploit-DB (43008). Entries connected to this vulnerability are available at 92314, 92773, 92782 and 92786.
Product
Type
Vendor
Name
Version
- 7.0.0
- 7.0.1
- 7.0.2
- 7.0.3
- 7.0.4
- 7.0.5
- 7.0.6
- 7.0.7
- 7.0.8
- 7.0.9
- 7.0.10
- 7.0.11
- 7.0.12
- 7.0.13
- 7.0.14
- 7.0.15
- 7.0.16
- 7.0.17
- 7.0.18
- 7.0.19
- 7.0.20
- 7.0.21
- 7.0.22
- 7.0.23
- 7.0.24
- 7.0.25
- 7.0.26
- 7.0.27
- 7.0.28
- 7.0.29
- 7.0.30
- 7.0.31
- 7.0.32
- 7.0.33
- 7.0.34
- 7.0.35
- 7.0.36
- 7.0.37
- 7.0.38
- 7.0.39
- 7.0.40
- 7.0.41
- 7.0.42
- 7.0.43
- 7.0.44
- 7.0.45
- 7.0.46
- 7.0.47
- 7.0.48
- 7.0.49
- 7.0.50
- 7.0.51
- 7.0.52
- 7.0.53
- 7.0.54
- 7.0.55
- 7.0.56
- 7.0.57
- 7.0.58
- 7.0.59
- 7.0.60
- 7.0.61
- 7.0.62
- 7.0.63
- 7.0.64
- 7.0.65
- 7.0.66
- 7.0.67
- 7.0.68
- 7.0.69
- 7.0.70
- 7.0.71
- 7.0.72
- 7.0.73
- 7.0.74
- 7.0.75
- 7.0.76
- 7.0.77
- 7.0.78
- 7.0.79
- 7.0.80
- 7.0.81
- 8.0.0
- 8.0.1
- 8.0.2
- 8.0.3
- 8.0.4
- 8.0.5
- 8.0.6
- 8.0.7
- 8.0.8
- 8.0.9
- 8.0.10
- 8.0.11
- 8.0.12
- 8.0.13
- 8.0.14
- 8.0.15
- 8.0.16
- 8.0.17
- 8.0.18
- 8.0.19
- 8.0.20
- 8.0.21
- 8.0.22
- 8.0.23
- 8.0.24
- 8.0.25
- 8.0.26
- 8.0.27
- 8.0.28
- 8.0.29
- 8.0.30
- 8.0.31
- 8.0.32
- 8.0.33
- 8.0.34
- 8.0.35
- 8.0.36
- 8.0.37
- 8.0.38
- 8.0.39
- 8.0.40
- 8.0.41
- 8.0.42
- 8.0.43
- 8.0.44
- 8.0.45
- 8.0.46
- 8.5.0
- 8.5.1
- 8.5.2
- 8.5.3
- 8.5.4
- 8.5.5
- 8.5.6
- 8.5.7
- 8.5.8
- 8.5.9
- 8.5.10
- 8.5.11
- 8.5.12
- 8.5.13
- 8.5.14
- 8.5.15
- 8.5.16
- 8.5.17
- 8.5.18
- 8.5.19
- 8.5.20
- 8.5.21
- 8.5.22
- 9.0
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.7VulDB Meta Temp Score: 7.5
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.1
NVD Vector: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Unrestricted uploadCWE: CWE-434 / CWE-284 / CWE-266
ATT&CK: T1608.002
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Highly functional
Author: Metasploit
Programming Language: 🔍
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 103329
Nessus Name: Apache Tomcat 7.0.x < 7.0.81 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 801940
OpenVAS Name: Apache Tomcat HTTP PUT Request JSP Upload Code Execution Vulnerability
OpenVAS File: 🔍
OpenVAS Family: 🔍
Saint ID: tomcat_put_jsp_upload
Saint Name: Apache Tomcat PUT method JSP upload
Qualys ID: 🔍
Qualys Name: 🔍
MetaSploit ID: tomcat_jsp_upload_bypass.rb
MetaSploit Name: Tomcat RCE via JSP Upload Bypass
MetaSploit File: 🔍
D2Sec: Apache Tomcat for Windows HTTP PUT Method File Upload
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Exploit Delay Time: 🔍
Suricata ID: 2024808
Suricata Class: 🔍
Suricata Message: 🔍
Timeline
08/07/2017 🔍08/16/2017 🔍
09/19/2017 🔍
09/21/2017 🔍
09/21/2017 🔍
10/03/2017 🔍
10/04/2017 🔍
10/04/2017 🔍
10/17/2017 🔍
10/17/2017 🔍
12/30/2022 🔍
Sources
Vendor: apache.orgAdvisory: RHSA-2017:3080
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2017-12617 (🔍)
OVAL: 🔍
SecurityTracker: 1039552
SecurityFocus: 100954 - Apache Tomcat CVE-2017-12617 Incomplete Fix Remote Code Execution Vulnerability
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 10/04/2017 10:27Updated: 12/30/2022 15:16
Changes: 10/04/2017 10:27 (90), 11/28/2019 13:39 (9), 01/15/2021 10:46 (2), 12/30/2022 15:16 (3)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.