CVE-2020-1938

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.

  • OS
    Any OS
  • Version
    Any Version
  • Fix
    Any Type

79 fixes found:

    Workaround

    Configuration Change: server.xml
    Published Date:Jan 3, 2020
    Updated Date:Jan 3, 2020

      Configuration Change

      Configuration Change: server.xml
      Published Date:Jan 3, 2020
      Updated Date:Jan 3, 2020

        Version Update

        (RHSA-2020:2840) Important: tomcat security update
        Published Date:Jul 7, 2020
        Updated Date:Jul 7, 2020
        Source:Redhat7
        Affected Packages:

        tomcat-javadoc-7.0.76, tomcat-lib-7.0.76, tomcat-webapps-7.0.76, tomcat-servlet-3.0-api-7.0.76, tomcat-jsvc-7.0.76, tomcat-jsp-2.2-api-7.0.76, tomcat-el-2.2-api-7.0.76, tomcat-admin-webapps-7.0.76, tomcat-docs-webapp-7.0.76, tomcat-7.0.76

        Version Update

        (RHSA-2020:2779) Important: Red Hat JBoss Enterprise Application Platform 6.4.23 security update
        Published Date:Jul 1, 2020
        Updated Date:Jul 1, 2020
        Source:Redhat6
        Affected Packages:

        jboss-as-connector-7.5.23, jboss-as-server-7.5.23, jboss-as-clustering-7.5.23, jboss-as-cli-7.5.23, jboss-as-mail-7.5.23, ironjacamar-core-api-eap6-1.0.44, jboss-as-network-7.5.23, jboss-as-version-7.5.23, jboss-as-webservices-7.5.23, ironjacamar-validator-eap6-1.0.44, jbossas-core-7.5.23, jboss-as-embedded-7.5.23, ironjacamar-core-impl-eap6-1.0.44, jboss-as-jdr-7.5.23, jboss-as-messaging-7.5.23, jboss-as-web-7.5.23, jboss-as-platform-mbean-7.5.23, jboss-as-security-7.5.23, jboss-as-jsr77-7.5.23, jboss-as-process-controller-7.5.23, jboss-as-jaxrs-7.5.23, jbosgi-repository-2.1.0, jboss-as-ejb3-7.5.23, jboss-as-controller-7.5.23, jboss-as-logging-7.5.23, ironjacamar-spec-api-eap6-1.0.44, jboss-as-domain-http-7.5.23, jboss-as-management-client-content-7.5.23, jbossas-standalone-7.5.23, jboss-as-deployment-scanner-7.5.23, jboss-as-jaxr-7.5.23, ironjacamar-common-spi-eap6-1.0.44, jboss-as-domain-management-7.5.23, ironjacamar-deployers-common-eap6-1.0.44, jboss-as-cmp-7.5.23, hornetq-2.3.25, ironjacamar-jdbc-eap6-1.0.44, jboss-as-threads-7.5.23, jboss-remoting3-jmx-1.1.4, jboss-as-sar-7.5.23, jboss-as-appclient-7.5.23, jbossweb-7.5.31, jboss-as-naming-7.5.23, jboss-as-picketlink-7.5.23, jboss-as-protocol-7.5.23, ironjacamar-common-impl-eap6-1.0.44, jboss-as-jsf-7.5.23, jboss-as-pojo-7.5.23, glassfish-jsf12-eap6-1.2.15, jboss-as-system-jmx-7.5.23, jboss-as-client-all-7.5.23, jboss-as-core-security-7.5.23, jboss-as-xts-7.5.23, jboss-as-osgi-service-7.5.23, jboss-as-transactions-7.5.23, jboss-as-jmx-7.5.23, jboss-as-host-controller-7.5.23, jboss-as-modcluster-7.5.23, weld-core-1.1.34, ironjacamar-eap6-1.0.44, jboss-as-deployment-repository-7.5.23, jbossas-welcome-content-eap-7.5.23, jboss-as-jpa-7.5.23, ironjacamar-common-api-eap6-1.0.44, jboss-as-osgi-configadmin-7.5.23, jbossas-bundles-7.5.23, jboss-as-jacorb-7.5.23, jboss-as-weld-7.5.23, jboss-as-ee-7.5.23, jboss-as-configadmin-7.5.23, jboss-as-remoting-7.5.23, jbossas-javadocs-7.5.23, jbossas-appclient-7.5.23, jboss-as-ee-deployment-7.5.23, jbossas-domain-7.5.23, jbossas-modules-eap-7.5.23, jbossas-product-eap-7.5.23, jboss-as-osgi-7.5.23, jboss-as-controller-client-7.5.23

        Version Update

        (RHSA-2020:2780) Important: Red Hat JBoss Enterprise Application Platform 6.4.23 security update
        Published Date:Jul 1, 2020
        Updated Date:Jul 1, 2020
        Source:Redhat7
        Affected Packages:

        jboss-as-connector-7.5.23, jboss-as-server-7.5.23, jboss-as-clustering-7.5.23, jboss-as-cli-7.5.23, jboss-as-network-7.5.23, ironjacamar-core-api-eap6-1.0.44, jboss-as-mail-7.5.23, jboss-as-version-7.5.23, jboss-as-webservices-7.5.23, ironjacamar-validator-eap6-1.0.44, jbossas-core-7.5.23, jboss-as-embedded-7.5.23, ironjacamar-core-impl-eap6-1.0.44, jboss-as-jdr-7.5.23, jboss-as-messaging-7.5.23, jboss-as-platform-mbean-7.5.23, jboss-as-web-7.5.23, jboss-as-security-7.5.23, jboss-as-jsr77-7.5.23, jboss-as-process-controller-7.5.23, jboss-as-jaxrs-7.5.23, jbosgi-repository-2.1.0, jboss-as-ejb3-7.5.23, jboss-as-controller-7.5.23, jboss-as-logging-7.5.23, ironjacamar-spec-api-eap6-1.0.44, jboss-as-domain-http-7.5.23, jboss-as-management-client-content-7.5.23, jbossas-standalone-7.5.23, jboss-as-deployment-scanner-7.5.23, jboss-as-jaxr-7.5.23, ironjacamar-common-spi-eap6-1.0.44, jboss-as-domain-management-7.5.23, ironjacamar-deployers-common-eap6-1.0.44, jboss-as-cmp-7.5.23, ironjacamar-jdbc-eap6-1.0.44, hornetq-2.3.25, jboss-as-threads-7.5.23, jboss-remoting3-jmx-1.1.4, jboss-as-sar-7.5.23, jboss-as-appclient-7.5.23, jbossweb-7.5.31, jboss-as-naming-7.5.23, jboss-as-picketlink-7.5.23, jboss-as-protocol-7.5.23, ironjacamar-common-impl-eap6-1.0.44, jboss-as-jsf-7.5.23, jboss-as-pojo-7.5.23, glassfish-jsf12-eap6-1.2.15, jboss-as-system-jmx-7.5.23, jboss-as-client-all-7.5.23, jboss-as-core-security-7.5.23, jboss-as-xts-7.5.23, jboss-as-osgi-service-7.5.23, jboss-as-transactions-7.5.23, jboss-as-jmx-7.5.23, jboss-as-host-controller-7.5.23, jboss-as-modcluster-7.5.23, weld-core-1.1.34, ironjacamar-eap6-1.0.44, jboss-as-deployment-repository-7.5.23, jbossas-welcome-content-eap-7.5.23, jboss-as-jpa-7.5.23, ironjacamar-common-api-eap6-1.0.44, jboss-as-osgi-configadmin-7.5.23, jbossas-bundles-7.5.23, jboss-as-jacorb-7.5.23, jboss-as-weld-7.5.23, jboss-as-configadmin-7.5.23, jboss-as-ee-7.5.23, jboss-as-remoting-7.5.23, jbossas-javadocs-7.5.23, jbossas-appclient-7.5.23, jboss-as-ee-deployment-7.5.23, jbossas-domain-7.5.23, jbossas-modules-eap-7.5.23, jbossas-product-eap-7.5.23, jboss-as-osgi-7.5.23, jboss-as-controller-client-7.5.23

        Version Update

        (RHSA-2020:2781) Important: Red Hat JBoss Enterprise Application Platform 6.4.23 security update
        Published Date:Jul 1, 2020
        Updated Date:Jul 1, 2020
        Source:Redhat5
        Affected Packages:

        jboss-as-connector-7.5.23, jboss-as-server-7.5.23, jboss-as-clustering-7.5.23, jboss-as-cli-7.5.23, jboss-as-network-7.5.23, jboss-as-mail-7.5.23, ironjacamar-core-api-eap6-1.0.44, jboss-as-version-7.5.23, jboss-as-webservices-7.5.23, ironjacamar-validator-eap6-1.0.44, jbossas-core-7.5.23, jboss-as-embedded-7.5.23, ironjacamar-core-impl-eap6-1.0.44, jboss-as-jdr-7.5.23, jboss-as-messaging-7.5.23, jboss-as-platform-mbean-7.5.23, jboss-as-web-7.5.23, jboss-as-security-7.5.23, jboss-as-jsr77-7.5.23, jboss-as-process-controller-7.5.23, jboss-as-jaxrs-7.5.23, jbosgi-repository-2.1.0, jboss-as-ejb3-7.5.23, jboss-as-controller-7.5.23, jboss-as-logging-7.5.23, ironjacamar-spec-api-eap6-1.0.44, jboss-as-domain-http-7.5.23, jboss-as-management-client-content-7.5.23, jbossas-standalone-7.5.23, jboss-as-deployment-scanner-7.5.23, jboss-as-jaxr-7.5.23, ironjacamar-common-spi-eap6-1.0.44, jboss-as-domain-management-7.5.23, ironjacamar-deployers-common-eap6-1.0.44, jboss-as-cmp-7.5.23, hornetq-2.3.25, ironjacamar-jdbc-eap6-1.0.44, jboss-as-threads-7.5.23, jboss-remoting3-jmx-1.1.4, jboss-as-sar-7.5.23, jboss-as-appclient-7.5.23, jbossweb-7.5.31, jboss-as-naming-7.5.23, jboss-as-picketlink-7.5.23, jboss-as-protocol-7.5.23, ironjacamar-common-impl-eap6-1.0.44, jboss-as-jsf-7.5.23, jboss-as-pojo-7.5.23, glassfish-jsf12-eap6-1.2.15, jboss-as-system-jmx-7.5.23, jboss-as-client-all-7.5.23, jboss-as-core-security-7.5.23, jboss-as-xts-7.5.23, jboss-as-osgi-service-7.5.23, jboss-as-transactions-7.5.23, jboss-as-jmx-7.5.23, jboss-as-host-controller-7.5.23, jboss-as-modcluster-7.5.23, weld-core-1.1.34, ironjacamar-eap6-1.0.44, jboss-as-deployment-repository-7.5.23, jbossas-welcome-content-eap-7.5.23, jboss-as-jpa-7.5.23, ironjacamar-common-api-eap6-1.0.44, jboss-as-osgi-configadmin-7.5.23, jboss-as-jacorb-7.5.23, jbossas-bundles-7.5.23, jboss-as-weld-7.5.23, jboss-as-configadmin-7.5.23, jboss-as-ee-7.5.23, jboss-as-remoting-7.5.23, jbossas-javadocs-7.5.23, jbossas-appclient-7.5.23, jboss-as-ee-deployment-7.5.23, jbossas-domain-7.5.23, jbossas-modules-eap-7.5.23, jbossas-product-eap-7.5.23, jboss-as-osgi-7.5.23, jboss-as-controller-client-7.5.23

        Version Update

        [SECURITY] [DLA 2209-1] tomcat8 security update
        Published Date:May 28, 2020
        Updated Date:May 28, 2020
        Source:Debian8
        Affected Packages:

        tomcat8-examples-8.0.14, tomcat8-common-8.0.14, libservlet3.1-java-doc-8.0.14, tomcat8-8.0.14, tomcat8-admin-8.0.14, tomcat8-user-8.0.14, libtomcat8-java-8.0.14, tomcat8-docs-8.0.14, libservlet3.1-java-8.0.14

        Version Update

        [SECURITY] [DSA 4680-1] tomcat9 security update
        Published Date:May 6, 2020
        Updated Date:May 6, 2020
        Source:Debian10
        Affected Packages:

        libtomcat9-java-9.0.31, tomcat9-9.0.31, tomcat9-user-9.0.31, tomcat9-admin-9.0.31, libtomcat9-embed-java-9.0.31, tomcat9-docs-9.0.31, tomcat9-examples-9.0.31, tomcat9-common-9.0.31