CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
  Take a third party risk management course for FREE
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2021-4034

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.
Publish Date : 2022-01-28 Last Update Date : 2022-06-14
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
7.2
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute Code
CWE ID 787

- Related OVAL Definitions

Title Definition Id Class Family
RHSA-2022:0267: polkit security update (Important) oval:com.redhat.rhsa:def:20220267 unix
RHSA-2022:0269: polkit security update (Important) oval:com.redhat.rhsa:def:20220269 unix
RHSA-2022:0274: polkit security update (Important) oval:com.redhat.rhsa:def:20220274 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2021-4034

# Product Type Vendor Product Version Update Edition Language
1 OS Canonical Ubuntu Linux 14.04 * * * Version Details Vulnerabilities
2 OS Canonical Ubuntu Linux 16.04 * * * Version Details Vulnerabilities
3 OS Canonical Ubuntu Linux 18.04 * * * Version Details Vulnerabilities
4 OS Canonical Ubuntu Linux 20.04 * * * Version Details Vulnerabilities
5 OS Canonical Ubuntu Linux 21.10 * * * Version Details Vulnerabilities
6 Application Polkit Project Polkit * * * * Version Details Vulnerabilities
7 OS Redhat Enterprise Linux 8.0 * * * Version Details Vulnerabilities
8 OS Redhat Enterprise Linux Desktop 7.0 * * * Version Details Vulnerabilities
9 OS Redhat Enterprise Linux Eus 8.2 * * * Version Details Vulnerabilities
10 OS Redhat Enterprise Linux For Ibm Z Systems 7.0 * * * Version Details Vulnerabilities
11 OS Redhat Enterprise Linux For Ibm Z Systems 8.0 * * * Version Details Vulnerabilities
12 OS Redhat Enterprise Linux For Ibm Z Systems Eus 8.2 * * * Version Details Vulnerabilities
13 OS Redhat Enterprise Linux For Ibm Z Systems Eus 8.4 * * * Version Details Vulnerabilities
14 OS Redhat Enterprise Linux For Power Big Endian 7.0 * * * Version Details Vulnerabilities
15 OS Redhat Enterprise Linux For Power Little Endian 7.0 * * * Version Details Vulnerabilities
16 OS Redhat Enterprise Linux For Power Little Endian 8.0 * * * Version Details Vulnerabilities
17 OS Redhat Enterprise Linux For Power Little Endian Eus 8.1 * * * Version Details Vulnerabilities
18 OS Redhat Enterprise Linux For Power Little Endian Eus 8.2 * * * Version Details Vulnerabilities
19 OS Redhat Enterprise Linux For Power Little Endian Eus 8.4 * * * Version Details Vulnerabilities
20 OS Redhat Enterprise Linux For Scientific Computing 7.0 * * * Version Details Vulnerabilities
21 OS Redhat Enterprise Linux Server 6.0 * * * Version Details Vulnerabilities
22 OS Redhat Enterprise Linux Server 7.0 * * * Version Details Vulnerabilities
23 OS Redhat Enterprise Linux Server Aus 7.3 * * * Version Details Vulnerabilities
24 OS Redhat Enterprise Linux Server Aus 7.4 * * * Version Details Vulnerabilities
25 OS Redhat Enterprise Linux Server Aus 7.6 * * * Version Details Vulnerabilities
26 OS Redhat Enterprise Linux Server Aus 7.7 * * * Version Details Vulnerabilities
27 OS Redhat Enterprise Linux Server Aus 8.2 * * * Version Details Vulnerabilities
28 OS Redhat Enterprise Linux Server Aus 8.4 * * * Version Details Vulnerabilities
29 OS Redhat Enterprise Linux Server Eus 8.4 * * * Version Details Vulnerabilities
30 OS Redhat Enterprise Linux Server Tus 7.6 * * * Version Details Vulnerabilities
31 OS Redhat Enterprise Linux Server Tus 7.7 * * * Version Details Vulnerabilities
32 OS Redhat Enterprise Linux Server Tus 8.2 * * * Version Details Vulnerabilities
33 OS Redhat Enterprise Linux Server Tus 8.4 * * * Version Details Vulnerabilities
34 Application Redhat Enterprise Linux Server Update Services For Sap Solutions 7.6 * * * Version Details Vulnerabilities
35 Application Redhat Enterprise Linux Server Update Services For Sap Solutions 7.7 * * * Version Details Vulnerabilities
36 OS Redhat Enterprise Linux Server Update Services For Sap Solutions 8.1 * * * Version Details Vulnerabilities
37 OS Redhat Enterprise Linux Server Update Services For Sap Solutions 8.2 * * * Version Details Vulnerabilities
38 OS Redhat Enterprise Linux Server Update Services For Sap Solutions 8.4 * * * Version Details Vulnerabilities
39 OS Redhat Enterprise Linux Workstation 7.0 * * * Version Details Vulnerabilities
40 Application Suse Enterprise Storage 7.0 * * * Version Details Vulnerabilities
41 OS Suse Linux Enterprise Desktop 15 SP2 * * Version Details Vulnerabilities
42 Application Suse Linux Enterprise High Performance Computing 15.0 SP2 * * Version Details Vulnerabilities
43 OS Suse Linux Enterprise Server 15 SP2 * * Version Details Vulnerabilities
44 OS Suse Linux Enterprise Server 15 SP2 * * Version Details Vulnerabilities
45 OS Suse Linux Enterprise Workstation Extension 12 SP5 * * Version Details Vulnerabilities
46 Application Suse Manager Proxy 4.1 * * * Version Details Vulnerabilities
47 Application Suse Manager Server 4.1 * * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Canonical Ubuntu Linux 5
Polkit Project Polkit 1
Redhat Enterprise Linux 1
Redhat Enterprise Linux Desktop 1
Redhat Enterprise Linux Eus 1
Redhat Enterprise Linux For Ibm Z Systems 2
Redhat Enterprise Linux For Ibm Z Systems Eus 2
Redhat Enterprise Linux For Power Big Endian 1
Redhat Enterprise Linux For Power Little Endian 2
Redhat Enterprise Linux For Power Little Endian Eus 3
Redhat Enterprise Linux For Scientific Computing 1
Redhat Enterprise Linux Server 2
Redhat Enterprise Linux Server Aus 6
Redhat Enterprise Linux Server Eus 1
Redhat Enterprise Linux Server Tus 4
Redhat Enterprise Linux Server Update Services For Sap Solutions 2
Redhat Enterprise Linux Server Update Services For Sap Solutions 3
Redhat Enterprise Linux Workstation 1
Suse Enterprise Storage 1
Suse Linux Enterprise Desktop 1
Suse Linux Enterprise High Performance Computing 1
Suse Linux Enterprise Server 2
Suse Linux Enterprise Workstation Extension 1
Suse Manager Proxy 1
Suse Manager Server 1

- References For CVE-2021-4034

https://cert-portal.siemens.com/productcert/pdf/ssa-330556.pdf CONFIRM
https://www.qualys.com/2022/01/25/cve-2021-4034/pwnkit.txt
https://access.redhat.com/security/vulnerabilities/RHSB-2022-001
http://packetstormsecurity.com/files/166196/Polkit-pkexec-Local-Privilege-Escalation.html
http://packetstormsecurity.com/files/166200/Polkit-pkexec-Privilege-Escalation.html
https://gitlab.freedesktop.org/polkit/polkit/-/commit/a2bf5c9c83b6ae46cbd5c779d3055bff81ded683
https://www.suse.com/support/kb/doc/?id=000020564
https://www.oracle.com/security-alerts/cpuapr2022.html
https://bugzilla.redhat.com/show_bug.cgi?id=2025869

- Metasploit Modules Related To CVE-2021-4034

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.