CVE-2020-8022 User-writeable configuration file /usr/lib/tmpfiles.d/tomcat.conf allows for escalation of priviliges
Local attackers can escalate privileges from tomcat group to root due to incorrect default permissions on a configuration file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-8022?
CVE-2020-8022 is a high-severity vulnerability in Apache Tomcat, published on 29 Jun 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A Incorrect Default Permissions vulnerability in the packaging of tomcat on SUSE Enterprise Storage 5, SUSE Linux Enterprise Server 12-SP2-BCL, SUSE Linux Enterprise Server 12-SP2-LTSS, SUSE Linux Enterprise Server 12-SP3-BCL, SUSE Linux Enterprise Server 12-SP3-LTSS, SUSE Linux Enterprise Server 12-SP4, SUSE Linux Enterprise Server 12-SP5, SUSE Linux Enterprise Server 15-LTSS, SUSE Linux Enterprise Server for SAP 12-SP2, SUSE Linux Enterprise Server for SAP 12-SP3, SUSE Linux Enterprise Server for SAP 15, SUSE OpenStack Cloud 7, SUSE OpenStack Cloud 8, SUSE OpenStack Cloud Crowbar 8 allows local attackers to escalate from group tomcat to root. This issue affects: SUSE Enterprise Storage 5 tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server 12-SP2-BCL tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server 12-SP2-LTSS tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server 12-SP3-BCL tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server 12-SP3-LTSS tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server 12-SP4 tomcat versions prior to 9.0.35-3.39.1. SUSE Linux Enterprise Server 12-SP5 tomcat versions prior to 9.0.35-3.39.1. SUSE Linux Enterprise Server 15-LTSS tomcat versions prior to 9.0.35-3.57.3. SUSE Linux Enterprise Server for SAP 12-SP2 tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server for SAP 12-SP3 tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server for SAP 15 tomcat versions prior to 9.0.35-3.57.3. SUSE OpenStack Cloud 7 tomcat versions prior to 8.0.53-29.32.1. SUSE OpenStack Cloud 8 tomcat versions prior to 8.0.53-29.32.1. SUSE OpenStack Cloud Crowbar 8 tomcat versions prior to 8.0.53-29.32.1.
Weakness: CWE-276
Which versions are affected by CVE-2020-8022?
1 open source package ship an affected version, including tomcat. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
tomcat Bitnami | All versions | 9.0.35-3.57.3 |
Linux distribution packages (21)
tomcat SUSE:Enterprise Storage 5 | All versions | 8.0.53-29.32.1 |
tomcat SUSE:HPE Helion OpenStack 8 | All versions | 8.0.53-29.32.1 |
tomcat SUSE:Linux Enterprise High Performance Computing 15-ESPOS | All versions | 9.0.35-3.57.3 |
tomcat SUSE:Linux Enterprise High Performance Computing 15-LTSS | All versions | 9.0.35-3.57.3 |
tomcat SUSE:Linux Enterprise Module for Web and Scripting 15 SP1 | All versions | 9.0.35-4.35.1 |
tomcat SUSE:Linux Enterprise Server 12 SP2-BCL | All versions | 8.0.53-29.32.1 |
tomcat SUSE:Linux Enterprise Server 12 SP2-LTSS | All versions | 8.0.53-29.32.1 |
tomcat SUSE:Linux Enterprise Server 12 SP3-BCL | All versions | 8.0.53-29.32.1 |
tomcat SUSE:Linux Enterprise Server 12 SP3-LTSS | All versions | 8.0.53-29.32.1 |
tomcat SUSE:Linux Enterprise Server 12 SP4 | All versions | 9.0.35-3.39.1 |
tomcat SUSE:Linux Enterprise Server 12 SP5 | All versions | 9.0.35-3.39.1 |
tomcat SUSE:Linux Enterprise Server 15-LTSS | All versions | 9.0.35-3.57.3 |
tomcat SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | All versions | 8.0.53-29.32.1 |
tomcat SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | All versions | 8.0.53-29.32.1 |
tomcat SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | All versions | 9.0.35-3.39.1 |
tomcat SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | All versions | 9.0.35-3.39.1 |
tomcat SUSE:Linux Enterprise Server for SAP Applications 15 | All versions | 9.0.35-3.57.3 |
tomcat SUSE:OpenStack Cloud 7 | All versions | 8.0.53-29.32.1 |
tomcat SUSE:OpenStack Cloud 8 | All versions | 8.0.53-29.32.1 |
tomcat SUSE:OpenStack Cloud Crowbar 8 | All versions | 8.0.53-29.32.1 |
tomcat openSUSE:Leap 15.1 | All versions | 9.0.35-lp151.3.21.1 |
Products include Apache Tomcat, Opensuse Leap.
How do I fix CVE-2020-8022?
Upgrade tomcat to 9.0.35-3.57.3 or later.
Is CVE-2020-8022 being exploited?
There is no known exploitation of CVE-2020-8022 in the wild and no public exploit code.
Other vulnerabilities in Apache Tomcat
Sources
Also known as BIT-tomcat-2020-8022, SUSE-SU-2020:1788-1, SUSE-SU-2020:1789-1, SUSE-SU-2020:1790-1, SUSE-SU-2020:1791-1, openSUSE-SU-2020:0911-1.