LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2017-12617: Apache Tomcat Remote Code Execution Vulnerability

RBRecent Breaches Vulnerability Intelligence·Mar 25, 2022
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
Apr 15, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2017-12617 to its Known Exploited Vulnerabilities catalog on Mar 25, 2022, with a federal patch deadline of Apr 15, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

When running Apache Tomcat, it is 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…

CVE-2017-12617 is a remote code execution vulnerability in Apache Tomcat. It allows an attacker to upload a JSP file through a specially crafted request; once that file is requested, the server executes whatever code it contains. For IT and security teams, this matters because successful abuse can give an attacker the ability to run arbitrary code in the context of the Tomcat process, potentially leading to full compromise of the host or the applications it serves.

Public detail is limited to the CISA description and the associated weakness class. Confirm exact affected versions, configurations, and fixes against the vendor advisory before acting.

How it works

The underlying weakness is CWE-434: unrestricted upload of a file with a dangerous type. In this case, Tomcat can be induced to accept and store a JSP file via a specially crafted request. Because Tomcat treats JSP files as executable server-side resources, a subsequent request for the uploaded file causes the container to compile and run the code inside it.

An attacker who can reach an endpoint that performs or permits the upload therefore gains a path to code execution without needing valid credentials or a separate exploit chain, provided the server’s configuration allows the upload and subsequent execution. Specific request formats, headers, or path tricks are not detailed in the supplied facts; treat any such mechanics as requiring verification against the official advisory and do not rely on unverified proof-of-concept details.

Am I affected? How to find it in your systems

Apache Tomcat is commonly deployed as a standalone servlet container or embedded in application servers, CI/CD tooling, and custom Java web applications. It often listens on HTTP/HTTPS ports and may sit behind reverse proxies or load balancers.

How to remediate

Patch first. Apply the updates provided by the Apache Tomcat project exactly as directed in the vendor advisory for CVE-2017-12617. CISA’s required action is to apply updates per vendor instructions; treat that as the primary remediation step.

If you can't patch immediately

Implement compensating controls while you schedule the vendor update.

These measures reduce risk but do not replace the vendor patch. Plan to apply the official update as soon as practicable.

If your data may have been exposed

Actively exploited remote-code-execution vulnerabilities can lead to broader compromise and data exposure. Known ransomware use of this CVE is not documented in the supplied facts, but that does not rule out other malicious activity. If you have reason to believe an instance was abused, follow your incident-response process: isolate affected hosts, preserve logs and disk images, rotate credentials that may have been accessible to the Tomcat process, and assess what data or systems the attacker could have reached.

You can also run a free exposure scan of your email addresses to check whether they appear in known breach data, which may help identify secondary account compromise related to any incident.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedApache · Tomcat
WeaknessCWE-434
Added to CISA KEVMar 25, 2022
Federal patch deadlineApr 15, 2022
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities