The Red Hat polkit pkexec utility contains an out-of-bounds read and write vulnerability that allows for privilege escalation with administrative rights.
In het kort
CVE-2021-4034 (Red Hat Polkit Out-of-Bounds Read and Write) heeft een CVSS 3.1-basisscore van 7.8, beoordeeld als hoog. CISA heeft deze op 27 jun 2022 toegevoegd aan de catalogus van actief misbruikte kwetsbaarheden en ze is gebruikt bij ransomware-campagnes. Opgelost in Polkit 121, Siemens Sinumerik Edge 3.3.0, Siemens Scalance Lpe9403 Firmware 2.0 of later.
Beschrijving
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.
CVSS 3.1-ontleding
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HGetroffen producten
- Oracle HTTP Server12.2.1.3.0 · 12.2.1.4.0
- Oracle Zfs Storage Appliance Kit8.8
- Polkit< 121
- Redhat Enterprise Linux Server Update Services For Sap Solutions7.6 · 7.7 · 8.1 · 8.2
- Siemens Sinumerik Edge< 3.3.0
- Starwindsoftware Command Center1.0
- Starwindsoftware Starwind Virtual Sanv8
- Suse Enterprise Storage7.0
- Suse Linux Enterprise High Performance Computing15.0
- Suse Manager Proxy4.1
- Suse Manager Server4.1
- Canonical Ubuntu Linux14.04 · 16.04 · 18.04 · 20.04
- Redhat Enterprise Linux8.0
- Redhat Enterprise Linux Desktop7.0
- Redhat Enterprise Linux Eus8.2
- Redhat Enterprise Linux For Ibm Z Systems7.0 · 8.0
- Redhat Enterprise Linux For Ibm Z Systems Eus8.2 · 8.4
- Redhat Enterprise Linux For Power Big Endian7.0
- Redhat Enterprise Linux For Power Little Endian7.0 · 8.0
- Redhat Enterprise Linux For Power Little Endian Eus8.1 · 8.2 · 8.4
- Redhat Enterprise Linux For Scientific Computing7.0
- Redhat Enterprise Linux Server6.0 · 7.0
- Redhat Enterprise Linux Server Aus7.3 · 7.4 · 7.6 · 7.7
- Redhat Enterprise Linux Server Eus8.4
Herstel
Opgelost in- Polkit≥ 121
- Siemens Sinumerik Edge≥ 3.3.0
- Siemens Scalance Lpe9403 Firmware≥ 2.0
Referenties
- http://packetstormsecurity.com/files/166196/Polkit-pkexec-Local-Privilege-Escalation.html
- http://packetstormsecurity.com/files/166200/Polkit-pkexec-Privilege-Escalation.html
- https://access.redhat.com/security/vulnerabilities/RHSB-2022-001
- https://bugzilla.redhat.com/show_bug.cgi?id=2025869
- https://cert-portal.siemens.com/productcert/pdf/ssa-330556.pdf
- https://gitlab.freedesktop.org/polkit/polkit/-/commit/a2bf5c9c83b6ae46cbd5c779d3055bff81ded683
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-4034
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.qualys.com/2022/01/25/cve-2021-4034/pwnkit.txt
- https://www.secpod.com/blog/local-privilege-escalation-vulnerability-in-major-linux-distributions-cve-2021-4034/
en nog 3 referenties
Gerelateerde CVE's
Misbruikte en kritieke kwetsbaarheden in hetzelfde product of van dezelfde leverancier.
Data uit de NVD, CISA KEV-catalogus en FIRST EPSS. De CVSS 4.0-basisscore wordt getoond als de NVD die heeft, anders CVSS 3.1.
