OS Command Injection in plasma-workspace - CVE-2018-6791

 

OS Command Injection in plasma-workspace - CVE-2018-6791

Published: February 7, 2018 / Updated: August 8, 2020


Vulnerability identifier: #VU37560
CSH Severity: Medium
CVSS v4: 7 [CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-6791
CWE-ID: CWE-78
Exploitation vector: Local access
Exploit availability: No public exploit available

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

plasma-workspace
Arch Linux
Gentoo Linux
Fedora
Opensuse
SUSE Package Hub for SUSE Linux Enterprise
plasma-workspace

How to mitigate CVE-2018-6791

Install update from vendor's website.

plasma-workspace - update to 5.12.0
plasma-workspace - addressed in versions 5.10.5-6.fc26, 5.11.5-3.fc27

External References

Related Security Bulletins