When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Tomcat treats AJP connections as having higher trust than, for example, a similar HTTP connection. If such connections are available to an attacker, they can be exploited in ways that may be surprising. In Apache Tomcat 9.0.0.M1 to 9.0.0.30, 8.5.0 to 8.5.50 and 7.0.0 to 7.0.99, Tomcat shipped with an AJP Connector enabled by default that listened on all configured IP addresses. It was expected (and recommended in the security guide) that this Connector would be disabled if not required. This vulnerability report identified a mechanism that allowed: - returning arbitrary files from anywhere in the web application - processing any file in the web application as a JSP Further, if the web application allowed file upload and stored those files within the web application (or the attacker was able to control the content of the web application by some other means) then this, along with the ability to process a file as a JSP, made remote code execution possible. It is important to note that mitigation is only required if an AJP port is accessible to untrusted users. Users wishing to take a defence-in-depth approach and block the vector that permits returning arbitrary files and execution as JSP may upgrade to Apache Tomcat 9.0.31, 8.5.51 or 7.0.100 or later. A number of changes were made to the default AJP Connector configuration in 9.0.31 to harden the default configuration. It is likely that users upgrading to 9.0.31, 8.5.51 or 7.0.100 or later will need to make small changes to their configurations.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade tomcat-docs-webappUpgrade tomcat-jsvcUpgrade tomcatUpgrade tomcat-jsp-2.3-apiUpgrade tomcat-javadocUpgrade tomcat-servlet-3.1-apiUpgrade tomcat-el-2.2-apiUpgrade tomcat-libUpgrade tomcat-jsp-2.2-apiUpgrade tomcat-el-3.0-apiUpgrade tomcat-admin-webappsUpgrade tomcat-servlet-3.0-apiUpgrade tomcat-webapps | Apr 27, 2020 | Feb 24, 2020 |
| Amazon_linux | — | Upgrade tomcat8Upgrade tomcat7 | Mar 14, 2020 | Feb 24, 2020 |
| Apache Tomcat | — | Upgrade Apache Tomcat to the latest available versionUpgrade Apache Tomcat to 8.5.51Upgrade Apache Tomcat to 7.0.100Upgrade Apache Tomcat to 9.0.31 | Feb 24, 2020 | Feb 24, 2020 |
| Centos_linux | — | Upgrade bea-stax-apiUpgrade pki-kraUpgrade pki-serverUpgrade jackson-module-jaxb-annotationsUpgrade tomcat-javadocUpgrade pki-symkeyUpgrade relaxngDatatypeUpgrade javassistUpgrade tomcat-jsvcUpgrade tomcat-libUpgrade glassfish-jaxb-apiUpgrade jakarta-commons-httpclientUpgrade jackson-jaxrs-providersUpgrade jss-debuginfoUpgrade tomcat6Upgrade pki-symkey-debuginfoUpgrade slf4jUpgrade python-nss-docUpgrade apache-commons-collectionsUpgrade velocityUpgrade tomcat6-admin-webappsUpgrade stax-exUpgrade glassfish-fastinfosetUpgrade tomcat6-javadocUpgrade xsomUpgrade jss-debugsourceUpgrade tomcat6-jsp-2.1-apiUpgrade tomcat-jsp-2.2-apiUpgrade tomcat-admin-webappsUpgrade pki-tools-debuginfoUpgrade xalan-j2Upgrade tomcat-servlet-3.0-apiUpgrade jackson-databindUpgrade xml-commons-apisUpgrade pki-base-javaUpgrade resteasyUpgrade xmlstreambufferUpgrade pki-core-debugsourceUpgrade glassfish-jaxb-coreUpgrade jackson-coreUpgrade apache-commons-langUpgrade python3-pkiUpgrade tomcat-webappsUpgrade ldapjdkUpgrade python3-nssUpgrade pki-caUpgrade tomcatjssUpgrade tomcat-el-2.2-apiUpgrade tomcatUpgrade tomcat6-libUpgrade xml-commons-resolverUpgrade jssUpgrade tomcat6-servlet-2.5-apiUpgrade javassist-javadocUpgrade pki-baseUpgrade pki-servlet-4.0-apiUpgrade tomcat6-el-2.1-apiUpgrade glassfish-jaxb-txw2Upgrade jss-javadocUpgrade pki-core-debuginfoUpgrade tomcat-docs-webappUpgrade python3-nss-debuginfoUpgrade jackson-jaxrs-json-providerUpgrade glassfish-jaxb-runtimeUpgrade xerces-j2Upgrade tomcat6-webappsUpgrade apache-commons-net | Mar 18, 2020 | Feb 24, 2020 |
| Debian | — | Upgrade tomcat9 | Mar 6, 2020 | Feb 24, 2020 |
| Gentoo Linux | — | Upgrade www-servers/tomcat. | Mar 20, 2020 | Feb 24, 2020 |
| Huawei Euleros 2_0_sp2 | — | Upgrade tomcat-el-2.2-apiUpgrade tomcat-webappsUpgrade tomcatUpgrade tomcat-admin-webappsUpgrade tomcat-servlet-3.0-apiUpgrade tomcat-jsp-2.2-apiUpgrade tomcat-lib | Jun 17, 2020 | Feb 24, 2020 |
| Huawei Euleros 2_0_sp3 | — | Upgrade tomcat-el-2.2-apiUpgrade tomcatUpgrade tomcat-jsp-2.2-apiUpgrade tomcat-webappsUpgrade tomcat-servlet-3.0-apiUpgrade tomcat-admin-webappsUpgrade tomcat-lib | Apr 16, 2020 | Feb 24, 2020 |
| Huawei Euleros 2_0_sp5 | — | Upgrade tomcatUpgrade tomcat-libUpgrade tomcat-jsp-2.2-apiUpgrade tomcat-servlet-3.0-apiUpgrade tomcat-webappsUpgrade tomcat-el-2.2-apiUpgrade tomcat-admin-webapps | Mar 24, 2020 | Feb 24, 2020 |
| Huawei Euleros 2_0_sp8 | — | Upgrade tomcat-libUpgrade tomcatUpgrade tomcat-servlet-4.0-apiUpgrade tomcat-el-3.0-apiUpgrade tomcat-jsp-2.3-apiUpgrade tomcat-admin-webapps | Mar 24, 2020 | Feb 24, 2020 |
| Oracle Solaris | — | Upgrade web/java-servlet/tomcat-8/tomcat-admin to version 8.5.51-11.4.20.0.1.3.0 on Solaris 11.4Upgrade web/java-servlet/tomcat-8/tomcat-examples to version 8.5.51-11.4.20.0.1.3.0 on Solaris 11.4Upgrade web/java-servlet/tomcat-8 to version 8.5.51-11.4.20.0.1.3.0 on Solaris 11.4Upgrade web/java-servlet/tomcat-8/tomcat-examples to version 8.5.51-0.175.3.36.0.20.0 on Solaris 11.3Upgrade web/java-servlet/tomcat-8 to version 8.5.51-0.175.3.36.0.20.0 on Solaris 11.3Upgrade web/java-servlet/tomcat-8/tomcat-admin to version 8.5.51-0.175.3.36.0.20.0 on Solaris 11.3 | Jan 19, 2021 | Feb 24, 2020 |
| Oracle_linux | — | Upgrade tomcat6-jsp-2.1-apiUpgrade tomcat-servlet-3.0-apiUpgrade tomcat-libUpgrade tomcat-jsvcUpgrade tomcat6-docs-webappUpgrade tomcat-el-2.2-apiUpgrade tomcat6-servlet-2.5-apiUpgrade tomcat6-javadocUpgrade tomcat-docs-webappUpgrade tomcat6-el-2.1-apiUpgrade tomcat-webappsUpgrade tomcat6-admin-webappsUpgrade tomcatUpgrade tomcat6-libUpgrade tomcat-jsp-2.2-apiUpgrade tomcat-javadocUpgrade tomcat6Upgrade tomcat6-webappsUpgrade tomcat-admin-webapps | Mar 22, 2020 | Feb 20, 2020 |
| Red Hat Jboss Eap | — | Upgrade Red Hat JBoss EAP to the latest version | Sep 19, 2024 | Feb 20, 2020 |
| Redhat_linux | — | Upgrade stax-exUpgrade apache-commons-collectionsUpgrade pki-servlet-engineUpgrade jackson-jaxrs-json-providerUpgrade bea-stax-apiUpgrade tomcat-webappsUpgrade pki-symkey-debuginfoUpgrade pki-baseUpgrade jackson-databindUpgrade pki-tools-debuginfoUpgrade tomcat-libUpgrade glassfish-jaxb-coreUpgrade slf4j-jdk14Upgrade tomcat-admin-webappsUpgrade tomcatjssUpgrade glassfish-jaxb-apiUpgrade jakarta-commons-httpclientUpgrade tomcat-javadocUpgrade xmlstreambufferUpgrade apache-commons-langUpgrade jackson-jaxrs-providersNo solution existsUpgrade xerces-j2Upgrade resteasyUpgrade pki-symkeyUpgrade python3-nssUpgrade python3-pkiUpgrade ldapjdk-javadocUpgrade ldapjdkUpgrade jss-javadocUpgrade tomcat-jsp-2.2-apiUpgrade javassistUpgrade velocityUpgrade jackson-module-jaxb-annotationsUpgrade slf4jUpgrade python3-nss-debuginfoUpgrade python-nss-debugsourceUpgrade jackson-coreUpgrade tomcatUpgrade javassist-javadocUpgrade tomcat-jsvcUpgrade xsomUpgrade tomcat-docs-webappUpgrade pki-caUpgrade xalan-j2Upgrade jssUpgrade pki-core-debugsourceUpgrade apache-commons-netUpgrade xml-commons-resolverUpgrade glassfish-fastinfosetUpgrade relaxngDatatypeUpgrade jackson-annotationsUpgrade tomcat-el-2.2-apiUpgrade pki-kraUpgrade pki-toolsUpgrade pki-servlet-4.0-apiUpgrade glassfish-jaxb-runtimeUpgrade tomcat-servlet-3.0-apiUpgrade pki-core-debuginfoUpgrade xml-commons-apisUpgrade jss-debuginfoUpgrade glassfish-jaxb-txw2Upgrade pki-base-javaUpgrade jss-debugsourceUpgrade python-nss-docUpgrade pki-server | Mar 18, 2020 | Feb 24, 2020 |
| Rocky_linux | — | Upgrade python3-nss-debuginfoUpgrade python-nss-docUpgrade python3-nssUpgrade python-nss-debugsource | Mar 12, 2024 | Feb 24, 2020 |
| Suse | — | Upgrade tomcat-webappsUpgrade apache2-preforkUpgrade tomcat6-servlet-2_5-apiUpgrade apache2-example-pagesUpgrade tomcat-docs-webappUpgrade tomcat-embedUpgrade tomcat6-webappsUpgrade tomcat-jsp-2_3-apiUpgrade tomcat-libUpgrade tomcatUpgrade apache2-docUpgrade tomcat-jsvcUpgrade apache2-develUpgrade apache2Upgrade tomcat6-javadocUpgrade tomcat-servlet-3_1-apiUpgrade apache2-utilsUpgrade apache2-workerUpgrade tomcat6-docs-webappUpgrade tomcat-servlet-4_0-apiUpgrade tomcat6Upgrade tomcat6-jsp-2_1-apiUpgrade tomcat6-libUpgrade tomcat-admin-webappsUpgrade apache2-eventUpgrade tomcat6-admin-webappsUpgrade tomcat-el-3_0-apiUpgrade tomcat-javadoc | Mar 6, 2020 | Feb 24, 2020 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Feb 24, 2020 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub