Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2017-12615-PoC — PoC environment and exploit for the Apache Tomcat on Windows Remote Code Execution Vulnerability | Kitploit
Tools/GitHubGitHub/edyekomu/cve-2017-12615-poc
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationLabs & Practice
GitHubedyekomu/cve-2017-12615-poc

CVE-2017-12615-PoC

PoC environment and exploit for the Apache Tomcat on Windows Remote Code Execution Vulnerability

View Repository
1 year agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE 2017-12615 Apache Tomcat Windows RCE

⚠️Warning

This is a proof of concept environment and exploit for known CVEs, strictly for learning and educational purposes.

Do not use these scripts or techniques on systems you do not own or have explicit permission to test. Unauthorised access or exploitation of systems is illegal and unethical.

📃Description

This is a proof of concept environment and exploit for CVE 2017-12615.

The vulnerability arises in Tomcat with the following factors:

  1. Servlet context was configured to have readonly=false
  2. HTTP PUT requests are allowed

As such attackers may send and thus upload a JSP file via PUT a request. Apache Tomcat will then execute the code and render the response, rendering it vulnerable to remote code execution (RCE)

✏️Usage

Setting up the environment

  1. Install and set up
Docker
  • Run the following commands
  • root@kitploit:~
    docker compose build
    docker compose up -d
    

    Using the exploit

    1. Install requirements
    root@kitploit:~
    pip install -r requirements.txt
    
    1. Run the exploit
    root@kitploit:~
    python CVE-2017-12615.py [TARGETIP:PORT]
    

    If the exploit was successful, you may check if your file was uploaded by going to the target address at http://target-host/test.jsp or using curl http://target-host:port/test.jsp

    Additional Flags

    You may choose to upload your own file by specifying the file location as such:

    root@kitploit:~
    python CVE-2017-12615.py [TARGETIP:PORT] -f [file_path]
    
    Download Tool