CVE-2017-12617

unknown KEV
Published 2022-05-14 ยท Modified 2022-03-25
CVSS v3
โ€”
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
2.5

Description

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 server.

CISA KEV

Vendor
Apache
Product
Tomcat
Due date
2022-04-15

Predictions

Exploit likelihood
99%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-42966 webapps jsp verified
intx0x80 ยท 2017-10-09

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

Source code queued for fetch โ€” refresh in a moment.
EDB-43008 remote java verified
Metasploit ยท 2017-10-17

Tomcat - Remote Code Execution via JSP Upload Bypass (Metasploit)

Source code queued for fetch โ€” refresh in a moment.

Metasploit modules

Tomcat RCE via JSP Upload Bypass
Source fetch failed: fetch_error โ€” view the original via the link above.

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”

Package impact

EcosystemPackageVulnerableFixed
java Mavenorg.apache.tomcat:tomcat-catalina>=9.0.0.M1,<9.0.19.0.1
java Mavenorg.apache.tomcat:tomcat-catalina>=8.5.0,<8.5.238.5.23
java Mavenorg.apache.tomcat:tomcat-catalina>=8.0.0-RC1,<8.0.478.0.47
java Mavenorg.apache.tomcat:tomcat-catalina>=7.0.0,<7.0.827.0.82
java Mavenorg.apache.tomcat.embed:tomcat-embed-core>=9.0.0.M1,<9.0.19.0.1
java Mavenorg.apache.tomcat.embed:tomcat-embed-core>=8.5.0,<8.5.238.5.23
java Mavenorg.apache.tomcat.embed:tomcat-embed-core>=8.0.0-RC1,<8.0.478.0.47
java Mavenorg.apache.tomcat.embed:tomcat-embed-core>=7.0.0,<7.0.827.0.82

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.