{"schemaVersion":3,"id":"CVE-2018-6791","aliases":["UBUNTU-CVE-2018-6791","DEBIAN-CVE-2018-6791","DSA-4116-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2018-02-07T02:00:00.000Z","modified":"2024-08-05T06:10:11.363Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":6.8,"severity":"medium","vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":6.8,"severity":"medium","vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":2.3,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":6.8,"severity":"medium","vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":2.3,"impact":9.8,"computed":true}]},"epss":{"probability":0.00776,"percentile":0.55009,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00776},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00753,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00776,"percentile":0.55009}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00753,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00776,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00776,"percentile":0.55009}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"debian","product":"plasma-workspace","name":"plasma-workspace","label":"plasma-workspace","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/plasma-workspace","purlType":"deb","versions":[{"text":"< 4:5.12.0-2","noFixRecorded":false,"fixedIn":null},{"text":"< 4:5.8.6-2.1+deb9u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4:5.12.0-2 | < 4:5.8.6-2.1+deb9u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"plasma-workspace","name":"plasma-workspace","label":"plasma-workspace","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/plasma-workspace","purlType":"deb","versions":[{"text":"< 4:5.5.5.2-0ubuntu1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4:5.5.5.2-0ubuntu1.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"kde","product":"plasma-workspace","name":"plasma-workspace","label":"plasma-workspace","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.12.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.12.0","eol":null,"hubHref":"/vendor/kde/plasma-workspace"}],"affectedCount":4,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://cgit.kde.org/plasma-workspace.git/commit/?id=9db872df82c258315c6ebad800af59e81ffb9212","label":"cgit.kde.org/plasma-workspace.git/commit/?id=9db872df82c258315c6ebad800af59e81ffb9212","hostname":"cgit.kde.org","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"https://www.debian.org/security/2018/dsa-4116","label":"www.debian.org/security/2018/dsa-4116","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://bugs.kde.org/show_bug.cgi?id=389815","label":"bugs.kde.org/show_bug.cgi?id=389815","hostname":"bugs.kde.org","tags":["X Refsource CONFIRM","Issue Tracking","Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-6791","label":"ubuntu.com/security/CVE-2018-6791","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-6791","label":"www.cve.org/CVERecord?id=CVE-2018-6791","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-6791","label":"security-tracker.debian.org/tracker/CVE-2018-6791","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2018:0397-1","OPENSUSE-SU-2018:0398-1"],"duplicates":[],"related":["OPENSUSE-SU-2018:0397-1","OPENSUSE-SU-2018:0398-1"]},"timeline":[{"kind":"published","date":"2018-02-07T02:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T06:10:11.363Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T20:04:21.752Z","stale":false,"partial":false}}