GLSA-201003-01 : sudo: Privilege escalation

medium Nessus Plugin ID 44971

Language:

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-201003-01 (sudo: Privilege escalation)

Multiple vulnerabilities have been discovered in sudo:
Glenn Waller and neonsignal reported that sudo does not properly handle access control of the 'sudoedit' pseudo-command (CVE-2010-0426).
Harald Koenig reported that sudo does not properly set supplementary groups when using the 'runas_default' option (CVE-2010-0427).
Impact :

A local attacker with privileges to use 'sudoedit' or the privilege to execute commands with the 'runas_default' setting enabled could leverage these vulnerabilities to execute arbitrary code with elevated privileges.
Workaround :

CVE-2010-0426: Revoke all 'sudoedit' privileges, or use the full path to sudoedit. CVE-2010-0427: Remove all occurrences of the 'runas_default' setting.

Solution

All sudo users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-admin/sudo-1.7.2_p4'

See Also

https://security.gentoo.org/glsa/201003-01

Plugin Details

Severity: Medium

ID: 44971

File Name: gentoo_GLSA-201003-01.nasl

Version: 1.13

Type: local

Published: 3/4/2010

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Medium

Base Score: 6.9

Temporal Score: 5.7

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:sudo, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/3/2010

Exploitable With

Core Impact

Reference Information

CVE: CVE-2010-0426, CVE-2010-0427

BID: 38362, 38432

CWE: 264

GLSA: 201003-01