CVE-2020-1938

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
apacheCNA
---
---
CVEADP
---
---
CISA-ADPADP
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 99%
VendorProductVersion
apachegeode
1.12.0
apachetomcat
7.0.0 ≤
𝑥
< 7.0.100
apachetomcat
8.5.0 ≤
𝑥
< 8.5.51
apachetomcat
9.0.0 ≤
𝑥
< 9.0.31
oracleagile_engineering_data_management
6.2.1.0
oracleagile_plm
9.3.3
oracleagile_plm
9.3.5
oracleagile_plm
9.3.6
oraclecommunications_element_manager
8.1.1
oraclecommunications_element_manager
8.2.0
oraclecommunications_element_manager
8.2.1
oraclecommunications_instant_messaging_server
10.0.1.4.0
oraclehealth_sciences_empirica_inspections
1.0.1.2
oraclehealth_sciences_empirica_signal
7.3.3
oraclehospitality_guest_access
4.2.0
oraclehospitality_guest_access
4.2.1
oracleinstantis_enterprisetrack
17.1 ≤
𝑥
≤ 17.3
oraclemysql_enterprise_monitor
𝑥
≤ 4.0.12
oraclemysql_enterprise_monitor
8.0.0 ≤
𝑥
≤ 8.0.20
oraclesiebel_ui_framework
𝑥
≤ 20.5
oracletransportation_management
6.3.7
oracleworkload_manager
12.2.0.1
debiandebian_linux
8.0
debiandebian_linux
9.0
debiandebian_linux
10.0
opensuseleap
15.1
blackberrygood_control
𝑥
≤ 5.2.58.38
blackberryworkspaces_server
7.0.1
blackberryworkspaces_server
7.1.2
blackberryworkspaces_server
8.1.0
blackberryworkspaces_server
9.0
netappdata_availability_services
-
netapponcommand_system_manager
3.0.0 ≤
𝑥
≤ 3.1.3
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
tomcat9
bullseye (security)
9.0.43-2~deb11u10
fixed
bullseye
9.0.43-2~deb11u10
fixed
stretch
ignored
bookworm
9.0.70-2
fixed
sid
9.0.95-1
fixed
trixie
9.0.95-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
tomcat7
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
eoan
dne
bionic
ignored
xenial
ignored
trusty
ignored
tomcat8
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
eoan
dne
bionic
ignored
xenial
ignored
trusty
dne
tomcat9
noble
not-affected
mantic
not-affected
lunar
not-affected
kinetic
not-affected
jammy
not-affected
impish
not-affected
hirsute
not-affected
groovy
not-affected
focal
not-affected
eoan
ignored
bionic
ignored
xenial
dne
trusty
dne
References