Bug 1543457 (CVE-2018-6791) - CVE-2018-6791 kde-runtime: Arbitrary command execution in the removable device notifier
Summary: CVE-2018-6791 kde-runtime: Arbitrary command execution in the removable devic...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-6791
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1543471
Blocks: 1543469
TreeView+ depends on / blocked
 
Reported: 2018-02-08 13:45 UTC by Adam Mariš
Modified: 2021-02-17 00:50 UTC (History)
5 users (show)

Fixed In Version: plasma-workspace 5.8.9, plasma-workspace 5.12.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-30 06:19:30 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2018-02-08 13:45:22 UTC
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.

External References:

https://www.kde.org/info/security/advisory-20180208-2.txt

Comment 1 Adam Mariš 2018-02-08 14:09:16 UTC
Created plasma-workspace tracking bugs for this issue:

Affects: fedora-all [bug 1543471]

Comment 3 Stefan Cornelius 2018-04-30 06:19:41 UTC
Statement:

This issue did not affect the versions of kdebase-runtime as shipped with Red Hat Enterprise Linux 6. This issue did not affect the versions of kde-runtime as shipped with Red Hat Enterprise Linux 7.


Note You need to log in before you can comment on or make changes to this bug.