Polkit's pkexec Response (Feb 3, 2022)

Summary

A vulnerability in polkit's pkexec command (CVE-2021-4034) has been publicly disclosed. Even though HYCU does not use or need this command, bad actors could misuse it. We strongly recommend customers take the following safety precautions.

Date of Publication

Feb 3rd 2022

Description

Recently, a vulnerability in polkit's pkexec command (CVE-2021-4034) has been publicly disclosed. The pkexec application is a tool available on Linux distributions and designed to allow unprivileged users to run commands as privileged users as defined in their policies. The current version of pkexec in Linux distributions, including the version that is part of HYCU’s Enterprise Cloud virtual appliance, does not handle the calling parameters count correctly and attempts to execute environment variables as commands. An attacker can leverage this by crafting environment variables in a way that leads 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.

HYCU Data Protection for Enterprise Clouds does not require pkexec. To mitigate the issue, we strongly encourage customers to remove the SUID-bit from pkexec to eliminate the permission using the following command:

chmod 0755 /usr/bin/pkexec

References

NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2021-4034

Was this article helpful?
2 out of 2 found this helpful

Comments

0 comments

Please sign in to leave a comment.

Articles in this section