Path traversal in Apache Tomcat - CVE-2020-1938

 

Path traversal in Apache Tomcat - CVE-2020-1938

Published: February 21, 2020 / Updated: February 22, 2023


Vulnerability identifier: #VU25502
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-1938
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation in Apache Tomcat AJP connector. A remote attacker can send a specially crafted AJP request, include and execute arbitrary files on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Apache Tomcat
Cloud Foundry UAA
Amazon Linux AMI
Gentoo Linux
Red Hat Enterprise Linux for Scientific Computing
CentOS
Fedora
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for IBM System z (Structure A)
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Oracle Solaris
Opensuse
Oracle Health Sciences Empirica Inspections
Oracle Communications Instant Messaging Server
EMC Atmos
Dell Support Assist Enterprise
IBM Engineering Requirements Management DOORS Next
Dell Wyse Management Repository
Dell Wyse Management Suite
EMC Integrated Data Protection Appliance
MySQL Enterprise Monitor
Oracle Hospitality Guest Access
Oracle Communications Element Manager
Dell Secure Connect Gateway
Oracle Health Sciences Empirica Signal
tomcat6 (Red Hat package)
tomcat (Red Hat package)
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
tomcat8 (Debian package)
tomcat9 (Debian package)
tomcat
Oracle Agile PLM Framework
Zoho ManageEngine Desktop Central
CF Deployment
Huawei SMSGW

How to mitigate CVE-2020-1938

Install update from vendor's website.

Apache Tomcat - addressed in versions 7.0.100, 8.5.51, 9.0.31
MySQL Enterprise Monitor - update to 8.0.21
Dell Support Assist Enterprise - update to 4.00.06.00
Dell Secure Connect Gateway - update to 5.12.00.10
tomcat6 (Red Hat package) - update to 6.0.24-114.el6_10
tomcat (Red Hat package) - addressed in versions 7.0.76-10.el7_6, 7.0.76-11.el7_7
tomcat8 (Debian package) - update to 8.5.54-0+deb9u1
tomcat9 (Debian package) - update to 9.0.31-1~deb10u1
IBM Engineering Requirements Management DOORS Next - update to 9.7.2.8
Zoho ManageEngine Desktop Central - addressed in versions 10.0.478, 10.0.512
CF Deployment - update to 12.40.0
Cloud Foundry UAA - update to 74.16.0
Huawei SMSGW - update to V100R003C01LG6301SPC009
Dell Wyse Management Repository - update to 2.0
Dell Wyse Management Suite - update to 2.0
tomcat - addressed in versions 7.0.100-2.el6, 9.0.31-2.fc30, 9.0.31-2.fc31, 9.0.31-2.fc32

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins