WS-2023-0091
March 29, 2023
A privilege escalation vulnerability was found in polkit. Polkit stores rules in /etc/polkit-1/rules.d. We follow the upstream provided permissions for this folder, so polkitd owns it and permissions are set to 700. Since the user owns the directory it's easy to escalate from user polkitd to root. The user can create own rules that are interpreted by the polkit authority which in turn grants root privileges via e.g. the setuid root binary pkexec.
Related ResourcesĀ (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.5
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.8
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH