---
id: CVE-2017-12615
title: >-
  When running Apache Tomcat 7.0.0 to 7.0.79 on Windows with HTTP PUTs enabled
  (e.g
summary: >-
  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 requ…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-434
  - CWE-434
vendor: apache
product: tomcat
affected:
  - 'tomcat >= 7.0.0, <= 7.0.79'
  - 7-mode_transition_tool
  - oncommand_balance
  - oncommand_shift
  - enterprise_linux_server_update_services_for_sap_solutions = 7.4
  - enterprise_linux_server_update_services_for_sap_solutions = 7.6
  - enterprise_linux_server_update_services_for_sap_solutions = 7.7
  - jboss_enterprise_web_server = 2.0.0
  - jboss_enterprise_web_server = 3.0.0
  - jboss_enterprise_web_server_text-only_advisories
  - enterprise_linux_desktop = 6.0
  - enterprise_linux_desktop = 7.0
  - enterprise_linux_eus = 7.4
  - enterprise_linux_eus = 7.5
  - enterprise_linux_eus = 7.6
  - enterprise_linux_eus = 7.7
  - enterprise_linux_eus_compute_node = 7.4
  - enterprise_linux_eus_compute_node = 7.5
  - enterprise_linux_eus_compute_node = 7.6
  - enterprise_linux_eus_compute_node = 7.7
  - enterprise_linux_for_ibm_z_systems = 7.0_s390x
  - enterprise_linux_for_ibm_z_systems_eus = 7.4_s390x
  - enterprise_linux_for_ibm_z_systems_eus = 7.5_s390x
  - enterprise_linux_for_ibm_z_systems_eus = 7.6_s390x
  - enterprise_linux_for_ibm_z_systems_eus = 7.7_s390x
  - enterprise_linux_for_power_big_endian = 7.0_ppc64
  - enterprise_linux_for_power_big_endian_eus = 7.4_ppc64
  - enterprise_linux_for_power_big_endian_eus = 7.5_ppc64
  - enterprise_linux_for_power_big_endian_eus = 7.6_ppc64
  - enterprise_linux_for_power_big_endian_eus = 7.7_ppc64
  - enterprise_linux_for_power_little_endian = 7.0_ppc64le
  - enterprise_linux_for_power_little_endian_eus = 7.4_ppc64le
  - enterprise_linux_for_power_little_endian_eus = 7.5_ppc64le
  - enterprise_linux_for_power_little_endian_eus = 7.6_ppc64le
  - enterprise_linux_for_power_little_endian_eus = 7.7_ppc64le
  - enterprise_linux_for_scientific_computing = 7.0
  - enterprise_linux_server = 6.0
  - enterprise_linux_server = 7.0
  - enterprise_linux_server_aus = 7.4
  - enterprise_linux_server_aus = 7.6
  - enterprise_linux_server_aus = 7.7
  - >-
    enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions
    = 7.4_ppc64le
  - >-
    enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions
    = 7.6_ppc64le
  - >-
    enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions
    = 7.7_ppc64le
  - >-
    enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions
    = 9.2_ppc64le
  - enterprise_linux_server_tus = 7.4
  - enterprise_linux_server_tus = 7.6
  - enterprise_linux_server_tus = 7.7
  - enterprise_linux_workstation = 6.0
  - enterprise_linux_workstation = 7.0
published: '2017-09-19'
updated: '2026-08-01'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2017-12615'
references:
  - url: >-
      http://breaktoprotect.blogspot.com/2017/09/the-case-of-cve-2017-12615-tomcat-7-put.html
    label: security@apache.org
  - url: 'http://www.securityfocus.com/bid/100901'
    label: security@apache.org
  - url: 'http://www.securitytracker.com/id/1039392'
    label: security@apache.org
  - url: 'https://access.redhat.com/errata/RHSA-2017:3080'
    label: security@apache.org
  - url: 'https://access.redhat.com/errata/RHSA-2017:3081'
    label: security@apache.org
  - url: 'https://access.redhat.com/errata/RHSA-2017:3113'
    label: security@apache.org
  - url: 'https://access.redhat.com/errata/RHSA-2017:3114'
    label: security@apache.org
  - url: 'https://access.redhat.com/errata/RHSA-2018:0465'
    label: security@apache.org
  - url: 'https://access.redhat.com/errata/RHSA-2018:0466'
    label: security@apache.org
  - url: 'https://github.com/breaktoprotect/CVE-2017-12615'
    label: security@apache.org
  - url: >-
      https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E
    label: security@apache.org
  - url: >-
      https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E
    label: security@apache.org
  - url: >-
      https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E
    label: security@apache.org
  - url: >-
      https://lists.apache.org/thread.html/8fcb1e2d5895413abcf266f011b9918ae03e0b7daceb118ffbf23f8c%40%3Cannounce.tomcat.apache.org%3E
    label: security@apache.org
  - url: >-
      https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E
    label: security@apache.org
  - url: >-
      https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
    label: security@apache.org
  - url: 'https://security.netapp.com/advisory/ntap-20171018-0001/'
    label: security@apache.org
  - url: 'https://www.exploit-db.com/exploits/42953/'
    label: security@apache.org
  - url: 'https://www.synology.com/support/security/Synology_SA_17_54_Tomcat'
    label: security@apache.org
  - url: >-
      http://breaktoprotect.blogspot.com/2017/09/the-case-of-cve-2017-12615-tomcat-7-put.html
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.securityfocus.com/bid/100901'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.securitytracker.com/id/1039392'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2017:3080'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2017:3081'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2017:3113'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2017:3114'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2018:0465'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2018:0466'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/breaktoprotect/CVE-2017-12615'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/8fcb1e2d5895413abcf266f011b9918ae03e0b7daceb118ffbf23f8c%40%3Cannounce.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20171018-0001/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.exploit-db.com/exploits/42953/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.synology.com/support/security/Synology_SA_17_54_Tomcat'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-12615
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - kev
  - in-the-wild
  - exploit-available
epss: 0.99607
epssPercentile: 0.99948
kev: true
kevDateAdded: '2022-03-25'
kevDueDate: '2022-04-15'
kevRansomware: true
exploited: true
exploitAvailable: true
ingestedAt: '2026-08-01T06:11:30.914Z'
exploits:
  exploitdb: true
  github: 18
  githubRepos:
    - 'https://github.com/breaktoprotect/CVE-2017-12615'
    - 'https://github.com/mefulton/cve-2017-12615'
    - 'https://github.com/zi0Black/POC-CVE-2017-12615-or-CVE-2017-12717'
  nuclei:
    - CVE-2017-12615
  checkedAt: '2026-09-19T16:22:50.537Z'
---

## Overview

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.

## Affected

- `tomcat >= 7.0.0, <= 7.0.79`
- `7-mode_transition_tool`
- `oncommand_balance`
- `oncommand_shift`
- `enterprise_linux_server_update_services_for_sap_solutions = 7.4`
- `enterprise_linux_server_update_services_for_sap_solutions = 7.6`
- `enterprise_linux_server_update_services_for_sap_solutions = 7.7`
- `jboss_enterprise_web_server = 2.0.0`
- `jboss_enterprise_web_server = 3.0.0`
- `jboss_enterprise_web_server_text-only_advisories`
- `enterprise_linux_desktop = 6.0`
- `enterprise_linux_desktop = 7.0`
- `enterprise_linux_eus = 7.4`
- `enterprise_linux_eus = 7.5`
- `enterprise_linux_eus = 7.6`
- `enterprise_linux_eus = 7.7`
- `enterprise_linux_eus_compute_node = 7.4`
- `enterprise_linux_eus_compute_node = 7.5`
- `enterprise_linux_eus_compute_node = 7.6`
- `enterprise_linux_eus_compute_node = 7.7`
- `enterprise_linux_for_ibm_z_systems = 7.0_s390x`
- `enterprise_linux_for_ibm_z_systems_eus = 7.4_s390x`
- `enterprise_linux_for_ibm_z_systems_eus = 7.5_s390x`
- `enterprise_linux_for_ibm_z_systems_eus = 7.6_s390x`
- `enterprise_linux_for_ibm_z_systems_eus = 7.7_s390x`
- `enterprise_linux_for_power_big_endian = 7.0_ppc64`
- `enterprise_linux_for_power_big_endian_eus = 7.4_ppc64`
- `enterprise_linux_for_power_big_endian_eus = 7.5_ppc64`
- `enterprise_linux_for_power_big_endian_eus = 7.6_ppc64`
- `enterprise_linux_for_power_big_endian_eus = 7.7_ppc64`
- `enterprise_linux_for_power_little_endian = 7.0_ppc64le`
- `enterprise_linux_for_power_little_endian_eus = 7.4_ppc64le`
- `enterprise_linux_for_power_little_endian_eus = 7.5_ppc64le`
- `enterprise_linux_for_power_little_endian_eus = 7.6_ppc64le`
- `enterprise_linux_for_power_little_endian_eus = 7.7_ppc64le`
- `enterprise_linux_for_scientific_computing = 7.0`
- `enterprise_linux_server = 6.0`
- `enterprise_linux_server = 7.0`
- `enterprise_linux_server_aus = 7.4`
- `enterprise_linux_server_aus = 7.6`
- `enterprise_linux_server_aus = 7.7`
- `enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions = 7.4_ppc64le`
- `enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions = 7.6_ppc64le`
- `enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions = 7.7_ppc64le`
- `enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions = 9.2_ppc64le`
- `enterprise_linux_server_tus = 7.4`
- `enterprise_linux_server_tus = 7.6`
- `enterprise_linux_server_tus = 7.7`
- `enterprise_linux_workstation = 6.0`
- `enterprise_linux_workstation = 7.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
