CVE-2020-8022 User-writeable configuration file /usr/lib/tmpfiles.d/tomcat.conf allows for escalation of priviliges

High 7.7 Published Updated

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.

PackageAffectedFixed in
tomcat BitnamiAll versions9.0.35-3.57.3
Linux distribution packages (21)
tomcat SUSE:Enterprise Storage 5All versions8.0.53-29.32.1
tomcat SUSE:HPE Helion OpenStack 8All versions8.0.53-29.32.1
tomcat SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions9.0.35-3.57.3
tomcat SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions9.0.35-3.57.3
tomcat SUSE:Linux Enterprise Module for Web and Scripting 15 SP1All versions9.0.35-4.35.1
tomcat SUSE:Linux Enterprise Server 12 SP2-BCLAll versions8.0.53-29.32.1
tomcat SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions8.0.53-29.32.1
tomcat SUSE:Linux Enterprise Server 12 SP3-BCLAll versions8.0.53-29.32.1
tomcat SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions8.0.53-29.32.1
tomcat SUSE:Linux Enterprise Server 12 SP4All versions9.0.35-3.39.1
tomcat SUSE:Linux Enterprise Server 12 SP5All versions9.0.35-3.39.1
tomcat SUSE:Linux Enterprise Server 15-LTSSAll versions9.0.35-3.57.3
tomcat SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions8.0.53-29.32.1
tomcat SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions8.0.53-29.32.1
tomcat SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions9.0.35-3.39.1
tomcat SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions9.0.35-3.39.1
tomcat SUSE:Linux Enterprise Server for SAP Applications 15All versions9.0.35-3.57.3
tomcat SUSE:OpenStack Cloud 7All versions8.0.53-29.32.1
tomcat SUSE:OpenStack Cloud 8All versions8.0.53-29.32.1
tomcat SUSE:OpenStack Cloud Crowbar 8All versions8.0.53-29.32.1
tomcat openSUSE:Leap 15.1All versions9.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.

All Apache Tomcat vulnerabilities

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.

Is CVE-2020-8022 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free