Known exploited
Is your fleet exposed to CVE-2020-1938?
Apache Tomcat Improper Privilege Management Vulnerability. CVE-2020-1938 is in CISA's catalog of vulnerabilities known to be exploited, and it affects packages on 7 Linux releases that SysWard tracks. A host is exposed while it has a build older than the fixed version for its release.
- Added to CISA's catalog
- March 3, 2022
- Due date for US federal agencies
- March 17, 2022
- Used in ransomware
- Not known
- Affected software
- Apache Tomcat
What it 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.
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.
CISA's required action: Apply updates per vendor instructions.
Affected Linux releases
Pick your release for the full list of affected packages and the commands to check and update a host.
| Release | Affected packages | Fixed in |
|---|---|---|
| Debian 11 | tomcat9 | 9.0.31-1 |
| Debian 12 | tomcat9 | 9.0.31-1 |
| Debian 13 | tomcat9 | 9.0.31-1 |
| RHEL 8 | apache-commons-collections, apache-commons-lang, apache-commons-net and 43 more | Depends on the package |
| Rocky Linux 8 | apache-commons-collections, apache-commons-lang, apache-commons-net and 43 more | Depends on the package |
| Amazon Linux 2 | tomcat, tomcat-admin-webapps, tomcat-docs-webapp and 7 more | 7.0.76-10.amzn2.0.1 |
| SLES 16 | tomcat, tomcat-admin-webapps, tomcat-docs-webapp and 19 more | Depends on the package |
Releases not listed either are not affected, are past their vendor's support, or are not ones SysWard has security data for.
Why the version number alone can mislead
Long-lived distributions fix a vulnerability in the version they already ship and raise only their own build number. Comparing your package's upstream version with the release where the project fixed the bug gives the wrong answer in both directions. Compare against the fixed build for your release, which is what the release pages list.
Know which of your hosts are affected
SysWard's agent reports the packages installed on each server and matches them against each distribution's own security data, so you see which hosts still have a vulnerable build, and can patch them from the same screen. Free for five servers.