Vulnerability identifier: #VU19947
Vulnerability risk: High
CVSSv4.0: 7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber]
CVE-ID:
CWE-ID:
CWE-78
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
KDE Frameworks
Client/Desktop applications /
Other client software
Vendor: KDE.org
Description
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation when processing .desktop
and .directory
files within the KConfigGroup::readEntry() function. A remote attacker can create a specially crafted file or folder, trick the user into opening it and execute arbitrary OS commands with privileges of the current user.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Examples: 1) payload.desktop [Desktop Entry] Icon[$e]=$(echo${IFS}0>~/Desktop/zero.lol&) 2) .directory [Desktop Entry] Type=Directory Icon[$e]=$(echo${IFS}0>~/Desktop/zero.lol&)
Mitigation
Update to version 5.61.0
Vulnerable software versions
KDE Frameworks: 5.2.0 - 5.60.0
External links
https://gist.githubusercontent.com/zeropwn/630832df151029cb8f22d5b6b9efaefb/raw/64aa3d30279acb207f78...
https://kde.org/info/security/advisory-20190807-1.txt
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.