Exploit database

Vulnerability

CVE-2017-12617

Vulnerability details

Score
8.1
Severity
high

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

5 sources
Tomcat RCE via JSP Upload Bypass
MSF-multi--http--tomcat_jsp_upload_bypassMetasploitLinux,Windows / remote

This module uses a PUT request bypass to upload a jsp shell to a vulnerable Apache Tomcat configuration.

2017-10-03tomcat_jsp_upload_bypass.rb
cyberheartmi9/cve-2017-12617
GH-3434e15cfdbffc9d57cd6162782b0f89GitHubUnofficial GitHub source

Apache Tomcat < 9.0.1 (Beta) / < 8.5.23 / < 8.0.47 / < 7.0.8 - JSP Upload Bypass / Remote Code Execution

2017-10-051 file · 399 stars
longwayhomie/cve-2017-12617
GH-e43d706499707f711e625c175079f76fGitHubUnofficial GitHub source

CVE-2017-12617 is a critical vulnerability leading to Remote Code Execution (RCE) in Apache Tomcat.

2021-12-101 file · 5 stars