GLSA-200902-01 : sudo: Privilege escalation

medium Nessus Plugin ID 35614

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-200902-01 (sudo: Privilege escalation)

Harald Koenig discovered that sudo incorrectly handles group specifications in Runas_Alias (and related) entries when a group is specified in the list (using %group syntax, to allow a user to run commands as any member of that group) and the user is already a member of that group.
Impact :

A local attacker could possibly run commands as an arbitrary system user (including root).
Workaround :

There is no known workaround at this time.

Solution

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

See Also

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

Plugin Details

Severity: Medium

ID: 35614

File Name: gentoo_GLSA-200902-01.nasl

Version: 1.14

Type: local

Published: 2/9/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.9

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

Patch Publication Date: 2/6/2009

Reference Information

CVE: CVE-2009-0034

CWE: 264

GLSA: 200902-01