Ubuntu 20.04 LTS : polkit vulnerability (USN-4980-1)

high Nessus Plugin ID 150164

Synopsis

The remote Ubuntu host is missing a security update.

Description

The remote Ubuntu 20.04 LTS host has packages installed that are affected by a vulnerability as referenced in the USN-4980-1 advisory.

Kevin Backhouse discovered that polkit incorrectly handled errors in the polkit_system_bus_name_get_creds_sync function. A local attacker could possibly use this issue to escalate privileges.

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://ubuntu.com/security/notices/USN-4980-1

Plugin Details

Severity: High

ID: 150164

File Name: ubuntu_USN-4980-1.nasl

Version: 1.9

Type: local

Agent: unix

Published: 6/3/2021

Updated: 8/28/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Critical

Score: 9.4

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 6.3

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2021-3560

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:H/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:gir1.2-polkit-1.0, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:libpolkit-gobject-1-0, p-cpe:/a:canonical:ubuntu_linux:libpolkit-agent-1-dev, p-cpe:/a:canonical:ubuntu_linux:libpolkit-agent-1-0, p-cpe:/a:canonical:ubuntu_linux:libpolkit-gobject-1-dev, p-cpe:/a:canonical:ubuntu_linux:policykit-1

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/3/2021

Vulnerability Publication Date: 6/3/2021

CISA Known Exploited Vulnerability Due Dates: 6/2/2023

Exploitable With

Metasploit (Polkit D-Bus Authentication Bypass)

Reference Information

CVE: CVE-2021-3560

USN: 4980-1