Rapid7 Vulnerability & Exploit Database

Rocky Linux: CVE-2021-4034: Important: polkit security update (RLSA-2022-267)

Back to Search

Rocky Linux: CVE-2021-4034: Important: polkit security update (RLSA-2022-267)

Severity
7
CVSS
(AV:L/AC:L/Au:N/C:C/I:C/A:C)
Published
01/28/2022
Created
05/06/2022
Added
05/05/2022
Modified
05/05/2022

Description

A local privilege escalation vulnerability was found on polkit's pkexec utility. The pkexec application is a setuid tool designed to allow unprivileged users to run commands as privileged users according predefined policies. The current version of pkexec doesn't handle the calling parameters count correctly and ends trying to execute environment variables as commands. An attacker can leverage this by crafting environment variables in such a way it'll induce pkexec to execute arbitrary code. When successfully executed the attack can cause a local privilege escalation given unprivileged users administrative rights on the target machine.

Solution(s)

  • rocky-upgrade-polkit
  • rocky-upgrade-polkit-debuginfo
  • rocky-upgrade-polkit-debugsource
  • rocky-upgrade-polkit-devel
  • rocky-upgrade-polkit-docs
  • rocky-upgrade-polkit-libs
  • rocky-upgrade-polkit-libs-debuginfo

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;