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.
References
Link | Resource |
---|---|
https://www.qualys.com/2022/01/25/cve-2021-4034/pwnkit.txt | Exploit Mitigation Third Party Advisory |
https://access.redhat.com/security/vulnerabilities/RHSB-2022-001 | Mitigation Vendor Advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=2025869 | Issue Tracking Patch Vendor Advisory |
https://gitlab.freedesktop.org/polkit/polkit/-/commit/a2bf5c9c83b6ae46cbd5c779d3055bff81ded683 | Patch Third Party Advisory |
http://packetstormsecurity.com/files/166196/Polkit-pkexec-Local-Privilege-Escalation.html | Exploit Third Party Advisory VDB Entry |
http://packetstormsecurity.com/files/166200/Polkit-pkexec-Privilege-Escalation.html | Third Party Advisory VDB Entry |
https://www.suse.com/support/kb/doc/?id=000020564 | Third Party Advisory |
https://www.oracle.com/security-alerts/cpuapr2022.html | Third Party Advisory |
https://cert-portal.siemens.com/productcert/pdf/ssa-330556.pdf | Third Party Advisory |
https://www.starwindsoftware.com/security/sw-20220818-0001/ | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Configuration 4 (hide)
|
Configuration 5 (hide)
|
Configuration 6 (hide)
|
Configuration 7 (hide)
AND |
|
Configuration 8 (hide)
|
Information
Published : 2022-01-28 12:15
Updated : 2023-02-13 13:15
NVD link : CVE-2021-4034
Mitre link : CVE-2021-4034
JSON object : View
CWE
CWE-787
Out-of-bounds Write
Products Affected
suse
- linux_enterprise_desktop
- linux_enterprise_high_performance_computing
- linux_enterprise_server
- linux_enterprise_workstation_extension
- enterprise_storage
- manager_server
- manager_proxy
redhat
- enterprise_linux_for_ibm_z_systems_eus
- enterprise_linux_server_update_services_for_sap_solutions
- enterprise_linux
- enterprise_linux_for_power_little_endian_eus
- enterprise_linux_server_aus
- enterprise_linux_workstation
- enterprise_linux_for_scientific_computing
- enterprise_linux_server_eus
- enterprise_linux_desktop
- enterprise_linux_for_power_little_endian
- enterprise_linux_for_ibm_z_systems
- enterprise_linux_for_power_big_endian
- enterprise_linux_server_tus
- enterprise_linux_server
- enterprise_linux_eus
canonical
- ubuntu_linux
oracle
- http_server
- zfs_storage_appliance_kit
polkit_project
- polkit
siemens
- scalance_lpe9403_firmware
- scalance_lpe9403
- sinumerik_edge
starwindsoftware
- starwind_hyperconverged_appliance
- command_center
- starwind_virtual_san