CVE-2020-1938
Description
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.
Risk Information
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| GhostCat: Vulnerabilities CVE-2020-1938,CVE-2020-1935,CVE-2019-17569 are fixed in 11 February 2019 Fixed in Apache Tomcat 9.0.31 | Windows |
| GhostCat: Vulnerabilities CVE-2020-1938,CVE-2020-1935,CVE-2019-17569 are fixed in 11 February 2020 Fixed in Apache Tomcat 8.5.51 | Windows |
| GhostCat: Vulnerabilities CVE-2020-1938,CVE-2020-1935,CVE-2019-17569 are fixed in 14 February 2020 Fixed in Apache Tomcat 7.0.100 | Windows |
| Vulnerabilities CVE-2020-1938,CVE-2019-17569,CVE-2020-1935 are fixed in Apache - tomcat-embed-core 9.0.31 | Windows |
| Vulnerabilities CVE-2020-1938,CVE-2019-17569,CVE-2020-1935 are fixed in Apache - tomcat-embed-core 8.5.51 | Windows |
| Vulnerabilities CVE-2020-1938,CVE-2019-17569,CVE-2020-1935 are fixed in Apache - tomcat-embed-core 7.0.100 | Windows |
| Multiple Vulnerabilities are affected in IBM Tivoli Application Dependency Discovery Manager 7.3.0 | Windows |
| SUSE-SU-2020:0632-1(SUSE Linux Enterprise Server 12-SP4 ) tomcat-9.0.31-3.25.1.noarch.rpm | Linux |
| SUSE-SU-2020:0632-1(SUSE Linux Enterprise Server 12-SP5 ) tomcat-9.0.31-3.25.1.noarch_SP5.rpm | Linux |
| SUSE-SU-2020:0632-1(SUSE Linux Enterprise Server 12-SP4 ) tomcat-admin-webapps-9.0.31-3.25.1.noarch.rpm | Linux |
| SUSE-SU-2020:0632-1(SUSE Linux Enterprise Server 12-SP4 ) tomcat-docs-webapp-9.0.31-3.25.1.noarch.rpm | Linux |
| SUSE-SU-2020:0632-1(SUSE Linux Enterprise Server 12-SP5 ) tomcat-admin-webapps-9.0.31-3.25.1.noarch_SP5.rpm | Linux |
| SUSE-SU-2020:0632-1(SUSE Linux Enterprise Server 12-SP4 ) tomcat-el-3_0-api-9.0.31-3.25.1.noarch.rpm | Linux |
| SUSE-SU-2020:0632-1(SUSE Linux Enterprise Server 12-SP5 ) tomcat-docs-webapp-9.0.31-3.25.1.noarch_SP5.rpm | Linux |
| SUSE-SU-2020:0632-1(SUSE Linux Enterprise Server 12-SP4 ) tomcat-javadoc-9.0.31-3.25.1.noarch.rpm | Linux |
| SUSE-SU-2020:0632-1(SUSE Linux Enterprise Server 12-SP5 ) tomcat-el-3_0-api-9.0.31-3.25.1.noarch_SP5.rpm | Linux |
| SUSE-SU-2020:0632-1(SUSE Linux Enterprise Server 12-SP4 ) tomcat-jsp-2_3-api-9.0.31-3.25.1.noarch.rpm | Linux |
| SUSE-SU-2020:0632-1(SUSE Linux Enterprise Server 12-SP5 ) tomcat-javadoc-9.0.31-3.25.1.noarch_SP5.rpm | Linux |
| SUSE-SU-2020:0632-1(SUSE Linux Enterprise Server 12-SP4 ) tomcat-lib-9.0.31-3.25.1.noarch.rpm | Linux |
| SUSE-SU-2020:0632-1(SUSE Linux Enterprise Server 12-SP5 ) tomcat-jsp-2_3-api-9.0.31-3.25.1.noarch_SP5.rpm | Linux |
| SUSE-SU-2020:0632-1(SUSE Linux Enterprise Server 12-SP4 ) tomcat-servlet-4_0-api-9.0.31-3.25.1.noarch.rpm | Linux |
| SUSE-SU-2020:0632-1(SUSE Linux Enterprise Server 12-SP5 ) tomcat-lib-9.0.31-3.25.1.noarch_SP5.rpm | Linux |
| SUSE-SU-2020:0632-1(SUSE Linux Enterprise Server 12-SP4 ) tomcat-webapps-9.0.31-3.25.1.noarch.rpm | Linux |
| SUSE-SU-2020:0632-1(SUSE Linux Enterprise Server 12-SP5 ) tomcat-servlet-4_0-api-9.0.31-3.25.1.noarch_SP5.rpm | Linux |
| SUSE-SU-2020:0632-1(SUSE Linux Enterprise Server 12-SP5 ) tomcat-webapps-9.0.31-3.25.1.noarch_SP5.rpm | Linux |
| (RHSA-2020:0912) tomcat6 security update tomcat6-6.0.24-114.el6_10.noarch.rpm | Linux |
| (RHSA-2020:0912) tomcat6 security update tomcat6-admin-webapps-6.0.24-114.el6_10.noarch.rpm | Linux |
| (RHSA-2020:0912) tomcat6 security update tomcat6-docs-webapp-6.0.24-114.el6_10.noarch.rpm | Linux |
| (RHSA-2020:0912) tomcat6 security update tomcat6-el-2.1-api-6.0.24-114.el6_10.noarch.rpm | Linux |
| (RHSA-2020:0912) tomcat6 security update tomcat6-javadoc-6.0.24-114.el6_10.noarch.rpm | Linux |
| (RHSA-2020:0912) tomcat6 security update tomcat6-jsp-2.1-api-6.0.24-114.el6_10.noarch.rpm | Linux |
| (RHSA-2020:0912) tomcat6 security update tomcat6-lib-6.0.24-114.el6_10.noarch.rpm | Linux |
| (RHSA-2020:0912) tomcat6 security update tomcat6-servlet-2.5-api-6.0.24-114.el6_10.noarch.rpm | Linux |
| (RHSA-2020:0912) tomcat6 security update tomcat6-webapps-6.0.24-114.el6_10.noarch.rpm | Linux |
| tomcat8 security update(DSA-4673-1) tomcat8_8.5.54-0+deb9u1_all.deb | Linux |
| tomcat9 security update(DSA-4680-1) tomcat9_9.0.31-1~deb10u1_all.deb | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP4 ) apache2-2.4.23-29.54.1.x86_64.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP5 ) apache2-2.4.23-29.54.1.x86_64_SP5.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP5 ) apache2-debuginfo-2.4.23-29.54.1.x86_64.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP4 ) apache2-debuginfo-2.4.23-29.54.1.x86_64_SP4.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP5 ) apache2-debugsource-2.4.23-29.54.1.x86_64.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP5 ) apache2-doc-2.4.23-29.54.1.noarch.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP4 ) apache2-debugsource-2.4.23-29.54.1.x86_64_SP4.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP4 ) apache2-doc-2.4.23-29.54.1.noarch_SP4.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP5 ) apache2-example-pages-2.4.23-29.54.1.x86_64.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP4 ) apache2-example-pages-2.4.23-29.54.1.x86_64_SP4.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP5 ) apache2-prefork-2.4.23-29.54.1.x86_64.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP4 ) apache2-prefork-2.4.23-29.54.1.x86_64_SP4.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP5 ) apache2-prefork-debuginfo-2.4.23-29.54.1.x86_64.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP4 ) apache2-prefork-debuginfo-2.4.23-29.54.1.x86_64_SP4.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP5 ) apache2-utils-2.4.23-29.54.1.x86_64.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP4 ) apache2-utils-2.4.23-29.54.1.x86_64_SP4.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP5 ) apache2-utils-debuginfo-2.4.23-29.54.1.x86_64.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP4 ) apache2-utils-debuginfo-2.4.23-29.54.1.x86_64_SP4.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP5 ) apache2-worker-2.4.23-29.54.1.x86_64.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP4 ) apache2-worker-2.4.23-29.54.1.x86_64_SP4.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP5 ) apache2-worker-debuginfo-2.4.23-29.54.1.x86_64.rpm | Linux |
| SUSE-SU-2020:1272-1(SUSE Linux Enterprise Server 12-SP4 ) apache2-worker-debuginfo-2.4.23-29.54.1.x86_64_SP4.rpm | Linux |
| (RHSA-2020:0855) tomcat security update tomcat-7.0.76-11.el7_7.noarch.rpm | Linux |
| (RHSA-2020:0855) tomcat security update tomcat-admin-webapps-7.0.76-11.el7_7.noarch.rpm | Linux |
| (RHSA-2020:0855) tomcat security update tomcat-docs-webapp-7.0.76-11.el7_7.noarch.rpm | Linux |
| (RHSA-2020:0855) tomcat security update tomcat-el-2.2-api-7.0.76-11.el7_7.noarch.rpm | Linux |
| (RHSA-2020:0855) tomcat security update tomcat-javadoc-7.0.76-11.el7_7.noarch.rpm | Linux |
| (RHSA-2020:0855) tomcat security update tomcat-jsp-2.2-api-7.0.76-11.el7_7.noarch.rpm | Linux |
| (RHSA-2020:0855) tomcat security update tomcat-jsvc-7.0.76-11.el7_7.noarch.rpm | Linux |
| (RHSA-2020:0855) tomcat security update tomcat-lib-7.0.76-11.el7_7.noarch.rpm | Linux |
| (RHSA-2020:0855) tomcat security update tomcat-servlet-3.0-api-7.0.76-11.el7_7.noarch.rpm | Linux |
| (RHSA-2020:0855) tomcat security update tomcat-webapps-7.0.76-11.el7_7.noarch.rpm | Linux |
| GhostCat: Vulnerabilities CVE-2020-1938,CVE-2020-1935,CVE-2019-17569 are fixed in 11 February 2019 Fixed in Apache Tomcat 9.0.31 (For Linux) | Linux |
| GhostCat: Vulnerabilities CVE-2020-1938,CVE-2020-1935,CVE-2019-17569 are fixed in 11 February 2020 Fixed in Apache Tomcat 8.5.51 (For Linux) | Linux |
| GhostCat: Vulnerabilities CVE-2020-1938,CVE-2020-1935,CVE-2019-17569 are fixed in 14 February 2020 Fixed in Apache Tomcat 7.0.100 (For Linux) | Linux |
| (CESA-2020:0855) tomcat security update tomcat-7.0.76-11.el7_7.noarch.rpm | Linux |
| (CESA-2020:0855) tomcat security update tomcat-admin-webapps-7.0.76-11.el7_7.noarch.rpm | Linux |
| (CESA-2020:0855) tomcat security update tomcat-docs-webapp-7.0.76-11.el7_7.noarch.rpm | Linux |
| (CESA-2020:0855) tomcat security update tomcat-el-2.2-api-7.0.76-11.el7_7.noarch.rpm | Linux |
| (CESA-2020:0855) tomcat security update tomcat-javadoc-7.0.76-11.el7_7.noarch.rpm | Linux |
| (CESA-2020:0855) tomcat security update tomcat-jsp-2.2-api-7.0.76-11.el7_7.noarch.rpm | Linux |
| (CESA-2020:0855) tomcat security update tomcat-jsvc-7.0.76-11.el7_7.noarch.rpm | Linux |
| (CESA-2020:0855) tomcat security update tomcat-lib-7.0.76-11.el7_7.noarch.rpm | Linux |
| (CESA-2020:0855) tomcat security update tomcat-servlet-3.0-api-7.0.76-11.el7_7.noarch.rpm | Linux |
| (CESA-2020:0855) tomcat security update tomcat-webapps-7.0.76-11.el7_7.noarch.rpm | Linux |
| pki-core:10.6 and pki-deps:10.6 security, bug fix, and enhancement update (RLSA-2020:4847) slf4j-1.7.25-4.module+el8.5.0+697+f586bb30.noarch.rpm | Linux |
| pki-core:10.6 and pki-deps:10.6 security, bug fix, and enhancement update (RLSA-2020:4847) velocity-1.7-24.module+el8.3.0+53+ea062990.noarch.rpm | Linux |
| pki-core:10.6 and pki-deps:10.6 security, bug fix, and enhancement update (RLSA-2020:4847) xalan-j2-2.7.1-38.module+el8.3.0+53+ea062990.noarch.rpm | Linux |
| pki-core:10.6 and pki-deps:10.6 security, bug fix, and enhancement update (RLSA-2020:4847) javassist-3.18.1-8.module+el8.3.0+53+ea062990.noarch.rpm | Linux |
| pki-core:10.6 and pki-deps:10.6 security, bug fix, and enhancement update (RLSA-2020:4847) xerces-j2-2.11.0-34.module+el8.3.0+53+ea062990.noarch.rpm | Linux |
| pki-core:10.6 and pki-deps:10.6 security, bug fix, and enhancement update (RLSA-2020:4847) javassist-javadoc-3.18.1-8.module+el8.3.0+53+ea062990.noarch.rpm | Linux |
| pki-core:10.6 and pki-deps:10.6 security, bug fix, and enhancement update (RLSA-2020:4847) apache-commons-net-3.6-3.module+el8.3.0+53+ea062990.noarch.rpm | Linux |
| pki-core:10.6 and pki-deps:10.6 security, bug fix, and enhancement update (RLSA-2020:4847) apache-commons-lang-2.6-21.module+el8.3.0+53+ea062990.noarch.rpm | Linux |
| pki-core:10.6 and pki-deps:10.6 security, bug fix, and enhancement update (RLSA-2020:4847) xml-commons-resolver-1.2-26.module+el8.3.0+53+ea062990.noarch.rpm | Linux |
| pki-core:10.6 and pki-deps:10.6 security, bug fix, and enhancement update (RLSA-2020:4847) apache-commons-collections-3.2.2-10.module+el8.3.0+53+ea062990.noarch.rpm | Linux |
| pki-core:10.6 and pki-deps:10.6 security, bug fix, and enhancement update (RLSA-2020:4847) jakarta-commons-httpclient-3.1-28.module+el8.3.0+53+ea062990.noarch.rpm | Linux |
| Vulnerabilities CVE-2020-1938,CVE-2019-17569,CVE-2020-1935 are fixed in Apache - tomcat-embed-core for Linux 9.0.31 | Linux |
| Vulnerabilities CVE-2020-1938,CVE-2019-17569,CVE-2020-1935 are fixed in Apache - tomcat-embed-core for Linux 8.5.51 | Linux |
| Vulnerabilities CVE-2020-1938,CVE-2019-17569,CVE-2020-1935 are fixed in Apache - tomcat-embed-core for Linux 7.0.100 | Linux |
| CVE-2020-1938 | NCM |
Patch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234