CVE-2020-14004 Path traversal in n/a

High 7.8 Published Updated

An unprivileged user can exploit symlink handling in the prepare-dirs script to modify permissions of arbitrary files, potentially leading to privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2020-14004?

CVE-2020-14004 is a high-severity path traversal vulnerability in Opensuse Backports Sle, published on 12 Jun 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An issue was discovered in Icinga2 before v2.12.0-rc1. The prepare-dirs script (run as part of the icinga2 systemd service) executes chmod 2750 /run/icinga2/cmd. /run/icinga2 is under control of an unprivileged user by default. If /run/icinga2/cmd is a symlink, then it will by followed and arbitrary files can be changed to mode 2750 by the unprivileged icinga2 user.

Weakness: CWE-59

Which versions are affected by CVE-2020-14004?

It affects 3 products.

Linux distribution packages (4)
icinga2 SUSE:Package Hub 15 SP1All versions2.12.1-bp152.4.3.1
icinga2 SUSE:Package Hub 15 SP2All versions2.12.1-bp152.4.3.1
icinga2 openSUSE:Leap 15.1All versions2.12.1-bp152.4.3.1
icinga2 openSUSE:Leap 15.2All versions2.12.1-bp152.4.3.1

Products include Icinga Icinga, Opensuse Backports Sle, Opensuse Leap.

How do I fix CVE-2020-14004?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2020-14004 being exploited?

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

All Opensuse Backports Sle vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-14004, GHSA-xqhq-m8mv-g9wp, UBUNTU-CVE-2020-14004, openSUSE-SU-2020:1820-1.

Is CVE-2020-14004 in your software?

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

Check your SBOMs for free