Skip to content
RedCVE

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

  1. 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.
  2. 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.

  3. Update to a fixed version

    • Update Tomcat to 7.0.100, 8.5.51, 9.0.31 or later, on the branch you run.
  4. 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.

  5. 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 productsVersions
Apache Geode1.12.0
Apache Tomcat≥ 7.0.0, < 7.0.100 · ≥ 8.5.0, < 8.5.51 · ≥ 9.0.0, < 9.0.31
fedoraproject Fedora30 · 31 · 32
Oracle Agile Engineering Data Management6.2.1.0
Oracle Agile Product Lifecycle Management9.3.3 · 9.3.5 · 9.3.6
Oracle Communications Element Manager8.1.1 · 8.2.0 · 8.2.1
Oracle Communications Instant Messaging Server10.0.1.4.0
Oracle Health Sciences Empirica Inspections1.0.1.2
Oracle Health Sciences Empirica Signal7.3.3
Oracle Hospitality Guest Access4.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 Management6.3.7
Oracle Workload Manager12.2.0.1 · 18c · 19c
Debian Debian Linux8.0 · 9.0 · 10.0
opensuse Leap15.1
blackberry Good Control≤ 5.2.58.38
blackberry Workspaces Server7.0.1 · 7.1.2 · 8.1.0 · 9.0
netapp Data Availability ServicesNot specified
netapp Oncommand System Manager≥ 3.0.0, ≤ 3.1.3
Apache Apache TomcatApache 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

  1. Published:
  2. Added to CISA KEV:
  3. 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

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.