CVE-2020-1938

Scores

EPSS

0.945High94.5%
0%20%40%60%80%100%

Percentile: 94.5%

CVSS

7.6High3.x
0246810

CVSS Score: 7.6/10

All CVSS Scores

CVSS 3.x
7.6

Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

CVSS 2.0
7.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

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.

Scaner-VS 7 — a modern vulnerability management solution

Uses this database for vulnerability detection. High-speed search, cross-platform, advanced configuration audit, and flexible filtering. Suitable for organizations of any size.
Learn more about Scaner-VS 7

Sources

debiannvdredhatubuntu

CWEs

CWE-285

Related Vulnerabilities

Exploits

Exploit ID: 48143

Source: exploitdb

URL: https://www.exploit-db.com/exploits/48143

Exploit ID: 49039

Source: exploitdb

URL: https://www.exploit-db.com/exploits/49039

Exploit ID: CVE-2020-1938

Source: github-poc

URL: https://github.com/hopsypopsy8/CVE-2020-1938-Exploitation

Recommendations

Source: nvd

All Apache Tomcat 7.x users should upgrade to the latest version:
# emerge –sync
# emerge –ask –oneshot –verbose “>=www-servers/tomcat-7.0.100:7”

All Apache Tomcat 8.5.x users should upgrade to the latest version:
# emerge –sync
# emerge –ask –oneshot –verbose “>=www-servers/tomcat-8.5.51:8.5”

URL: https://security.gentoo.org/glsa/202003-43

Vulnerable Software (270)

Type: Configuration

Product: glassfish-jsf12-eap6

Operating System: rhel

Trait:
{
  "fixed": "1.2.15-11.b01_SP2_redhat_2.1.ep6.el6"
}

Source: redhat

Type: Configuration

Product: glassfish-jsf12-eap6

Operating System: rhel

Trait:
{
  "fixed": "1.2.15-11.b01_SP2_redhat_2.1.ep6.el5"
}

Source: redhat

Type: Configuration

Product: glassfish-jsf12-eap6

Operating System: rhel

Trait:
{
  "fixed": "1.2.15-11.b01_SP2_redhat_2.1.ep6.el7"
}

Source: redhat

Type: Configuration

Product: hornetq

Operating System: rhel

Trait:
{
  "fixed": "2.3.25-29.SP31_redhat_00001.1.ep6.el5"
}

Source: redhat

Type: Configuration

Product: hornetq

Operating System: rhel

Trait:
{
  "fixed": "2.3.25-29.SP31_redhat_00001.1.ep6.el6"
}

Source: redhat

Type: Configuration

Product: hornetq

Operating System: rhel

Trait:
{
  "fixed": "2.3.25-29.SP31_redhat_00001.1.ep6.el7"
}

Source: redhat

Type: Configuration

Product: ironjacamar-eap6

Operating System: rhel

Trait:
{
  "fixed": "1.0.44-1.Final_redhat_00001.1.ep6.el5"
}

Source: redhat

Type: Configuration

Product: ironjacamar-eap6

Operating System: rhel

Trait:
{
  "fixed": "1.0.44-1.Final_redhat_00001.1.ep6.el6"
}

Source: redhat

Type: Configuration

Product: ironjacamar-eap6

Operating System: rhel

Trait:
{
  "fixed": "1.0.44-1.Final_redhat_00001.1.ep6.el7"
}

Source: redhat

Type: Configuration

Product: jbosgi-repository

Operating System: rhel

Trait:
{
  "fixed": "2.1.0-3.Final_redhat_3.1.ep6.el5"
}

Source: redhat