OS Command Injection in plasma-workspace - CVE-2018-6791
Published: February 7, 2018 / Updated: August 8, 2020
Vulnerability details
The vulnerability allows a local non-authenticated attacker to execute arbitrary code.
An issue was discovered in soliduiserver/deviceserviceaction.cpp in KDE Plasma Workspace before 5.12.0. When a vfat thumbdrive that contains `` or $() in its volume label is plugged in and mounted through the device notifier, it's interpreted as a shell command, leading to a possibility of arbitrary command execution. An example of an offending volume label is "$(touch b)" -- this will create a file called b in the home folder.
Affected software
Arch Linux
Gentoo Linux
Fedora
Opensuse
SUSE Package Hub for SUSE Linux Enterprise
plasma-workspace
How to mitigate CVE-2018-6791
plasma-workspace - addressed in versions 5.10.5-6.fc26, 5.11.5-3.fc27