kpmcore: kpmcore_externalcommand helper can be exploited in local privilege escalation (CVE-2020-27187)
An issue was discovered in KDE Partition Manager 4.1.0 before 4.2.0. The kpmcore_externalcommand helper contains a logic flaw in which the service invoking D-Bus is not properly checked. An attacker on the local machine can replace /etc/fstab, and execute mount and other partitioning related commands, while KDE Partition Manager is running. the mount command can then be used to gain full root privileges.
Fixed in version:
kpmcore 4.2.0
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-27187
- https://mail.kde.org/pipermail/kde-announce/2020-October/000124.html
Affected branches:
-
master (3119885f) -
3.12-stable