CVE-2019-18901 mysql-systemd-helper allows setting 640 permissions of arbitrary files
Local attackers can exploit symlink following in mysql-systemd-helper to change permissions of arbitrary files to 0640, potentially exposing sensitive data.
- 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-2019-18901?
CVE-2019-18901 is a medium-severity path traversal vulnerability in Opensuse Leap, published on 2 Mar 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 mysql-systemd-helper of the mariadb packaging of SUSE Linux Enterprise Server 12, SUSE Linux Enterprise Server 15 allows local attackers to change the permissions of arbitrary files to 0640. This issue affects: SUSE Linux Enterprise Server 12 mariadb versions prior to 10.2.31-3.25.1. SUSE Linux Enterprise Server 15 mariadb versions prior to 10.2.31-3.26.1.
Weakness: CWE-59
Which versions are affected by CVE-2019-18901?
It affects 2 products.
Products include Opensuse Leap, Suse Linux Enterprise Server.
How do I fix CVE-2019-18901?
Apply the vendor's patch.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2019-18901 being exploited?
There is no known exploitation of CVE-2019-18901 in the wild and no public exploit code.
Other vulnerabilities in Opensuse Leap
Sources
Also known as GHSA-xhr6-cwm7-hfr4.