CVE-2018-6791

NameCVE-2018-6791
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-4116-1
NVD severityhigh (attack range: local)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
kde-runtime (PTS)wheezy4:4.8.4-2fixed
jessie4:4.14.2-2fixed
stretch4:16.08.3-2fixed
buster, sid4:17.08.3-1fixed
plasma-workspace (PTS)stretch (security), stretch4:5.8.6-2.1+deb9u1fixed
buster, sid4:5.12.5-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
kde-runtimesource(unstable)(not affected)
plasma-workspacesource(unstable)4:5.12.0-2high
plasma-workspacesourcestretch4:5.8.6-2.1+deb9u1highDSA-4116-1

Notes

- kde-runtime <not-affected> (Performs correct escaping)
https://bugs.kde.org/show_bug.cgi?id=389815
https://commits.kde.org/plasma-workspace/f32002ce50edc3891f1fa41173132c820b917d57 (Plasma/5.12)
https://commits.kde.org/plasma-workspace/9db872df82c258315c6ebad800af59e81ffb9212 (Plasma/5.8)

Search for package or bug name: Reporting problems