CVE-2020-1938

CRITICALCVSS 9.8/10Actively ExploitedEPSS 99.27%

Last modified

CVE-2020-1938 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. CISA has confirmed active exploitation in the wild. EPSS estimates a 99.27% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
9.8/10

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

EPSS Probability
99.27%

99.9th percentile

Probability of exploitation in the next 30 days. Learn more

Exploitation Status

This vulnerability is listed in CISA’s Known Exploited Vulnerabilities catalog, confirming active exploitation in the wild. Federal agencies must remediate by .

Affected Software

VendorProductVersions
ApacheGeode1.12.0
ApacheTomcat>= 7.0.0, < 7.0.100
ApacheTomcat>= 8.5.0, < 8.5.51
ApacheTomcat>= 9.0.0, < 9.0.31
FedoraprojectFedora30
FedoraprojectFedora31
FedoraprojectFedora32
OracleAgile Engineering Data Management6.2.1.0
OracleAgile Plm9.3.3
OracleAgile Plm9.3.5
OracleAgile Plm9.3.6
OracleCommunications Element Manager8.1.1
OracleCommunications Element Manager8.2.0
OracleCommunications Element Manager8.2.1
OracleCommunications Instant Messaging Server10.0.1.4.0
OracleHealth Sciences Empirica Inspections1.0.1.2
OracleHealth Sciences Empirica Signal7.3.3
OracleHospitality Guest Access4.2.0
OracleHospitality Guest Access4.2.1
OracleInstantis Enterprisetrack>= 17.1, <= 17.3
OracleMysql Enterprise Monitor<= 4.0.12
OracleMysql Enterprise Monitor>= 8.0.0, <= 8.0.20
OracleSiebel Ui Framework<= 20.5
OracleTransportation Management6.3.7
OracleWorkload Manager12.2.0.1
OracleWorkload Manager18c
OracleWorkload Manager19c
DebianDebian Linux8.0
DebianDebian Linux9.0
DebianDebian Linux10.0
OpensuseLeap15.1
BlackberryGood Control<= 5.2.58.38
BlackberryWorkspaces Server7.0.1
BlackberryWorkspaces Server7.1.2
BlackberryWorkspaces Server8.1.0
BlackberryWorkspaces Server9.0
NetappData Availability ServicesAll versions
NetappOncommand System Manager>= 3.0.0, <= 3.1.3

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is 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.
How severe is CVE-2020-1938?
CVE-2020-1938 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 99.27% probability of exploitation in the next 30 days. This vulnerability is listed in CISA's Known Exploited Vulnerabilities catalog.
How do I fix CVE-2020-1938?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2020-1938?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST