Rapid7 Vulnerability & Exploit Database

Huawei EulerOS: CVE-2021-4034: polkit security update

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Huawei EulerOS: CVE-2021-4034: polkit security update

Severity
7
CVSS
(AV:L/AC:L/Au:N/C:C/I:C/A:C)
Published
01/28/2022
Created
03/30/2022
Added
03/29/2022
Modified
02/16/2023

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)

  • huawei-euleros-2_0_sp8-upgrade-polkit
  • huawei-euleros-2_0_sp8-upgrade-polkit-devel
  • huawei-euleros-2_0_sp8-upgrade-polkit-docs
  • huawei-euleros-2_0_sp8-upgrade-polkit-libs

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

;