CVE-2020-1938

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.

Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
99.270%
chance of exploitation in the next 30 days
higher than 99.9% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2022-03-03
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 1
Nuclei templates: 1
Exploit-DB: 2

CISA Known Exploited Vulnerabilities entry

Vulnerability nameApache Tomcat Improper Privilege Management Vulnerability
Vendor / productApache / Tomcat
Date added2022-03-03
Federal remediation due date2022-03-17
Required actionApply updates per vendor instructions.
Known ransomware campaign useUnknown

CISA SSVC decision points

Exploitationactive
Automatableyes
Technical impacttotal
Scored2025-02-06

Timeline

  1. 2020-02-20First Exploit-DB entry (EDB-ID 48143)4 days before publication
  2. 2020-02-24Published by the CNA21:19 UTC
  3. 2020-06-15GitHub advisory published (GHSA-c9hw-wf7x-jp9j)112 days after publication
  4. 2022-03-03Added to the CISA KEV catalog738 days after publication
  5. 2025-02-06CISA SSVC decision recorded1809 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 49039webappsmultiple2020-11-13yes
EDB-ID 48143webappsmultiple2020-02-20no

Nuclei templates:

GitHub advisory GHSA-c9hw-wf7x-jp9j, affected packages:

PackageVulnerable versionsFixed in
Maven org.apache.tomcat.embed:tomcat-embed-corefrom 7.0.0 before 7.0.1007.0.100
Maven org.apache.tomcat.embed:tomcat-embed-corefrom 8.0.0 before 8.5.518.5.51
Maven org.apache.tomcat.embed:tomcat-embed-corefrom 9.0.0 before 9.0.319.0.31

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
apache tomcatfrom 7.0.0 before 7.0.100fixed in 7.0.100from 8.5.0 before 8.5.51fixed in 8.5.51from 9.0.0 before 9.0.31fixed in 9.0.317.0.1008.5.519.0.31
apache geode1.12.0no fix listednot listed
blackberry good_controlthrough 5.2.58.38no fix listednot listed
blackberry workspaces_server7.0.1no fix listed7.1.2no fix listed8.1.0no fix listed9.0no fix listednot listednot listednot listednot listed
debian debian_linux10.0no fix listed8.0no fix listed9.0no fix listednot listednot listednot listed
fedoraproject fedora30no fix listed31no fix listed32no fix listednot listednot listednot listed
netapp data_availability_services
netapp oncommand_system_managerfrom 3.0.0 through 3.1.3no fix listednot listed
opensuse leap15.1no fix listednot listed
oracle agile_engineering_data_management6.2.1.0no fix listednot listed
oracle agile_product_lifecycle_management9.3.3no fix listed9.3.5no fix listed9.3.6no fix listednot listednot listednot listed
oracle communications_element_manager8.1.1no fix listed8.2.0no fix listed8.2.1no fix listednot listednot listednot listed
oracle communications_instant_messaging_server10.0.1.4.0no fix listednot listed
oracle health_sciences_empirica_inspections1.0.1.2no fix listednot listed
oracle health_sciences_empirica_signal7.3.3no fix listednot listed
oracle hospitality_guest_access4.2.0no fix listed4.2.1no fix listednot listednot listed
oracle instantis_enterprisetrackfrom 17.1 through 17.3no fix listednot listed
oracle mysql_enterprise_monitorthrough 4.0.12no fix listedfrom 8.0.0 through 8.0.20no fix listednot listednot listed
oracle siebel_ui_frameworkthrough 20.5no fix listednot listed
oracle transportation_management6.3.7no fix listednot listed

21 vulnerable vendor/product pairs in total; the first 20 are shown. The cve_products API lists them page by page, with versions.

Products and versions as NVD and the vendor that published the CVE list them.

References

52 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources