Skip to content
OpenAdvisories
Unscored Public exploit CVE-2018-6791 EUVD-2018-18538GHSA-wfc7-x8jc-jx99

An issue was discovered in soliduiserver/deviceserviceaction.cpp in KDE Plasma Workspace before 5.12.0. When a vfat thumbdrive that contain…

Published Feb 7, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 plasma-workspace 4:5.12.0-2 —
Debian 13 plasma-workspace 4:5.12.0-2 —
Debian 12 plasma-workspace 4:5.12.0-2 —
Debian 9 plasma-workspace 4:5.8.6-2.1+deb9u1 DSA-4116-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS plasma-workspace 4:5.5.5.2-0ubuntu1.1 —
ReleasePackageFixed inAdvisory
SUSE Package Hub 12 SP3 plasma5-workspace 5.8.7-8.1 openSUSE-SU-2018:0398-1, openSUSE-SU-2018:0397-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References