Bug 1079751 (CVE-2018-6791)

Summary: VUL-0: CVE-2018-6791: plasma5-workspace: a specially crafted file system label may execute arbitrary code
Product: [openSUSE] openSUSE Distribution Reporter: Andreas Stieger <astieger>
Component: KDE ApplicationsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Major    
Priority: P3 - Medium CC: fabian, opensuse-kde-bugs
Version: Leap 42.3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/199613/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Stieger 2018-02-07 08:14:47 UTC
CVE-2018-6791

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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-6791
https://cgit.kde.org/plasma-workspace.git/commit/?id=9db872df82c258315c6ebad800af59e81ffb9212
https://bugs.kde.org/show_bug.cgi?id=389815


Already submitted in https://build.opensuse.org/request/show/573160
Comment 1 Andreas Stieger 2018-02-08 08:17:22 UTC
release for Leap, done
Comment 2 Swamp Workflow Management 2018-02-08 11:18:05 UTC
openSUSE-SU-2018:0397-1: An update that solves two vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 1013550,1079429,1079751
CVE References: CVE-2018-6790,CVE-2018-6791
Sources used:
openSUSE Leap 42.3 (src):    plasma5-workspace-5.8.7-11.1
Comment 3 Swamp Workflow Management 2018-02-08 11:18:40 UTC
openSUSE-SU-2018:0398-1: An update that solves two vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 1013550,1079429,1079751
CVE References: CVE-2018-6790,CVE-2018-6791
Sources used:
SUSE Package Hub for SUSE Linux Enterprise 12 (src):    plasma5-workspace-5.8.7-8.1