Debian DSA-4543-1 : sudo - security update

high Nessus Plugin ID 129856

Synopsis

The remote Debian host is missing a security-related update.

Description

Joe Vennix discovered that sudo, a program designed to provide limited super user privileges to specific users, when configured to allow a user to run commands as an arbitrary user via the ALL keyword in a Runas specification, allows to run commands as root by specifying the user ID -1 or 4294967295. This could allow a user with sufficient sudo privileges to run commands as root even if the Runas specification explicitly disallows root access.

Details can be found in the upstream advisory at https://www.sudo.ws/alerts/minus_1_uid.html .

Solution

Upgrade the sudo packages.

For the oldstable distribution (stretch), this problem has been fixed in version 1.8.19p1-2.1+deb9u1.

For the stable distribution (buster), this problem has been fixed in version 1.8.27-1+deb10u1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942322

https://www.sudo.ws/alerts/minus_1_uid.html

https://security-tracker.debian.org/tracker/source-package/sudo

https://packages.debian.org/source/stretch/sudo

https://packages.debian.org/source/buster/sudo

https://www.debian.org/security/2019/dsa-4543

Plugin Details

Severity: High

ID: 129856

File Name: debian_DSA-4543.nasl

Version: 1.7

Type: local

Agent: unix

Published: 10/15/2019

Updated: 1/23/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7.4

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

CVSS Score Source: CVE-2019-14287

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.2

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

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

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:10.0, cpe:/o:debian:debian_linux:9.0, p-cpe:/a:debian:debian_linux:sudo

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/14/2019

Vulnerability Publication Date: 10/17/2019

Exploitable With

Core Impact

Reference Information

CVE: CVE-2019-14287

DSA: 4543

IAVA: 2019-A-0378-S