Vulnerability Name:

CVE-2018-6791 (CCN-138840)

Assigned:2018-02-03
Published:2018-02-03
Updated:2019-10-03
Summary: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.
CVSS v3 Severity:6.8 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
5.9 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Physical
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
9.8 Critical (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:7.2 High (CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
10.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-78
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2018-6791

Source: CCN
Type: KDE Bugtracking System – Bug 389815
Possibility of code execution when opening volume which label contains from notifications panel

Source: CONFIRM
Type: Issue Tracking, Vendor Advisory
https://bugs.kde.org/show_bug.cgi?id=389815

Source: CCN
Type: KDE Plasma GIT Repository
Make sure device paths are quoted

Source: CONFIRM
Type: Vendor Advisory
https://cgit.kde.org/plasma-workspace.git/commit/?id=9db872df82c258315c6ebad800af59e81ffb9212

Source: XF
Type: UNKNOWN
kde-cve20186791-cmd-exec(138840)

Source: DEBIAN
Type: Third Party Advisory
DSA-4116

Vulnerable Configuration:Configuration 1:
  • cpe:/a:kde:plasma-workspace:*:*:*:*:*:*:*:* (Version < 5.12.0)

  • Configuration 2:
  • cpe:/o:debian:debian_linux:9.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20186791
    V
    CVE-2018-6791
    2021-10-24
    oval:org.opensuse.security:def:25724
    P
    Security update for postgresql10 (Low)
    2020-12-01
    oval:org.opensuse.security:def:25234
    P
    Security update for dnsmasq (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:25578
    P
    Security update for python-ipaddress (Important)
    2020-12-01
    oval:org.opensuse.security:def:24962
    P
    Security update for glibc (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26362
    P
    Security update for nginx (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:25291
    P
    Security update for MozillaFirefox (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:25666
    P
    Security update for java-1_8_0-openjdk (Important)
    2020-12-01
    oval:org.opensuse.security:def:25026
    P
    Security update for MozillaFirefox (Important)
    2020-12-01
    oval:org.opensuse.security:def:26397
    P
    Security update for plasma5-workspace (Important)
    2020-12-01
    oval:org.opensuse.security:def:25375
    P
    Security update for webkit2gtk3 (Important)
    2020-12-01
    oval:org.opensuse.security:def:25680
    P
    Security update for krb5 (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:25153
    P
    Security update for the Linux Kernel (Important)
    2020-12-01
    oval:org.opensuse.security:def:25525
    P
    Security update for ruby2.1 (Important)
    2020-12-01
    oval:org.opensuse.security:def:24951
    P
    Security update for the Linux Kernel (Important)
    2020-12-01
    oval:com.ubuntu.bionic:def:201867910000000
    V
    CVE-2018-6791 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-02-07
    oval:com.ubuntu.xenial:def:201867910000000
    V
    CVE-2018-6791 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-02-07
    oval:com.ubuntu.disco:def:201867910000000
    V
    CVE-2018-6791 on Ubuntu 19.04 (disco) - medium.
    2018-02-07
    oval:com.ubuntu.artful:def:20186791000
    V
    CVE-2018-6791 on Ubuntu 17.10 (artful) - medium.
    2018-02-06
    oval:com.ubuntu.xenial:def:20186791000
    V
    CVE-2018-6791 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-02-06
    oval:com.ubuntu.bionic:def:20186791000
    V
    CVE-2018-6791 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-02-06
    oval:com.ubuntu.cosmic:def:20186791000
    V
    CVE-2018-6791 on Ubuntu 18.10 (cosmic) - medium.
    2018-02-06
    oval:com.ubuntu.cosmic:def:201867910000000
    V
    CVE-2018-6791 on Ubuntu 18.10 (cosmic) - medium.
    2018-02-06
    oval:com.ubuntu.trusty:def:20186791000
    V
    CVE-2018-6791 on Ubuntu 14.04 LTS (trusty) - medium.
    2018-02-06
    BACK
    kde plasma-workspace *
    debian debian linux 9.0