CVE-2020-1938Apache Tomcat Improper Privilege Management Vulnerability
CVSS score
9.8
Critical
CVSS 3.1 from NVD
Exploit probability (EPSS)
99.3%
99.3% chance of exploitation in the next 30 days, higher than 99.9% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 3 Mar 2022.
US federal deadline to fix: 17 Mar 2022.
Official 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.
Source: NVD · CNA: security@apache.org
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 3 Mar 2022.
US federal agencies must fix it by 17 Mar 2022. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running Apache Geode, Apache Tomcat, fedoraproject Fedora, Oracle Agile Engineering Data Management, Oracle Agile Product Lifecycle Management and compare its version with the affected versions.
Update to a fixed version
- Update Tomcat to 7.0.100, 8.5.51, 9.0.31 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
- lists.apache.org/thread.html/r7c6f492fbd39af34a68681dbbba0468490ff1a97a1bd79c6a53610ef%40%3Cannounce.tomcat.apache.org%3E
- lists.apache.org/thread.html/r8f7484589454638af527182ae55ef5b628ba00c05c5b11887c922fb1%40%3Cnotifications.ofbiz.apache.org%3E
- lists.apache.org/thread.html/r90890afea72a9571d666820b2fe5942a0a5f86be406fa31da3dd0922%40%3Cannounce.apache.org%3E
- lists.apache.org/thread.html/r9f119d9ce9239114022e13dbfe385b3de7c972f24f05d6dbd35c1a2f%40%3Cusers.tomcat.apache.org%3E
- lists.apache.org/thread.html/ra7092f7492569b39b04ec0decf52628ba86c51f15efb38f5853e2760%40%3Cnotifications.ofbiz.apache.org%3E
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Apache Geode | 1.12.0 |
| Apache Tomcat | ≥ 7.0.0, < 7.0.100 · ≥ 8.5.0, < 8.5.51 · ≥ 9.0.0, < 9.0.31 |
| fedoraproject Fedora | 30 · 31 · 32 |
| Oracle Agile Engineering Data Management | 6.2.1.0 |
| Oracle Agile Product Lifecycle Management | 9.3.3 · 9.3.5 · 9.3.6 |
| Oracle Communications Element Manager | 8.1.1 · 8.2.0 · 8.2.1 |
| Oracle Communications Instant Messaging Server | 10.0.1.4.0 |
| Oracle Health Sciences Empirica Inspections | 1.0.1.2 |
| Oracle Health Sciences Empirica Signal | 7.3.3 |
| Oracle Hospitality Guest Access | 4.2.0 · 4.2.1 |
| Oracle Instantis Enterprisetrack | ≥ 17.1, ≤ 17.3 |
| Oracle Mysql Enterprise Monitor | ≤ 4.0.12 · ≥ 8.0.0, ≤ 8.0.20 |
| Oracle Siebel Ui Framework | ≤ 20.5 |
| Oracle Transportation Management | 6.3.7 |
| Oracle Workload Manager | 12.2.0.1 · 18c · 19c |
| Debian Debian Linux | 8.0 · 9.0 · 10.0 |
| opensuse Leap | 15.1 |
| blackberry Good Control | ≤ 5.2.58.38 |
| blackberry Workspaces Server | 7.0.1 · 7.1.2 · 8.1.0 · 9.0 |
| netapp Data Availability Services | Not specified |
| netapp Oncommand System Manager | ≥ 3.0.0, ≤ 3.1.3 |
| Apache Apache Tomcat | Apache Tomcat 9.0.0.M1 to 9.0.0.30 · 8.5.0 to 8.5.50 · 7.0.0 to 7.0.99 |
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2020-1938 being exploited?
Yes. CISA added CVE-2020-1938 to its Known Exploited Vulnerabilities catalog on 3 Mar 2022, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 99.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2020-1938?
CVE-2020-1938 has a CVSS 3.1 base score of 9.8 (critical).
Which versions are affected?
Apache Geode (1.12.0), Apache Tomcat (≥ 7.0.0, < 7.0.100; ≥ 8.5.0, < 8.5.51; ≥ 9.0.0, < 9.0.31), Fedoraproject Fedora (30; 31; 32), Oracle Agile Engineering Data Management (6.2.1.0), Oracle Agile Product Lifecycle Management (9.3.3; 9.3.5; 9.3.6), Oracle Communications Element Manager (8.1.1; 8.2.0; 8.2.1)
Is there a patch for CVE-2020-1938?
The official record links to vendor advisories or patches; see “What to do” above.
References
- lists.apache.org/thread.html/r7c6f492fbd39af34a68681dbbba0468490ff1a97a1bd79c6a53610ef%40%3Cannounce.tomcat.apache.org%3E(Mailing List, Vendor Advisory)
- lists.apache.org/thread.html/r8f7484589454638af527182ae55ef5b628ba00c05c5b11887c922fb1%40%3Cnotifications.ofbiz.apache.org%3E(Mailing List, Vendor Advisory)
- lists.apache.org/thread.html/r90890afea72a9571d666820b2fe5942a0a5f86be406fa31da3dd0922%40%3Cannounce.apache.org%3E(Mailing List, Vendor Advisory)
- lists.apache.org/thread.html/r9f119d9ce9239114022e13dbfe385b3de7c972f24f05d6dbd35c1a2f%40%3Cusers.tomcat.apache.org%3E(Mailing List, Patch)
- lists.apache.org/thread.html/ra7092f7492569b39b04ec0decf52628ba86c51f15efb38f5853e2760%40%3Cnotifications.ofbiz.apache.org%3E(Mailing List, Vendor Advisory)
- lists.apache.org/thread.html/rb1c0fb105ce2b93b7ec6fc1b77dd208022621a91c12d1f580813cfed%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- lists.apache.org/thread.html/rd0774c95699d5aeb5e16e9a600fb2ea296e81175e30a62094e27e3e7%40%3Ccommits.ofbiz.apache.org%3E(Mailing List, Patch)
- lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2%40%3Cissues.geode.apache.org%3E(Mailing List, Vendor Advisory)
- lists.apache.org/thread.html/rf992c5adf376294af31378a70aa8a158388a41d7039668821be28df3%40%3Ccommits.tomee.apache.org%3E(Mailing List, Vendor Advisory)
- www.oracle.com/security-alerts/cpujan2021.html(Patch, Third Party Advisory)
- www.oracle.com/security-alerts/cpujul2020.html(Patch, Third Party Advisory)
- www.oracle.com/security-alerts/cpuoct2020.html(Patch, Third Party Advisory)
- lists.apache.org/thread.html/rad36ec6a1ffc9e43266b030c22ceeea569243555d34fb4187ff08522%40%3Cnotifications.ofbiz.apache.org%3E(Exploit, Mailing List)
- lists.opensuse.org/opensuse-security-announce/2020-03/msg00025.html(Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2020-05/msg00002.html(Mailing List, Third Party Advisory)
- support.blackberry.com/kb/articleDetail?articleNumber=000062739(Third Party Advisory)
- lists.apache.org/thread.html/r089dc67c0358a1556dd279c762c74f32d7a254a54836b7ee2d839d8e%40%3Cdev.tomee.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/r1125f3044a0946d1e7e6f125a6170b58d413ebd4a95157e4608041c7%40%3Cannounce.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/r17aaa3a05b5b7fe9075613dd0c681efa60a4f8c8fbad152c61371b6e%40%3Cusers.tomcat.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/r38a5b7943b9a62ecb853acc22ef08ff586a7b3c66e08f949f0396ab1%40%3Cusers.tomcat.apache.org%3E(Mailing List)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.