CVE-2021-3560 Red Hat Polkit Incorrect Authorization
An unprivileged local attacker can bypass polkit credential checks to gain root privileges and create new administrator accounts.
- Exploited in the wild
- Since 12 May 2023
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-3560?
CVE-2021-3560 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 16 Feb 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
It was found that polkit could be tricked into bypassing the credential checks for D-Bus requests, elevating the privileges of the requestor to the root user. This flaw could be used by an unprivileged local attacker to, for example, create a new local administrator. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Which versions are affected by CVE-2021-3560?
It affects 6 products.
Linux distribution packages (40)
polkit Red Hat:enterprise_linux:8::baseos | All versions | 0:0.115-11.el8_4.1 |
polkit-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:0.115-11.el8_4.1 |
polkit-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:0.115-11.el8_4.1 |
polkit-devel Red Hat:enterprise_linux:8::baseos | All versions | 0:0.115-11.el8_4.1 |
polkit-docs Red Hat:enterprise_linux:8::baseos | All versions | 0:0.115-11.el8_4.1 |
polkit-libs Red Hat:enterprise_linux:8::baseos | All versions | 0:0.115-11.el8_4.1 |
polkit-libs-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:0.115-11.el8_4.1 |
polkit Red Hat:rhel_eus:8.1::baseos | All versions | 0:0.115-9.el8_1.1 |
polkit-debuginfo Red Hat:rhel_eus:8.1::baseos | All versions | 0:0.115-9.el8_1.1 |
polkit-debugsource Red Hat:rhel_eus:8.1::baseos | All versions | 0:0.115-9.el8_1.1 |
polkit-devel Red Hat:rhel_eus:8.1::baseos | All versions | 0:0.115-9.el8_1.1 |
polkit-docs Red Hat:rhel_eus:8.1::baseos | All versions | 0:0.115-9.el8_1.1 |
polkit-libs Red Hat:rhel_eus:8.1::baseos | All versions | 0:0.115-9.el8_1.1 |
polkit-libs-debuginfo Red Hat:rhel_eus:8.1::baseos | All versions | 0:0.115-9.el8_1.1 |
polkit Red Hat:rhel_eus:8.2::baseos | All versions | 0:0.115-11.el8_2.1 |
polkit-debuginfo Red Hat:rhel_eus:8.2::baseos | All versions | 0:0.115-11.el8_2.1 |
polkit-debugsource Red Hat:rhel_eus:8.2::baseos | All versions | 0:0.115-11.el8_2.1 |
polkit-devel Red Hat:rhel_eus:8.2::baseos | All versions | 0:0.115-11.el8_2.1 |
polkit-docs Red Hat:rhel_eus:8.2::baseos | All versions | 0:0.115-11.el8_2.1 |
polkit-libs Red Hat:rhel_eus:8.2::baseos | All versions | 0:0.115-11.el8_2.1 |
polkit-libs-debuginfo Red Hat:rhel_eus:8.2::baseos | All versions | 0:0.115-11.el8_2.1 |
polkit Rocky Linux:8 | All versions | 0:0.115-11.el8_4.1 |
polkit SUSE:Enterprise Storage 6 | All versions | 0.114-3.12.1 |
polkit SUSE:HPE Helion OpenStack 8 | All versions | 0.113-5.21.1 |
polkit SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | All versions | 0.114-3.12.1 |
polkit SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 0.114-3.12.1 |
polkit SUSE:Linux Enterprise High Performance Computing 15-ESPOS | All versions | 0.114-3.12.1 |
polkit SUSE:Linux Enterprise High Performance Computing 15-LTSS | All versions | 0.114-3.12.1 |
polkit SUSE:Linux Enterprise Micro 5.0 | All versions | 0.116-3.3.1 |
polkit SUSE:Linux Enterprise Module for Basesystem 15 SP2 | All versions | 0.116-3.3.1 |
polkit SUSE:Linux Enterprise Module for Basesystem 15 SP3 | All versions | 0.116-3.3.1 |
polkit SUSE:Linux Enterprise Server 12 SP2-BCL | All versions | 0.113-5.21.1 |
polkit SUSE:Linux Enterprise Server 12 SP3-BCL | All versions | 0.113-5.21.1 |
polkit SUSE:Linux Enterprise Server 12 SP3-LTSS | All versions | 0.113-5.21.1 |
polkit SUSE:Linux Enterprise Server 12 SP4-LTSS | All versions | 0.113-5.21.1 |
polkit SUSE:Linux Enterprise Server 12 SP5 | All versions | 0.113-5.21.1 |
polkit SUSE:Linux Enterprise Server 15 SP1-BCL | All versions | 0.114-3.12.1 |
polkit SUSE:Linux Enterprise Server 15 SP1-LTSS | All versions | 0.114-3.12.1 |
polkit SUSE:Linux Enterprise Server 15-LTSS | All versions | 0.114-3.12.1 |
polkit SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | All versions | 0.113-5.21.1 |
Products include Canonical Ubuntu Linux, Debian Debian Linux, Polkit Project Polkit, Redhat Openshift Container Platform, Redhat Virtualization, Redhat Virtualization Host.
How do I fix CVE-2021-3560?
Apply the vendor's patch. US federal agencies must fix it by 2 Jun 2023.
Is CVE-2021-3560 being exploited?
Yes. Attackers have exploited CVE-2021-3560 in the wild since at least 12 May 2023.
Public exploit code: 1 Metasploit module, 1 Exploit-DB entry and 33 proofs of concept on GitHub.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2021-3560, GHSA-7c49-j253-wq5r, MGASA-2021-0244, OESA-2021-1230, RHSA-2021:2236, RHSA-2021:2237 and 9 more.