7.2
HIGH CVSS 2.0
CVE-2018-6791
KDE Plasma Workspace Template Injection Vulnerability
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.

INFO

Published Date :

Feb. 7, 2018, 2:29 a.m.

Last Modified :

Nov. 21, 2024, 4:11 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2018-6791 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Kde plasma-workspace
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
CVSS 3.0 MEDIUM [email protected]
Solution
Follow the instructions below to mitigate the CVE-2018-6791 vulnerability.
All KDE Plasma Workspace users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose '>=kde-plasma/plasma-workspace-5.11.5-r1'
Public PoC/Exploit Available at Github

CVE-2018-6791 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-6791.

URL Resource
https://bugs.kde.org/show_bug.cgi?id=389815 Issue Tracking Vendor Advisory
https://cgit.kde.org/plasma-workspace.git/commit/?id=9db872df82c258315c6ebad800af59e81ffb9212 Vendor Advisory
https://www.debian.org/security/2018/dsa-4116 Third Party Advisory
https://bugs.kde.org/show_bug.cgi?id=389815 Issue Tracking Vendor Advisory
https://cgit.kde.org/plasma-workspace.git/commit/?id=9db872df82c258315c6ebad800af59e81ffb9212 Vendor Advisory
https://www.debian.org/security/2018/dsa-4116 Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-6791 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Investigating Why AI Detects SARD but Misses CVEs

C C++ CMake Shell Makefile TeX HTML Perl VBScript Batchfile

Updated: 3 weeks, 6 days ago
4 stars 7 fork 7 watcher
Born at : April 25, 2025, 7:21 a.m. This repo has been linked 11 different CVEs too.

None

Updated: 4 months, 2 weeks ago
18 stars 10 fork 10 watcher
Born at : Jan. 2, 2021, 10:19 p.m. This repo has been linked 1053 different CVEs too.

None

Updated: 1 month, 3 weeks ago
84 stars 31 fork 31 watcher
Born at : Oct. 2, 2020, 2:49 p.m. This repo has been linked 1114 different CVEs too.

CVE-2018-6791 Troubleshooting

Python

Updated: 6 years, 7 months ago
1 stars 0 fork 0 watcher
Born at : Feb. 12, 2018, 9:21 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-6791 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-6791 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://bugs.kde.org/show_bug.cgi?id=389815
    Added Reference https://cgit.kde.org/plasma-workspace.git/commit/?id=9db872df82c258315c6ebad800af59e81ffb9212
    Added Reference https://www.debian.org/security/2018/dsa-4116
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-77 CWE-78
  • Initial Analysis by [email protected]

    Mar. 13, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:L/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugs.kde.org/show_bug.cgi?id=389815 No Types Assigned https://bugs.kde.org/show_bug.cgi?id=389815 Issue Tracking, Vendor Advisory
    Changed Reference Type https://www.debian.org/security/2018/dsa-4116 No Types Assigned https://www.debian.org/security/2018/dsa-4116 Third Party Advisory
    Changed Reference Type https://cgit.kde.org/plasma-workspace.git/commit/?id=9db872df82c258315c6ebad800af59e81ffb9212 No Types Assigned https://cgit.kde.org/plasma-workspace.git/commit/?id=9db872df82c258315c6ebad800af59e81ffb9212 Vendor Advisory
    Added CWE CWE-77
    Added CPE Configuration OR *cpe:2.3:a:kde:plasma-workspace:*:*:*:*:*:*:*:* versions up to (excluding) 5.12.0
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Feb. 19, 2018

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2018/dsa-4116 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 7.2
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.21 }} -2.99%

score

0.40942

percentile