Red Hat VEX
RHVEX-CVE-2020-1938
tomcat: Apache Tomcat AJP File Read/Inclusion Vulnerability
Details
CVE-2020-1938 is a file read/inclusion vulnerability in the AJP connector in Apache Tomcat. This is enabled by default with a default configuration port of 8009. A remote, unauthenticated attacker could exploit this vulnerability to read web application files from a vulnerable server. In instances where the vulnerable server allows file uploads, an attacker could upload malicious JavaServer Pages (JSP) code within a variety of file types and trigger this vulnerability to gain remote code execution (RCE).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:5 | tomcat5 | All versions, no fix (out of support scope) |
References
- https://access.redhat.com/security/cve/CVE-2020-1938
- https://bugzilla.redhat.com/show_bug.cgi?id=1806398
- https://www.cve.org/CVERecord?id=CVE-2020-1938
- https://nvd.nist.gov/vuln/detail/CVE-2020-1938
- https://meterpreter.org/cve-2020-1938-apache-tomcat-ajp-connector-remote-code-execution-vulnerability-alert/
- https://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.100
- https://tomcat.apache.org/security-8.html#Fixed_in_Apache_Tomcat_8.5.51
- https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.31
- https://www.cnvd.org.cn/webinfo/show/5415
- https://www.tenable.com/blog/cve-2020-1938-ghostcat-apache-tomcat-ajp-file-readinclusion-vulnerability-cnvd-2020-10487
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog