GLSA-201203-06 : sudo: Privilege escalation

high Nessus Plugin ID 58216
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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-201203-06 (sudo: Privilege escalation)

Two vulnerabilities have been discovered in sudo:
When the sudoers file is configured with a Runas group, sudo does not prompt for a password when changing to the new group (CVE-2011-0010).
A format string vulnerability exists in the 'sudo_debug()' function (CVE-2012-0809).
Impact :

A local attacker could possibly gain the ability to run arbitrary commands with the privileges of other users or groups, 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.8.3_p2'

See Also

https://security.gentoo.org/glsa/201203-06

Plugin Details

Severity: High

ID: 58216

File Name: gentoo_GLSA-201203-06.nasl

Version: 1.7

Type: local

Published: 3/6/2012

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Critical

Score: 9.2

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 6

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

Temporal Vector: E:F/RL:OF/RC: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/6/2012

Reference Information

CVE: CVE-2011-0010, CVE-2012-0809

BID: 45774, 51719

GLSA: 201203-06