ArchLinux: 202010-8: kpmcore: privilege escalation
Summary
kpmcore_externalcommand helper contains a logic flaw in which the service invoking dbus is not properly checked. An attacker on your local machine can replace /etc/fstab, execute mount and other partitioning related commands while KDE Partition Manager is running. mount command can then be used to gain full root privileges.
Resolution
Upgrade to 4.2.0-1.
# pacman -Syu "kpmcore>=4.2.0-1"
The problem has been fixed upstream in version 4.2.0.
References
https://kde.org/info/security/advisory-20201017-1.txt https://invent.kde.org/system/kpmcore/-/commit/c466c5db11b5cee546d1ec0594c2f1105a354fed https://invent.kde.org/system/kpmcore/-/commit/7ec4b611dcf822439b081613cca4184689266454 https://security.archlinux.org/CVE-2020-27187
Workaround
None.