Skip to content

CVE-2017-12615 — When running Apache Tomcat 7.0.0 to 7.0.79 on Windows with HTTP PUTs enabled (e.g.

Key facts

CVE-2017-12615 is a High (8.1) vulnerability: When running Apache Tomcat 7.0.0 to 7.0.79 on Windows with HTTP PUTs enabled (e.g.. This entry ships a detection-only PoC and a Docker test lab. It is on the CISA Known Exploited Vulnerabilities (KEV) catalog (added 2022-03-25), confirming active exploitation in the wild, and is linked to known ransomware campaigns.

Actively exploited — on the CISA KEV catalog

CVE-2017-12615 is listed on the CISA Known Exploited Vulnerabilities (KEV) catalog (added 2022-03-25), confirming exploitation in the wild. It is linked to known ransomware campaigns. Federal remediation deadline: 2022-04-15. Prioritise patching and deploy the detection and prevention rules below.

CVE CVE-2017-12615
Severity High (8.1)
CISA KEV Actively exploited (added 2022-03-25) · ransomware
Detection / prevention —
PoC poc.py
Source 2017/CVE-2017-12615/

Details

English | 한국어

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.

Vulnerability Details

Property Value
CVE ID CVE-2017-12615
CVSS Score 8.1

Proof of Concept

Download

# Download PoC script
curl -O https://raw.githubusercontent.com/fankh/vulnerability-poc/main/2017/CVE-2017-12615/poc.py

Usage

# Run PoC against target
python3 poc.py --target <TARGET_URL>

# With authentication
python3 poc.py --target <TARGET_URL> --username <USER> --password <PASS>

⚠️ Warning: This PoC is for authorized security testing only. It uses detection-only techniques and does not exploit or damage target systems.

Test Lab

This repository includes a Docker-based test environment with both vulnerable and patched applications.

Quick Start

# Clone and navigate to CVE directory
cd CVE-2017-12615

# Start both applications
docker-compose up -d

# Run tests
./run-tests.sh    # Linux/Mac
./run-tests.ps1   # Windows PowerShell

Application Endpoints

Application URL Status
Vulnerable App http://localhost:8080 Shows vulnerability
Patched App http://localhost:8081 Demonstrates fix

Directory Structure

├── README.md           # English documentation
├── README_KO.md        # Korean documentation
├── poc.py              # PoC detection script
├── docker-compose.yml  # Container orchestration
├── run-tests.sh        # Linux/Mac test runner
├── run-tests.ps1       # Windows test runner
├── vulnerable-app/     # Vulnerable version
│   ├── app.py
│   ├── Dockerfile
│   └── requirements.txt
└── patched-app/        # Fixed version
    ├── app.py
    ├── Dockerfile
    └── requirements.txt

References

  • http://breaktoprotect.blogspot.com/2017/09/the-case-of-cve-2017-12615-tomcat-7-put.html
  • http://www.securityfocus.com/bid/100901
  • http://www.securitytracker.com/id/1039392
  • https://access.redhat.com/errata/RHSA-2017:3080
  • https://access.redhat.com/errata/RHSA-2017:3081
  • https://access.redhat.com/errata/RHSA-2017:3113
  • https://access.redhat.com/errata/RHSA-2017:3114
  • https://access.redhat.com/errata/RHSA-2018:0465
  • https://access.redhat.com/errata/RHSA-2018:0466
  • https://github.com/breaktoprotect/CVE-2017-12615
  • https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E
  • https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E
  • https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E
  • https://lists.apache.org/thread.html/8fcb1e2d5895413abcf266f011b9918ae03e0b7daceb118ffbf23f8c%40%3Cannounce.tomcat.apache.org%3E
  • https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E
  • https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
  • https://security.netapp.com/advisory/ntap-20171018-0001/
  • https://www.exploit-db.com/exploits/42953/
  • https://www.synology.com/support/security/Synology_SA_17_54_Tomcat
  • http://breaktoprotect.blogspot.com/2017/09/the-case-of-cve-2017-12615-tomcat-7-put.html
  • http://www.securityfocus.com/bid/100901
  • http://www.securitytracker.com/id/1039392
  • https://access.redhat.com/errata/RHSA-2017:3080
  • https://access.redhat.com/errata/RHSA-2017:3081
  • https://access.redhat.com/errata/RHSA-2017:3113
  • https://access.redhat.com/errata/RHSA-2017:3114
  • https://access.redhat.com/errata/RHSA-2018:0465
  • https://access.redhat.com/errata/RHSA-2018:0466
  • https://github.com/breaktoprotect/CVE-2017-12615
  • https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E
  • https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E
  • https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E
  • https://lists.apache.org/thread.html/8fcb1e2d5895413abcf266f011b9918ae03e0b7daceb118ffbf23f8c%40%3Cannounce.tomcat.apache.org%3E
  • https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E
  • https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
  • https://security.netapp.com/advisory/ntap-20171018-0001/
  • https://www.exploit-db.com/exploits/42953/
  • https://www.synology.com/support/security/Synology_SA_17_54_Tomcat
  • https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-12615

Generated by PoC Generator on 2026-07-31T07:50:12.991960447

Frequently asked questions

What is CVE-2017-12615?

CVE-2017-12615 is a High (8.1) vulnerability: When running Apache Tomcat 7.0.0 to 7.0.79 on Windows with HTTP PUTs enabled (e.g.. This entry ships a detection-only PoC and a Docker test lab. It is on the CISA Known Exploited Vulnerabilities (KEV) catalog (added 2022-03-25), confirming active exploitation in the wild, and is linked to known ransomware campaigns.

How do I detect CVE-2017-12615?

Run the detection-only PoC included with this entry against your Docker test lab to confirm whether a target is affected; pair it with your own IDS logging.

How do I block or mitigate CVE-2017-12615?

Upgrade to a fixed version per the vendor advisory; the NVD record lists the affected versions. Use the included PoC to verify your remediation.

Is CVE-2017-12615 actively exploited?

Yes. CVE-2017-12615 is on the CISA Known Exploited Vulnerabilities (KEV) catalog, added 2022-03-25, which means it has been exploited in the wild. CISA also links it to known ransomware campaigns. CISA set a federal remediation deadline of 2022-04-15. Prioritise patching and deploy the detection and prevention rules above.


For authorized security testing and research only. See the full source and NVD record.