Apache Tomcat 7.0.0-7.0.81, 8.0.0.RC1-8.0.46, 8.5.0-8.5.22, 9.0.0.M1-9.0.0 - Remote Code Execution via JSP Upload
Title source: llmExploitation Summary
CVE-2017-12617 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added March 25, 2022.
EIP tracks 20 public exploits from researchers including Metasploit, intx0x80, cyberheartmi9, including a Metasploit module exploits/multi/http/tomcat_jsp_upload_bypass.
A Nuclei detection template is also available.
AI-analyzed exploit summary This Metasploit module exploits CVE-2017-12617 by uploading a malicious JSP file via a PUT request to a vulnerable Apache Tomcat server, then executing it to achieve remote code execution. The exploit leverages improper handling of trailing slashes in JSP file paths.
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.
Exploits (20)
This Metasploit module exploits CVE-2017-12617 by uploading a malicious JSP file via a PUT request to a vulnerable Apache Tomcat server, then executing it to achieve remote code execution. The exploit leverages improper handling of trailing slashes in JSP file paths.
This exploit leverages CVE-2017-12617, a PUT method vulnerability in Apache Tomcat, to upload a malicious JSP file for remote code execution. It includes functionality to check for vulnerability, upload a webshell, and execute commands.
This repository contains a Python script that exploits CVE-2017-12617, a critical RCE vulnerability in Apache Tomcat. The script can check for vulnerability, upload a JSP webshell, and execute commands on the target system.
This is a Python 3 exploit for CVE-2017-12617, which leverages misconfigured PUT options in Apache Tomcat to upload a JSP reverse shell. The exploit establishes a reverse shell connection to a listener using netcat.
This PoC demonstrates CVE-2017-12617, a PUT method vulnerability in Apache Tomcat, allowing an attacker to upload a JSP web shell for remote command execution. The attack script uses cURL to upload a malicious JSP file to the server.
This repository contains a functional Perl exploit for CVE-2017-12617, which allows JSP file upload and remote code execution on vulnerable Apache Tomcat versions via a crafted HTTP PUT request. The exploit demonstrates the vulnerability by uploading a malicious JSP payload to the server.
This PoC exploits CVE-2017-12617 in Apache Tomcat by uploading a malicious JSP file via the PUT method, enabling remote command execution. It establishes an interactive shell by sending commands through HTTP requests.
This is a Python3-compatible exploit for CVE-2017-12617, which allows JSP file upload bypass and remote code execution on vulnerable Apache Tomcat versions. The script includes functionality to check for vulnerability, upload a webshell, and execute commands.
The repository contains a functional Python script that exploits CVE-2017-12617, a vulnerability in Apache Tomcat allowing JSP file upload via HTTP PUT when partial PUT support is enabled. The script uploads a JSP payload and verifies its execution by fetching the uploaded file.
This repository contains a functional PoC for CVE-2017-12617, a PUT method vulnerability in Apache Tomcat. It includes a Dockerized victim environment and an attack script that uploads a web shell via a crafted PUT request, demonstrating remote code execution (RCE).
This is a functional exploit for CVE-2017-12617, targeting Apache Tomcat with HTTP PUTs enabled. It allows for arbitrary file upload and remote code execution via a JSP webshell.
This repository contains a Python3-based exploit for CVE-2017-12617, which targets Apache Tomcat's PUT method vulnerability to achieve remote code execution (RCE) via JSP file upload. The script includes functionality to check for vulnerability, upload a webshell, and execute commands on the target system.
This repository contains a Python-based exploit for CVE-2017-12617, a critical RCE vulnerability in Apache Tomcat. The exploit leverages HTTP PUT requests to upload malicious JSP files when the 'readonly' parameter is set to false, enabling remote command execution.
This is a Python-based exploit for CVE-2017-12617, targeting Apache Tomcat's PUT method vulnerability to upload a JSP reverse shell. The payload establishes a reverse shell connection to a specified listener.
This repository contains a functional Perl script that exploits CVE-2017-12617, a vulnerability in Apache Tomcat allowing JSP file upload via a crafted PUT request, leading to remote code execution. The script demonstrates the exploit by sending a malicious JSP payload to the target server.
This repository contains a Python script that exploits CVE-2017-12617, a remote code execution vulnerability in Apache Tomcat. The script can check for vulnerability, upload a JSP webshell, and execute commands on the target system.
This PoC exploits CVE-2017-12617, a PUT method vulnerability in Apache Tomcat, to upload a JSP shell. It checks for vulnerable servers by identifying the 'Apache-Coyote/1.1' header and attempts to upload a malicious JSP file.
This repository contains a functional Python3 exploit for CVE-2017-12617, which targets Apache Tomcat's PUT method vulnerability to achieve remote code execution (RCE) via JSP file upload. The script includes payload generation, vulnerability checking, and an interactive shell for command execution.
This repository contains a functional Python exploit for CVE-2017-12615 and CVE-2017-12617, targeting Apache Tomcat. The exploit leverages the PUT method to upload a malicious JSP file, enabling remote code execution (RCE) via a crafted payload.
This Metasploit module exploits CVE-2017-12617, a vulnerability in Apache Tomcat that allows unauthorized JSP file upload via a PUT request bypass, leading to remote code execution.
Nuclei Templates (1)
html:"Apache Tomcat" || http.title:"apache tomcat" || http.html:"apache tomcat" || cpe:"cpe:2.3:a:apache:tomcat"
body="apache tomcat" || title="apache tomcat"
References (45)
Scores
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H