KEVIntel
9.8
CVSS
Critical

CVE-2020-1938

PUBLISHED

When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Tomcat treats AJP connections...

Exploited in the wild Remote Low complexity No user interaction
Vendor
Apache
Product
Apache Tomcat
Published
Feb 24, 2020
EPSS

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.

apache cisa nuclei_scanner

CVSS scores

CVSS v3.1 9.8 Critical

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

CVSS v2.0 7.5

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

Exploitation status

Exploited in the wild

Recorded 2022-03-03 00:00:00 UTC · Source

SSVC decision points

Exploitation
active
Automatable
Yes
Technical impact
total

References

Known exploited vulnerability sources

Catalogues that list this CVE as a known exploited vulnerability.

Source Added
CISA Mar 03, 2022

Scanner integrations

Potential proof of concepts

These PoCs are unverified and could contain malware. Use at your own risk.

WHtig3r/CVE-2020-1938

github · Created 2024-08-20 12:51:06 UTC · 0 stars

YounesTasra-R4z3rSw0rd/CVE-2020-1938

github · Created 2022-08-21 15:44:45 UTC · 3 stars

This is a modified version of the original GhostCat Exploit

Neko-chanQwQ/CVE-2020-1938

github · Created 2021-07-11 14:38:21 UTC · 1 stars

Scanner for CVE-2020-1938

streghstreek/CVE-2020-1938

github · Created 2021-04-27 14:57:30 UTC · 1 stars

Hancheng-Lei/Hacking-Vulnerability-CVE-2020-1938-Ghostcat

github · Created 2021-03-28 03:30:44 UTC · 15 stars

Just1ceP4rtn3r/CVE-2020-1938-Tool

github · Created 2020-03-20 09:29:18 UTC · 3 stars

批量检测幽灵猫漏洞

w4fz5uck5/CVE-2020-1938-Clean-Version

github · Created 2020-03-01 01:45:23 UTC · 6 stars

CVE-2020-1938(GhostCat) clean and readable code version

woaiqiukui/CVE-2020-1938TomcatAjpScanner

github · Created 2020-02-21 14:55:40 UTC · 15 stars

批量扫描TomcatAJP漏洞

dacade/CVE-2020-1938

github · Created 2020-02-21 09:56:19 UTC · 9 stars

fairyming/CVE-2020-1938

github · Created 2020-02-21 08:42:50 UTC · 11 stars

在一定条件下可执行命令

sv3nbeast/CVE-2020-1938-Tomact-file_include-file_read

github · Created 2020-02-21 07:48:50 UTC · 53 stars

Tomcat的文件包含及文件读取漏洞利用POC

h7hac9/CVE-2020-1938

github · Created 2020-02-21 04:34:40 UTC · 2 stars

laolisafe/CVE-2020-1938

github · Created 2020-02-21 02:36:37 UTC · 37 stars

CVE-2020-1938漏洞复现

sgdream/CVE-2020-1938

github · Created 2020-02-20 17:12:14 UTC · 2 stars

CVE-2020-1938

xindongzhuaizhuai/CVE-2020-1938

github · Created 2020-02-20 17:00:02 UTC · 45 stars

Timeline

  • CVE ID Reserved

  • CVE Published to Public

  • Added to KEVIntel

  • Detected by Nuclei