CVE-2017-12615
tomcat: Remote Code Execution via JSP Upload
Overview
Description
When running Apache Tomcat 7.0.0 to 7.0.79 on Windows with HTTP PUTs enabled (e.g. via setting the readonly initialisation parameter of the Default 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: OX vulnerability database
Severity
8.1 · HIGH
CVSS 3.1 base score, scored by NVD.
- 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:H
Weakness: CWE-434
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >=7.0.0, <7.0.79 | 7.0.79 |
Open a package to see all its vulnerabilities.
Operating systems · 7 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | tomcat +9 | 7.0.76-3.el7_4 |
Red Hat 1 release · 6 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | tomcat-vault +2 | 0:1.1.6-1.Final_redhat_1.1.ep7.el7 | RHSA-2018:0466 |
| 7 | tomcat-native | 0:1.2.8-11.redhat_11.ep7.el7 | RHSA-2018:0466 |
| 7 | mod-cluster +2 | 0:1.3.8-2.Final_redhat_2.1.ep7.el7 | RHSA-2018:0466 |
| 7 | tomcat7 +11 | 0:7.0.70-25.ep7.el7 | RHSA-2018:0466 |
| 7 | tomcat +9 | 0:7.0.76-3.el7_4 | RHSA-2017:3081 |
| 7 | tomcat8 +11 | 0:8.0.36-29.ep7.el7 | RHSA-2018:0466 |
References
- breaktoprotect.blogspot.com http://breaktoprotect.blogspot.com/2017/09/the-case-of-cve-2017-12615-tomcat-7-put.html
- www.securityfocus.com http://www.securityfocus.com/bid/100901
- www.securitytracker.com http://www.securitytracker.com/id/1039392
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:3080
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:3081
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:3113
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:3114
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:0465
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:0466
- access.redhat.com https://access.redhat.com/security/cve/CVE-2017-12615
Show all 36 references
- github.com https://github.com/advisories/GHSA-pjfr-qf3p-3q25
- github.com https://github.com/breaktoprotect/CVE-2017-12615
- linux.oracle.com https://linux.oracle.com/cve/CVE-2017-12615.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2017-3081.html
- lists.apache.org https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708@%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7@%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424@%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/8fcb1e2d5895413abcf266f011b9918ae03e0b7daceb118ffbf23f8c%40%3Cannounce.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/8fcb1e2d5895413abcf266f011b9918ae03e0b7daceb118ffbf23f8c@%3Cannounce.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c@%3Cannounce.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c@%3Cdev.tomcat.apache.org%3E
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-12615
- security.netapp.com https://security.netapp.com/advisory/ntap-20171018-0001
- security.netapp.com https://security.netapp.com/advisory/ntap-20171018-0001/
- tomcat.apache.org https://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.81
- www.cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- www.cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-12615
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2017-12615
- www.exploit-db.com https://www.exploit-db.com/exploits/42953
- www.exploit-db.com https://www.exploit-db.com/exploits/42953/
- www.synology.com https://www.synology.com/support/security/Synology_SA_17_54_Tomcat
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.