VDB
Sign up
MEDIUM

GHSA-h6c8-x5r3-pm88

Apache Tomcat Unrestricted file upload vulnerability

Quick fix

GHSA-h6c8-x5r3-pm88 — org.apache.tomcat:tomcat: upgrade to the fixed version with the command below.

# pom.xml: bump <version>7.0.40</version> for org.apache.tomcat:tomcat

Details

Unrestricted file upload vulnerability in Apache Tomcat 7.x before 7.0.40, in certain situations involving outdated java.io.File code and a custom JMX configuration, allows remote attackers to execute arbitrary code by uploading and accessing a JSP file.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.tomcat:tomcat
Introduced in: 7.0Fixed in: 7.0.40
Fix# pom.xml: bump <version>7.0.40</version> for org.apache.tomcat:tomcat

References