CVE-2020-8019 syslog-ng: Local privilege escalation from new to root in %post

High 7.7 Published Updated

Local attackers can escalate privileges to root via symlink following in syslog-ng package installation scripts on SUSE Linux.

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-8019?

CVE-2020-8019 is a high-severity vulnerability in SUSE Linux Enterprise Debuginfo 11-SP3, 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 UNIX Symbolic Link (Symlink) Following vulnerability in the packaging of syslog-ng of SUSE Linux Enterprise Debuginfo 11-SP3, SUSE Linux Enterprise Debuginfo 11-SP4, SUSE Linux Enterprise Module for Legacy Software 12, SUSE Linux Enterprise Point of Sale 11-SP3, SUSE Linux Enterprise Server 11-SP4-LTSS, SUSE Linux Enterprise Server for SAP 12-SP1; openSUSE Backports SLE-15-SP1, openSUSE Leap 15.1 allowed local attackers controlling the user news to escalate their privileges to root. This issue affects: SUSE Linux Enterprise Debuginfo 11-SP3 syslog-ng versions prior to 2.0.9-27.34.40.5.1. SUSE Linux Enterprise Debuginfo 11-SP4 syslog-ng versions prior to 2.0.9-27.34.40.5.1. SUSE Linux Enterprise Module for Legacy Software 12 syslog-ng versions prior to 3.6.4-12.8.1. SUSE Linux Enterprise Point of Sale 11-SP3 syslog-ng versions prior to 2.0.9-27.34.40.5.1. SUSE Linux Enterprise Server 11-SP4-LTSS syslog-ng versions prior to 2.0.9-27.34.40.5.1. SUSE Linux Enterprise Server for SAP 12-SP1 syslog-ng versions prior to 3.6.4-12.8.1. openSUSE Backports SLE-15-SP1 syslog-ng versions prior to 3.19.1-bp151.4.6.1. openSUSE Leap 15.1 syslog-ng versions prior to 3.19.1-lp151.3.6.1.

Weakness: CWE-61

Which versions are affected by CVE-2020-8019?

It affects 1 product.

Linux distribution packages (4)
syslog-ng SUSE:Linux Enterprise Module for Legacy 12All versions3.6.4-12.8.1
syslog-ng SUSE:Linux Enterprise Point of Sale 11 SP3All versions2.0.9-27.34.40.5.1
syslog-ng SUSE:Linux Enterprise Server 11 SP4-LTSSAll versions2.0.9-27.34.40.5.1
syslog-ng SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions3.6.4-12.8.1

Products include Oneidentity Syslog-Ng.

How do I fix CVE-2020-8019?

Apply the vendor's patch.

Is CVE-2020-8019 being exploited?

There is no known exploitation of CVE-2020-8019 in the wild and no public exploit code.

Sources

Also known as GHSA-4j55-xp84-jjv2, SUSE-SU-2020:1221-1, SUSE-SU-2020:14369-1.

Is CVE-2020-8019 in your software?

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

Check your SBOMs for free