CVE-2020-1938
Apache Tomcat: Improper Privilege Management
As of , CVE-2020-1938 in Apache Tomcat is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.
- Exploited
- Yes: CISA listed it on 3 March 2022
- US federal deadline
- 17 March 202214 days after CISA listed it. US federal civilian agencies must fix it by then.
- Used in ransomware campaigns
- Not known to CISA
- EPSS score
- 0.99Higher than 99% of the CVEs EPSS scores. EPSS estimates the chance of exploitation activity in the next 30 days.
- EPSS when listed
- 0.97 on 3 March 2022EPSS on the day CISA listed it.
- Public exploit
- 1 Metasploit module and 2 Exploit-DB entries (1 verified)
- Fix
- No vendor link in CISA's entry
What CISA says to do
Apply updates per vendor instructions.
CISA's required action
What the flaw is
Apache Tomcat treats Apache JServ Protocol (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.
CISA's 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.
The CVE record's description, from apache, shortened; full text on cve.org
- CVE published
- 24 February 2020
- Assigned by
- apache
- CVSS
- 9.8 Critical (CVSS 3.1, from CISA-ADP)
- CISA SSVC, exploitation
- active
- CISA SSVC, automatable
- yes
- CISA SSVC, technical impact
- total
Timeline
- Exploit-DB published an exploit (EDB-ID 48143).
- The CVE record was published.
- Exploit-DB published an exploit (EDB-ID 49039).
- CISA added it to its list of exploited vulnerabilities.
- The US federal deadline to fix it.
Public exploits
Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.
- Metasploit: Apache Tomcat AJP File Readauxiliary module, rank normal
- Exploit-DB: Apache Tomcat - AJP 'Ghostcat' File Read/Inclusion (Metasploit)EDB-ID 49039, verified by Exploit-DB, 13 November 2020
- Exploit-DB: Apache Tomcat - AJP 'Ghostcat File Read/InclusionEDB-ID 48143, 20 February 2020
Tomcat: other exploited entries
| Vulnerability | Product | Our group | Listed | Deadline | EPSS |
|---|---|---|---|---|---|
| CVE-2017-12617Remote Code Execution | Apache Tomcat | Patch this weekMetasploit module; EPSS 0.99; verified Exploit-DB entry | 0.99 | ||
| CVE-2025-24813Path Equivalence | Apache Tomcat | Patch this weekMetasploit module; EPSS 0.99 | 0.99 | ||
| CVE-2016-8735Remote Code Execution | Apache Tomcat | Patch this weekEPSS 0.90 | 0.90 | ||
| CVE-2017-12615on Windows Remote Code Execution | Apache Tomcat | Patch this weekRansomware use; EPSS 0.99 | 0.99 | ||
| CVE-2026-34486Missing Encryption of Sensitive Data | Apache Tomcat | Patch soon | 0.07 |
Read further
- CVE recordcve.org
- NVD entrynvd.nist.gov
- CISA's catalogcisa.gov
- EPSS for this CVEapi.first.org