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.
CVSS Details
- CVSS 3.1 Base Score: 9.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade tomcat-jsvcUpgrade tomcat-docs-webappUpgrade tomcatUpgrade tomcat-jsp-2.2-apiUpgrade tomcat-servlet-3.0-apiUpgrade tomcat-el-3.0-apiUpgrade tomcat-jsp-2.3-apiUpgrade tomcat-javadocUpgrade tomcat-webappsUpgrade tomcat-admin-webappsUpgrade tomcat-el-2.2-apiUpgrade tomcat-libUpgrade tomcat-servlet-3.1-api | Apr 27, 2020 | Feb 24, 2020 |
| Amazon_linux | — | Upgrade tomcat7Upgrade tomcat8 | Mar 14, 2020 | Feb 24, 2020 |
| Apache Tomcat | — | Upgrade Apache Tomcat to 9.0.31Upgrade Apache Tomcat to 7.0.100Upgrade Apache Tomcat to the latest available versionUpgrade Apache Tomcat to 8.5.51 | Feb 24, 2020 | Feb 24, 2020 |
| Centos_linux | — | Upgrade tomcatUpgrade apache-commons-langUpgrade tomcat-docs-webappUpgrade tomcat6-el-2.1-apiUpgrade pki-servlet-4.0-apiUpgrade jssUpgrade xsomUpgrade tomcat6-libUpgrade python3-nssUpgrade tomcat6-servlet-2.5-apiUpgrade javassist-javadocUpgrade jss-debugsourceUpgrade tomcat6-jsp-2.1-apiUpgrade tomcat-jsp-2.2-apiUpgrade tomcat-admin-webappsUpgrade pki-tools-debuginfoUpgrade resteasyUpgrade pki-base-javaUpgrade xml-commons-resolverUpgrade xalan-j2Upgrade tomcat-servlet-3.0-apiUpgrade python3-pkiUpgrade tomcat-webappsUpgrade xmlstreambufferUpgrade jackson-coreUpgrade pki-baseUpgrade glassfish-jaxb-txw2Upgrade ldapjdkUpgrade jss-javadocUpgrade glassfish-jaxb-coreUpgrade pki-core-debugsourceUpgrade xml-commons-apisUpgrade glassfish-jaxb-runtimeUpgrade tomcat6-docs-webappUpgrade pki-kraUpgrade jackson-annotationsUpgrade slf4j-jdk14Upgrade ldapjdk-javadocUpgrade javassistUpgrade jackson-jaxrs-providersUpgrade jss-debuginfoUpgrade tomcat-jsvcUpgrade bea-stax-apiUpgrade pki-serverUpgrade jackson-module-jaxb-annotationsUpgrade tomcat-javadocUpgrade relaxngDatatypeUpgrade pki-symkeyUpgrade tomcat6Upgrade pki-symkey-debuginfoUpgrade jakarta-commons-httpclientUpgrade slf4jUpgrade python-nss-docUpgrade velocityUpgrade tomcat6-admin-webappsUpgrade stax-exUpgrade pki-servlet-engineUpgrade glassfish-jaxb-apiUpgrade tomcat-libUpgrade glassfish-fastinfosetUpgrade apache-commons-collectionsUpgrade python-nss-debugsourceUpgrade pki-tools | 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 tomcat-servlet-3.0-apiUpgrade tomcatUpgrade tomcat-jsp-2.2-apiUpgrade tomcat-libUpgrade tomcat-admin-webapps | Jun 17, 2020 | Feb 24, 2020 |
| Huawei Euleros 2_0_sp3 | — | Upgrade tomcatUpgrade tomcat-webappsUpgrade tomcat-jsp-2.2-apiUpgrade tomcat-libUpgrade tomcat-admin-webappsUpgrade tomcat-servlet-3.0-apiUpgrade tomcat-el-2.2-api | Apr 16, 2020 | Feb 24, 2020 |
| Huawei Euleros 2_0_sp5 | — | Upgrade tomcatUpgrade tomcat-libUpgrade tomcat-el-2.2-apiUpgrade tomcat-webappsUpgrade tomcat-servlet-3.0-apiUpgrade tomcat-jsp-2.2-apiUpgrade tomcat-admin-webapps | Mar 24, 2020 | Feb 24, 2020 |
| Huawei Euleros 2_0_sp8 | — | Upgrade tomcat-jsp-2.3-apiUpgrade tomcat-el-3.0-apiUpgrade tomcat-admin-webappsUpgrade tomcat-servlet-4.0-apiUpgrade tomcatUpgrade tomcat-lib | Mar 24, 2020 | Feb 24, 2020 |
| Oracle Solaris | — | Upgrade 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.3Upgrade 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/tomcat-admin 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-11.4.20.0.1.3.0 on Solaris 11.4 | Jan 19, 2021 | Feb 24, 2020 |
| Oracle_linux | — | Upgrade tomcat6-jsp-2.1-apiUpgrade tomcat6-docs-webappUpgrade tomcat-servlet-3.0-apiUpgrade tomcat-jsvcUpgrade tomcat-libUpgrade tomcat6-servlet-2.5-apiUpgrade tomcat-el-2.2-apiUpgrade tomcatUpgrade tomcat6-javadocUpgrade tomcat6Upgrade tomcat-javadocUpgrade tomcat-admin-webappsUpgrade tomcat6-admin-webappsUpgrade tomcat6-libUpgrade tomcat-webappsUpgrade tomcat6-el-2.1-apiUpgrade tomcat6-webappsUpgrade tomcat-jsp-2.2-apiUpgrade tomcat-docs-webapp | 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 pki-base-javaUpgrade javassist-javadocUpgrade glassfish-jaxb-txw2Upgrade pki-core-debugsourceUpgrade xsomUpgrade xml-commons-apisUpgrade tomcat-servlet-3.0-apiUpgrade python-nss-debugsourceUpgrade relaxngDatatypeUpgrade jackson-module-jaxb-annotationsUpgrade glassfish-jaxb-runtimeUpgrade pki-caUpgrade jackson-coreUpgrade xalan-j2Upgrade pki-core-debuginfoUpgrade jssUpgrade pki-toolsUpgrade pki-servlet-4.0-apiUpgrade xml-commons-resolverUpgrade tomcat-docs-webappUpgrade jss-debuginfoUpgrade tomcat-jsvcUpgrade jss-debugsourceUpgrade apache-commons-netUpgrade python-nss-docUpgrade pki-serverUpgrade jackson-annotationsUpgrade glassfish-fastinfosetUpgrade python3-nss-debuginfoUpgrade pki-kraUpgrade tomcat-el-2.2-apiUpgrade slf4jUpgrade tomcatNo solution existsUpgrade javassistUpgrade jackson-jaxrs-json-providerUpgrade pki-symkey-debuginfoUpgrade pki-tools-debuginfoUpgrade pki-servlet-engineUpgrade apache-commons-collectionsUpgrade stax-exUpgrade apache-commons-langUpgrade pki-baseUpgrade jakarta-commons-httpclientUpgrade jackson-jaxrs-providersUpgrade python3-nssUpgrade xerces-j2Upgrade glassfish-jaxb-apiUpgrade bea-stax-apiUpgrade python3-pkiUpgrade slf4j-jdk14Upgrade tomcat-javadocUpgrade tomcatjssUpgrade tomcat-libUpgrade tomcat-webappsUpgrade velocityUpgrade ldapjdkUpgrade tomcat-jsp-2.2-apiUpgrade glassfish-jaxb-coreUpgrade jackson-databindUpgrade ldapjdk-javadocUpgrade resteasyUpgrade tomcat-admin-webappsUpgrade jss-javadocUpgrade pki-symkeyUpgrade xmlstreambuffer | Mar 18, 2020 | Feb 24, 2020 |
| Rocky_linux | — | Upgrade python3-nss-debuginfoUpgrade python-nss-docUpgrade python-nss-debugsourceUpgrade python3-nss | Mar 12, 2024 | Feb 24, 2020 |
| Suse | — | Upgrade tomcat-jsvcUpgrade tomcat-jsp-2_3-apiUpgrade tomcat6-webappsUpgrade tomcatUpgrade tomcat-libUpgrade tomcat-docs-webappUpgrade tomcat-webappsUpgrade tomcat6-servlet-2_5-apiUpgrade apache2-develUpgrade apache2-preforkUpgrade tomcat-embedUpgrade apache2-example-pagesUpgrade apache2-docUpgrade apache2-eventUpgrade tomcat6-javadocUpgrade apache2-workerUpgrade tomcat-javadocUpgrade tomcat6-jsp-2_1-apiUpgrade tomcat6-docs-webappUpgrade tomcat-el-3_0-apiUpgrade apache2Upgrade apache2-utilsUpgrade tomcat6-admin-webappsUpgrade tomcat-servlet-4_0-apiUpgrade tomcat-admin-webappsUpgrade tomcat6Upgrade tomcat6-libUpgrade tomcat-servlet-3_1-api | 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 |
Prioritise with Active Threat Intelligence
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