Bug 1890199 (CVE-2020-27187)

Summary: CVE-2020-27187 kpmcore: kpmcore_externalcommand helper can be exploited in local privilege escalation
Product: [Other] Security Response Reporter: Michael Kaplan <mkaplan>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: mattia.verga
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kpmcore 4.2.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-21 20:21:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1890200, 1890207    
Bug Blocks:    

Description Michael Kaplan 2020-10-21 16:42:33 UTC
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.

Comment 1 Michael Kaplan 2020-10-21 16:56:12 UTC
Created kpmcore tracking bugs for this issue:

Affects: epel-8 [bug 1890207]

Comment 2 Product Security DevOps Team 2020-10-21 20:21:15 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.

Comment 3 msiddiqu 2020-11-23 09:24:27 UTC
References: 
 
https://kde.org/info/security/advisory-20201017-1.txt