RCE in Kde Plasma-Workspace

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.008 (52.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-6791?
CVE-2018-6791 is a medium-severity vulnerability in Kde Plasma-Workspace, classified under OS Command Injection. CVSS score: 6.8/10. Published 2018-02-07.
How severe is CVE-2018-6791?
Medium severity. CVSS v3 base score is 6.8 out of 10.
Is CVE-2018-6791 known to be exploited?
5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.