Security Resilience

CVE-2017-12617

Apache Tomcat 7.0.0 – 7.0.82

CISA KEVActive ExploitationEUVD ExploitedPublic PoC
Published
04 October 2017
Modified
25 August 2026
KEV Added
25 March 2022
Patch / advisory
CVSS Score v3.1 8.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.99 100.0th percentile
Risk Priority 86 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2017-12617 is a high-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Apache Tomcat. Its CVSS base score is 8.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 0.0% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

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 contain an unrestricted file upload vulnerability when the Default servlet is configured with the readonly initialization parameter set to false, which enables HTTP PUT requests. The flaw, tracked as CWE-434, permits an attacker to supply a specially crafted request that writes a JSP file directly to the server.

Once uploaded, the JSP can be requested by the attacker and executed by the Tomcat runtime, resulting in remote code execution. The attack requires no authentication or user interaction and can be carried out over the network, producing a CVSS 3.1 base score of 8.1 with high impact on confidentiality, integrity, and availability.

Oracle security advisories published in January, April, and July 2018, along with entries from SecurityFocus and SecurityTracker, document the issue and direct administrators to the corresponding Tomcat fixes and configuration guidance.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)
KEV Date Added
25 March 2022

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1505.003 Web Shell Persistence
Adversaries may backdoor web servers with web shells to establish persistent access to systems.
T1584.004 Server Resource Development
Adversaries may compromise third-party servers that can be used during targeting.
T1505 Server Software Component Persistence
Adversaries may abuse legitimate extensible development features of servers to establish persistent access to systems.
T1056.003 Web Portal Capture Collection
Adversaries may install code on externally facing portals, such as a VPN login page, to capture and transmit credentials of users who attempt to log into the service.
T1491.002 External Defacement Impact
An adversary may deface systems external to an organization in an attempt to deliver messaging, intimidate, or otherwise mislead an organization or users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2017-12615Same product: Apache Tomcatboth on KEV
CVE-2016-3088Same vendor: Apacheboth on KEV
CVE-2020-8260Shared CWE-434both on KEV
CVE-2024-57968Shared CWE-434both on KEV
CVE-2024-7694Shared CWE-434both on KEV
CVE-2024-50623Shared CWE-434both on KEV
CVE-2021-27860Shared CWE-434both on KEV
CVE-2021-20022Shared CWE-434both on KEV
CVE-2017-11357Shared CWE-434both on KEV
CVE-2026-48356Shared CWE-434both on KEV

Affected Assets

apache
tomcat
7.0.0 — 7.0.82 · 8.0 — 8.0.47 · 8.5.0 — 8.5.23
canonical
ubuntu linux
12.04, 16.04, 17.10, 18.04
oracle
agile product lifecycle management
9.3.3, 9.3.4, 9.3.5, 9.3.6
oracle
communications instant messaging server
10.0.1
oracle
endeca information discovery integrator
3.1.0, 3.2.0
oracle
enterprise manager for mysql database
12.1.0.4.0
oracle
financial services analytical applications infrastructure
7.3.3.0.0 — 7.3.5.3.0 · 8.0.0.0.0 — 8.0.9.0.0
oracle
fmw platform
12.2.1.2.0, 12.2.1.3.0
oracle
health sciences empirica inspections
1.0.1.1
oracle
hospitality guest access
4.2.0, 4.2.1
+48 more product configuration(s) — see NVD for full list

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V5.1.1

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-434

Requiring identifiable owners for portable devices reduces the attack surface for unrestricted uploads of dangerous file types via anonymous media.

addresses: CWE-434

Dangerous file uploads can be detonated in the chamber to determine malice before any production write or execution occurs.

addresses: CWE-434

Prevents unrestricted writing of arbitrary or malicious firmware by keeping hardware write-protect enabled except under tightly controlled manual procedures.

addresses: CWE-434

Scans files from external sources on download/open/execute, blocking unrestricted uploads of dangerous file types.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-05 mostly match
blocks

Restricting execution of unauthorized software directly blocks dangerous uploaded files from running.

PR.PS-01 partial match
blocks

Hardened configuration baselines can enforce allowed file types and processing rules.

PR.PS-06 partial match
blocks

Secure development practices include input validation and file-type restrictions that prevent this weakness.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Configuration and acceptance testing verify that file-upload handling enforces allowed types and does not permit dangerous content to be stored or executed.

prevents

A.8.28 mandates secure coding practices (input validation principles, threat modelling, attack-surface analysis, prohibiting insecure design techniques, peer review) that reduce the likelihood of an upload-validation defect being written, but the clause governs a human practice rather than a mechanism, so what it actually catches depends on developer rigour and a nameable remainder of instances slips through.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software weaknesses in delivered code the way those practices do; CWE-434 is an implementation defect in upload handling that secure coding/testing practices address, but the clause's mechanism is contractual and fallible, leaving a nameable remainder.

blocks

A.8.7 can block exploitation of CWE-434 when uploaded dangerous files contain malware that its scanning detects before use, but because it does not restrict file types itself and malware detection misses unknown or custom scripts, only a minority of instances are stopped.

References