7.2
CWE
78
Advisory Published
Updated

CVE-2018-6791: OS Command Injection

First published: Wed Feb 07 2018(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
debian/kde-runtime
4:17.08.3-2.1
debian/plasma-workspace
4:5.14.5.1-1
4:5.20.5-6
4:5.27.5-2+deb12u1
4:5.27.8-2
Kde Plasma-workspace<5.12.0
Debian Debian Linux=9.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID for this issue?

    The vulnerability ID for this issue is CVE-2018-6791.

  • What is the severity of CVE-2018-6791?

    The severity of CVE-2018-6791 is high with a score of 6.8.

  • Which software versions are affected by CVE-2018-6791?

    CVE-2018-6791 affects KDE Plasma Workspace versions before 5.12.0 and kde-runtime version 4:17.08.3-2.1.

  • How can I fix the vulnerability identified in CVE-2018-6791?

    To fix the vulnerability, update to KDE Plasma Workspace 5.12.0 or later and kde-runtime version 4:17.08.3-2.1.

  • Where can I find more information about CVE-2018-6791?

    You can find more information about CVE-2018-6791 at the following references: [Link 1](https://bugs.kde.org/show_bug.cgi?id=389815), [Link 2](https://cgit.kde.org/plasma-workspace.git/commit/?id=9db872df82c258315c6ebad800af59e81ffb9212), [Link 3](https://www.debian.org/security/2018/dsa-4116).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203