CVE-2018-19640 Code execution if run with command line switch -v
Attackers can execute arbitrary commands or kill processes if supportutils is run with the -v switch and log directory files are manipulated.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-19640?
CVE-2018-19640 is a medium-severity command injection vulnerability in SUSE supportutils, published on 5 Mar 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
If the attacker manages to create files in the directory used to collect log files in supportutils before version 3.1-5.7.1 (e.g. with CVE-2018-19638) he can kill arbitrary processes on the local machine.
Which versions are affected by CVE-2018-19640?
It affects 1 product.
Products include Opensuse Supportutils.
How do I fix CVE-2018-19640?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2018-19640 being exploited?
There is no known exploitation of CVE-2018-19640 in the wild and no public exploit code.
Other vulnerabilities in SUSE supportutils
- CVE-2018-19636 Local root exploit via inclusion of attacker controlled shell script
- CVE-2018-19639 Code execution if run with command line switch -v
- CVE-2022-45154 supportconfig does not remove passwords in /etc/iscsi/iscsid.conf and /etc/target/lio_setup.sh
- CVE-2018-19637 Static temporary filename allows overwriting of files
- CVE-2018-19638 User can overwrite arbitrary log files in support tar
Sources
Also known as GHSA-7g5j-9rpf-g2r7.