CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2017-12617

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.
Publish Date : 2017-10-03 Last Update Date : 2019-04-23
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
6.8
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute Code
CWE ID 434

- Related OVAL Definitions

Title Definition Id Class Family
RHSA-2017:3080: tomcat6 security update (Important) oval:com.redhat.rhsa:def:20173080 unix
RHSA-2017:3081: tomcat security update (Important) oval:com.redhat.rhsa:def:20173081 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2017-12617

# Product Type Vendor Product Version Update Edition Language
1 Application Apache Tomcat 7.0.0 Version Details Vulnerabilities
2 Application Apache Tomcat 7.0.1 Version Details Vulnerabilities
3 Application Apache Tomcat 7.0.2 Version Details Vulnerabilities
4 Application Apache Tomcat 7.0.2 Beta Version Details Vulnerabilities
5 Application Apache Tomcat 7.0.3 Version Details Vulnerabilities
6 Application Apache Tomcat 7.0.4 Beta Version Details Vulnerabilities
7 Application Apache Tomcat 7.0.4 Version Details Vulnerabilities
8 Application Apache Tomcat 7.0.5 Beta Version Details Vulnerabilities
9 Application Apache Tomcat 7.0.5 Version Details Vulnerabilities
10 Application Apache Tomcat 7.0.6 Version Details Vulnerabilities
11 Application Apache Tomcat 7.0.7 Version Details Vulnerabilities
12 Application Apache Tomcat 7.0.8 Version Details Vulnerabilities
13 Application Apache Tomcat 7.0.9 Version Details Vulnerabilities
14 Application Apache Tomcat 7.0.10 Version Details Vulnerabilities
15 Application Apache Tomcat 7.0.11 Version Details Vulnerabilities
16 Application Apache Tomcat 7.0.12 Version Details Vulnerabilities
17 Application Apache Tomcat 7.0.13 Version Details Vulnerabilities
18 Application Apache Tomcat 7.0.14 Version Details Vulnerabilities
19 Application Apache Tomcat 7.0.15 Version Details Vulnerabilities
20 Application Apache Tomcat 7.0.16 Version Details Vulnerabilities
21 Application Apache Tomcat 7.0.17 Version Details Vulnerabilities
22 Application Apache Tomcat 7.0.18 Version Details Vulnerabilities
23 Application Apache Tomcat 7.0.19 Version Details Vulnerabilities
24 Application Apache Tomcat 7.0.20 Version Details Vulnerabilities
25 Application Apache Tomcat 7.0.21 Version Details Vulnerabilities
26 Application Apache Tomcat 7.0.22 Version Details Vulnerabilities
27 Application Apache Tomcat 7.0.23 Version Details Vulnerabilities
28 Application Apache Tomcat 7.0.24 Version Details Vulnerabilities
29 Application Apache Tomcat 7.0.25 Version Details Vulnerabilities
30 Application Apache Tomcat 7.0.26 Version Details Vulnerabilities
31 Application Apache Tomcat 7.0.27 Version Details Vulnerabilities
32 Application Apache Tomcat 7.0.28 Version Details Vulnerabilities
33 Application Apache Tomcat 7.0.29 Version Details Vulnerabilities
34 Application Apache Tomcat 7.0.30 Version Details Vulnerabilities
35 Application Apache Tomcat 7.0.31 Version Details Vulnerabilities
36 Application Apache Tomcat 7.0.32 Version Details Vulnerabilities
37 Application Apache Tomcat 7.0.33 Version Details Vulnerabilities
38 Application Apache Tomcat 7.0.34 Version Details Vulnerabilities
39 Application Apache Tomcat 7.0.35 Version Details Vulnerabilities
40 Application Apache Tomcat 7.0.36 Version Details Vulnerabilities
41 Application Apache Tomcat 7.0.37 Version Details Vulnerabilities
42 Application Apache Tomcat 7.0.38 Version Details Vulnerabilities
43 Application Apache Tomcat 7.0.39 Version Details Vulnerabilities
44 Application Apache Tomcat 7.0.40 Version Details Vulnerabilities
45 Application Apache Tomcat 7.0.41 Version Details Vulnerabilities
46 Application Apache Tomcat 7.0.42 Version Details Vulnerabilities
47 Application Apache Tomcat 7.0.43 Version Details Vulnerabilities
48 Application Apache Tomcat 7.0.44 Version Details Vulnerabilities
49 Application Apache Tomcat 7.0.45 Version Details Vulnerabilities
50 Application Apache Tomcat 7.0.46 Version Details Vulnerabilities
51 Application Apache Tomcat 7.0.47 Version Details Vulnerabilities
52 Application Apache Tomcat 7.0.48 Version Details Vulnerabilities
53 Application Apache Tomcat 7.0.49 Version Details Vulnerabilities
54 Application Apache Tomcat 7.0.50 Version Details Vulnerabilities
55 Application Apache Tomcat 7.0.51 Version Details Vulnerabilities
56 Application Apache Tomcat 7.0.54 Version Details Vulnerabilities
57 Application Apache Tomcat 7.0.55 Version Details Vulnerabilities
58 Application Apache Tomcat 7.0.56 Version Details Vulnerabilities
59 Application Apache Tomcat 7.0.57 Version Details Vulnerabilities
60 Application Apache Tomcat 7.0.58 Version Details Vulnerabilities
61 Application Apache Tomcat 7.0.59 Version Details Vulnerabilities
62 Application Apache Tomcat 7.0.60 Version Details Vulnerabilities
63 Application Apache Tomcat 7.0.61 Version Details Vulnerabilities
64 Application Apache Tomcat 7.0.62 Version Details Vulnerabilities
65 Application Apache Tomcat 7.0.63 Version Details Vulnerabilities
66 Application Apache Tomcat 7.0.64 Version Details Vulnerabilities
67 Application Apache Tomcat 7.0.65 Version Details Vulnerabilities
68 Application Apache Tomcat 7.0.66 Version Details Vulnerabilities
69 Application Apache Tomcat 7.0.67 Version Details Vulnerabilities
70 Application Apache Tomcat 7.0.68 Version Details Vulnerabilities
71 Application Apache Tomcat 7.0.69 Version Details Vulnerabilities
72 Application Apache Tomcat 7.0.70 Version Details Vulnerabilities
73 Application Apache Tomcat 7.0.71 Version Details Vulnerabilities
74 Application Apache Tomcat 7.0.72 Version Details Vulnerabilities
75 Application Apache Tomcat 7.0.73 Version Details Vulnerabilities
76 Application Apache Tomcat 7.0.74 Version Details Vulnerabilities
77 Application Apache Tomcat 7.0.75 Version Details Vulnerabilities
78 Application Apache Tomcat 7.0.76 Version Details Vulnerabilities
79 Application Apache Tomcat 7.0.77 Version Details Vulnerabilities
80 Application Apache Tomcat 7.0.79 Version Details Vulnerabilities
81 Application Apache Tomcat 7.0.80 Version Details Vulnerabilities
82 Application Apache Tomcat 7.0.81 Version Details Vulnerabilities
83 Application Apache Tomcat 8.0.0 Rc10 Version Details Vulnerabilities
84 Application Apache Tomcat 8.0.0 RC2 Version Details Vulnerabilities
85 Application Apache Tomcat 8.0.0 RC5 Version Details Vulnerabilities
86 Application Apache Tomcat 8.0.0 RC1 Version Details Vulnerabilities
87 Application Apache Tomcat 8.0.1 Version Details Vulnerabilities
88 Application Apache Tomcat 8.0.2 Version Details Vulnerabilities
89 Application Apache Tomcat 8.0.4 Version Details Vulnerabilities
90 Application Apache Tomcat 8.0.6 Version Details Vulnerabilities
91 Application Apache Tomcat 8.0.7 Version Details Vulnerabilities
92 Application Apache Tomcat 8.0.9 Version Details Vulnerabilities
93 Application Apache Tomcat 8.0.10 Version Details Vulnerabilities
94 Application Apache Tomcat 8.0.11 Version Details Vulnerabilities
95 Application Apache Tomcat 8.0.12 Version Details Vulnerabilities
96 Application Apache Tomcat 8.0.13 Version Details Vulnerabilities
97 Application Apache Tomcat 8.0.14 Version Details Vulnerabilities
98 Application Apache Tomcat 8.0.15 Version Details Vulnerabilities
99 Application Apache Tomcat 8.0.16 Version Details Vulnerabilities
100 Application Apache Tomcat 8.0.17 Version Details Vulnerabilities
101 Application Apache Tomcat 8.0.18 Version Details Vulnerabilities
102 Application Apache Tomcat 8.0.19 Version Details Vulnerabilities
103 Application Apache Tomcat 8.0.20 Version Details Vulnerabilities
104 Application Apache Tomcat 8.0.21 Version Details Vulnerabilities
105 Application Apache Tomcat 8.0.22 Version Details Vulnerabilities
106 Application Apache Tomcat 8.0.23 Version Details Vulnerabilities
107 Application Apache Tomcat 8.0.24 Version Details Vulnerabilities
108 Application Apache Tomcat 8.0.25 Version Details Vulnerabilities
109 Application Apache Tomcat 8.0.26 Version Details Vulnerabilities
110 Application Apache Tomcat 8.0.27 Version Details Vulnerabilities
111 Application Apache Tomcat 8.0.28 Version Details Vulnerabilities
112 Application Apache Tomcat 8.0.29 Version Details Vulnerabilities
113 Application Apache Tomcat 8.0.30 Version Details Vulnerabilities
114 Application Apache Tomcat 8.0.31 Version Details Vulnerabilities
115 Application Apache Tomcat 8.0.32 Version Details Vulnerabilities
116 Application Apache Tomcat 8.0.33 Version Details Vulnerabilities
117 Application Apache Tomcat 8.0.34 Version Details Vulnerabilities
118 Application Apache Tomcat 8.0.35 Version Details Vulnerabilities
119 Application Apache Tomcat 8.0.36 Version Details Vulnerabilities
120 Application Apache Tomcat 8.0.37 Version Details Vulnerabilities
121 Application Apache Tomcat 8.0.38 Version Details Vulnerabilities
122 Application Apache Tomcat 8.0.39 Version Details Vulnerabilities
123 Application Apache Tomcat 8.0.40 Version Details Vulnerabilities
124 Application Apache Tomcat 8.0.41 Version Details Vulnerabilities
125 Application Apache Tomcat 8.0.42 Version Details Vulnerabilities
126 Application Apache Tomcat 8.0.43 Version Details Vulnerabilities
127 Application Apache Tomcat 8.0.44 Version Details Vulnerabilities
128 Application Apache Tomcat 8.0.45 Version Details Vulnerabilities
129 Application Apache Tomcat 8.0.46 Version Details Vulnerabilities
130 Application Apache Tomcat 8.5.0 Version Details Vulnerabilities
131 Application Apache Tomcat 8.5.1 Version Details Vulnerabilities
132 Application Apache Tomcat 8.5.2 Version Details Vulnerabilities
133 Application Apache Tomcat 8.5.3 Version Details Vulnerabilities
134 Application Apache Tomcat 8.5.4 Version Details Vulnerabilities
135 Application Apache Tomcat 8.5.5 Version Details Vulnerabilities
136 Application Apache Tomcat 8.5.6 Version Details Vulnerabilities
137 Application Apache Tomcat 8.5.7 Version Details Vulnerabilities
138 Application Apache Tomcat 8.5.8 Version Details Vulnerabilities
139 Application Apache Tomcat 8.5.9 Version Details Vulnerabilities
140 Application Apache Tomcat 8.5.10 Version Details Vulnerabilities
141 Application Apache Tomcat 8.5.11 Version Details Vulnerabilities
142 Application Apache Tomcat 8.5.12 Version Details Vulnerabilities
143 Application Apache Tomcat 8.5.13 Version Details Vulnerabilities
144 Application Apache Tomcat 8.5.14 Version Details Vulnerabilities
145 Application Apache Tomcat 8.5.15 Version Details Vulnerabilities
146 Application Apache Tomcat 8.5.16 Version Details Vulnerabilities
147 Application Apache Tomcat 8.5.17 Version Details Vulnerabilities
148 Application Apache Tomcat 8.5.18 Version Details Vulnerabilities
149 Application Apache Tomcat 8.5.19 Version Details Vulnerabilities
150 Application Apache Tomcat 8.5.20 Version Details Vulnerabilities
151 Application Apache Tomcat 8.5.21 Version Details Vulnerabilities
152 Application Apache Tomcat 8.5.22 Version Details Vulnerabilities
153 Application Apache Tomcat 9.0.0 M18 Version Details Vulnerabilities
154 Application Apache Tomcat 9.0.0 M8 Version Details Vulnerabilities
155 Application Apache Tomcat 9.0.0 M13 Version Details Vulnerabilities
156 Application Apache Tomcat 9.0.0 M3 Version Details Vulnerabilities
157 Application Apache Tomcat 9.0.0 Version Details Vulnerabilities
158 Application Apache Tomcat 9.0.0 M19 Version Details Vulnerabilities
159 Application Apache Tomcat 9.0.0 M9 Version Details Vulnerabilities
160 Application Apache Tomcat 9.0.0 M14 Version Details Vulnerabilities
161 Application Apache Tomcat 9.0.0 M4 Version Details Vulnerabilities
162 Application Apache Tomcat 9.0.0 M1 Version Details Vulnerabilities
163 Application Apache Tomcat 9.0.0 M2 Version Details Vulnerabilities
164 Application Apache Tomcat 9.0.0 M15 Version Details Vulnerabilities
165 Application Apache Tomcat 9.0.0 M10 Version Details Vulnerabilities
166 Application Apache Tomcat 9.0.0 M5 Version Details Vulnerabilities
167 Application Apache Tomcat 9.0.0 M20 Version Details Vulnerabilities
168 Application Apache Tomcat 9.0.0 M16 Version Details Vulnerabilities
169 Application Apache Tomcat 9.0.0 M11 Version Details Vulnerabilities
170 Application Apache Tomcat 9.0.0 M6 Version Details Vulnerabilities
171 Application Apache Tomcat 9.0.0 M21 Version Details Vulnerabilities
172 Application Apache Tomcat 9.0.0 M17 Version Details Vulnerabilities
173 Application Apache Tomcat 9.0.0 M7 Version Details Vulnerabilities
174 Application Apache Tomcat 9.0.0 M12 Version Details Vulnerabilities
175 Application Apache Tomcat 9.0.0 M22 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Apache Tomcat 175

- References For CVE-2017-12617

https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E
MLIST [tomcat-dev] 20190413 svn commit: r1857494 [17/20] - in /tomcat/site/trunk: ./ docs/ xdocs/
https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03828en_us CONFIRM
https://support.f5.com/csp/article/K53173544 CONFIRM
https://usn.ubuntu.com/3665-1/
UBUNTU USN-3665-1
https://www.exploit-db.com/exploits/42966/
EXPLOIT-DB 42966
https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03812en_us CONFIRM
https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E
MLIST [tomcat-dev] 20190413 svn commit: r1857496 [3/4] - in /tomcat/site/trunk: ./ docs/ xdocs/
https://security.netapp.com/advisory/ntap-20180117-0002/ CONFIRM
https://security.netapp.com/advisory/ntap-20171018-0002/ CONFIRM
http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html CONFIRM
https://lists.debian.org/debian-lts-announce/2017/11/msg00009.html
MLIST [debian-lts-announce] 20171107 [SECURITY] [DLA 1166-1] tomcat7 security update
https://www.exploit-db.com/exploits/43008/
EXPLOIT-DB 43008
https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E
MLIST [tomcat-dev] 20190325 svn commit: r1856174 [24/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/
https://lists.apache.org/thread.html/[email protected]%3Cannounce.tomcat.apache.org%3E
MLIST [announce] 20171003 [SECURITY] CVE-2017-12617 Apache Tomcat Remote Code Execution via JSP upload
https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E
MLIST [tomcat-dev] 20190325 svn commit: r1856174 [23/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/
http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html CONFIRM
https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E
MLIST [tomcat-dev] 20190413 svn commit: r1857494 [16/20] - in /tomcat/site/trunk: ./ docs/ xdocs/
https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E
MLIST [tomcat-dev] 20190415 svn commit: r1857582 [19/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/
https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E
MLIST [tomcat-dev] 20190319 svn commit: r1855831 [24/30] - in /tomcat/site/trunk: ./ docs/ xdocs/
https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E
MLIST [tomcat-dev] 20190415 svn commit: r1857582 [17/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/
https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E
MLIST [tomcat-dev] 20190415 svn commit: r1857582 [18/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/
https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E
MLIST [tomcat-dev] 20190325 svn commit: r1856174 [22/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/
https://lists.apache.org/thread.html/[email protected]%3Cdev.tomcat.apache.org%3E
MLIST [tomcat-dev] 20190319 svn commit: r1855831 [25/30] - in /tomcat/site/trunk: ./ docs/ xdocs/
https://access.redhat.com/errata/RHSA-2018:2939
REDHAT RHSA-2018:2939
https://access.redhat.com/errata/RHSA-2018:0466
REDHAT RHSA-2018:0466
https://access.redhat.com/errata/RHSA-2018:0465
REDHAT RHSA-2018:0465
https://access.redhat.com/errata/RHSA-2018:0275
REDHAT RHSA-2018:0275
https://access.redhat.com/errata/RHSA-2018:0271
REDHAT RHSA-2018:0271
https://access.redhat.com/errata/RHSA-2018:0270
REDHAT RHSA-2018:0270
https://access.redhat.com/errata/RHSA-2018:0269
REDHAT RHSA-2018:0269
https://access.redhat.com/errata/RHSA-2018:0268
REDHAT RHSA-2018:0268
https://access.redhat.com/errata/RHSA-2017:3114
REDHAT RHSA-2017:3114
https://access.redhat.com/errata/RHSA-2017:3113
REDHAT RHSA-2017:3113
https://access.redhat.com/errata/RHSA-2017:3081
REDHAT RHSA-2017:3081
http://www.securitytracker.com/id/1039552
SECTRACK 1039552
https://access.redhat.com/errata/RHSA-2017:3080
REDHAT RHSA-2017:3080
http://www.securityfocus.com/bid/100954
BID 100954 Apache Tomcat CVE-2017-12617 Incomplete Fix Remote Code Execution Vulnerability Release Date:2018-04-18
http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html CONFIRM

- Metasploit Modules Related To CVE-2017-12617

Tomcat RCE via JSP Upload Bypass
This module uploads a jsp payload and executes it.
Module type : exploit Rank : excellent Platforms : Linux,Windows


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.