Live threats

All CVEs / Apache

CVE-2017-12617Apache Tomcat

Remote Code Execution in Apache Tomcat via JSP File Upload

High 8.1 KEV No auth neededHigh EPSS

Priority
74
CVSS 3.1
8.1
EPSS
100.0%
probability of exploitation in 30 days · percentile 100
Auth required
No
In KEV since
Mar 25, 2022
CISA deadline
Apr 15, 2022
Ransomware use
Unknown
Published
Oct 4, 2017
Updated
Aug 25, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-434
SSVC (CISA)
Exploitation: active · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Apache Tomcat versions 7.0.0 to 7.0.81, 8.0.0 to 8.0.46, 8.5.0 to 8.5.22, and 9.0.0 are vulnerable when HTTP PUT is enabled. An unauthenticated attacker can upload a malicious JSP file via a specially crafted request, which is then executed on the server. CISA confirmed this vulnerability as actively exploited.

Show the original NVD text

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.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

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.

Action required by CISA: Apply updates per vendor instructions.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 7.0.82, 8.0.47, 8.5.23, 9.0.1

Update Tomcat to version 7.0.82, 8.0.47, 8.5.23, or 9.0.1 as appropriate. If you cannot update, disable HTTP PUT by setting the readonly parameter of the Default servlet to true.

Vendor advisory · lists.apache.org ↗

  1. Apply the vendor's security update for Tomcat.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was April 15, 2022.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.tomcat.embed:tomcat-embed-core ≥ 9.0.0.M1 < 9.0.1 9.0.1 —
Maven org.apache.tomcat.embed:tomcat-embed-core ≥ 8.5.0 < 8.5.23 8.5.23 —
Maven org.apache.tomcat.embed:tomcat-embed-core ≥ 8.0.0-RC1 < 8.0.47 8.0.47 —
Maven org.apache.tomcat.embed:tomcat-embed-core ≥ 7.0.0 < 7.0.82 7.0.82 —
Maven org.apache.tomcat:tomcat-catalina ≥ 9.0.0.M1 < 9.0.1 9.0.1 —
Maven org.apache.tomcat:tomcat-catalina ≥ 8.5.0 < 8.5.23 8.5.23 —
Maven org.apache.tomcat:tomcat-catalina ≥ 8.0.0-RC1 < 8.0.47 8.0.47 —
Maven org.apache.tomcat:tomcat-catalina ≥ 7.0.0 < 7.0.82 7.0.82 —

Per OSV / GitHub Advisories (GHSA-xjgh-84hx-56c5). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachetomcat≥ 7.0.0 < 7.0.82
apachetomcat≥ 8.0 < 8.0.47
apachetomcat≥ 8.5.0 < 8.5.23
apachetomcat≥ 9.0.0 < 9.0.1
canonicalubuntu_linux12.04
canonicalubuntu_linux16.04
canonicalubuntu_linux17.10
canonicalubuntu_linux18.04
oracleagile_product_lifecycle_management9.3.3
oracleagile_product_lifecycle_management9.3.4
oracleagile_product_lifecycle_management9.3.5
oracleagile_product_lifecycle_management9.3.6
oraclecommunications_instant_messaging_server10.0.1
oracleendeca_information_discovery_integrator3.1.0
oracleendeca_information_discovery_integrator3.2.0
oracleenterprise_manager_for_mysql_database12.1.0.4.0
oraclefinancial_services_analytical_applications_infrastructure≥ 7.3.3.0.0 ≤ 7.3.5.3.0
oraclefinancial_services_analytical_applications_infrastructure≥ 8.0.0.0.0 ≤ 8.0.9.0.0
oraclefmw_platform12.2.1.2.0
oraclefmw_platform12.2.1.3.0
oraclehealth_sciences_empirica_inspections1.0.1.1
oraclehospitality_guest_access4.2.0
oraclehospitality_guest_access4.2.1
oracleinstantis_enterprisetrack17.1
oracleinstantis_enterprisetrack17.2
oraclemanagement_pack11.2.1.0.13
oraclemicros_lucas2.9.5
oraclemicros_retail_xbri_loss_prevention10.0.1
oraclemicros_retail_xbri_loss_prevention10.5.0
oraclemicros_retail_xbri_loss_prevention10.6.0
oraclemicros_retail_xbri_loss_prevention10.7.0
oraclemicros_retail_xbri_loss_prevention10.8.0
oraclemicros_retail_xbri_loss_prevention10.8.1
oraclemysql_enterprise_monitor≤ 3.3.6.3293
oraclemysql_enterprise_monitor≥ 3.4.0 ≤ 3.4.4.4226
oraclemysql_enterprise_monitor≥ 4.0.0 ≤ 4.0.0.5135
oracleretail_advanced_inventory_planning13.2
oracleretail_advanced_inventory_planning13.4
oracleretail_advanced_inventory_planning14.1
oracleretail_advanced_inventory_planning15.0
oracleretail_back_office14.0.4
oracleretail_back_office14.1.3
oracleretail_central_office14.0.4
oracleretail_central_office14.1.3
oracleretail_convenience_and_fuel_pos_software2.1.132
oracleretail_eftlink1.1.124
oracleretail_eftlink15.0.1
oracleretail_eftlink16.0.2
oracleretail_insights14.0
oracleretail_insights14.1
oracleretail_insights15.0
oracleretail_insights16.0
oracleretail_invoice_matching12.0
oracleretail_invoice_matching13.0
oracleretail_invoice_matching13.1
oracleretail_invoice_matching13.2
oracleretail_invoice_matching14.0
oracleretail_invoice_matching14.1
oracleretail_invoice_matching15.0
oracleretail_invoice_matching16.0

and 97 more in the JSON

Official sources

References

Links published by the sources. Open them with care.