GLSA-201406-30 : sudo: Privilege escalation

medium Nessus Plugin ID 76287
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-201406-30 (sudo: Privilege escalation)

When the Sudo env_reset option is disabled (it is enabled by default), certain environment variables are not blacklisted as expected.
Impact :

A local attacker, authorized to run commands using sudo, can use this flaw to execute arbitrary code or escalate his privileges.
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.5'

See Also

https://security.gentoo.org/glsa/201406-30

Plugin Details

Severity: Medium

ID: 76287

File Name: gentoo_GLSA-201406-30.nasl

Version: 1.6

Type: local

Published: 6/28/2014

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Medium

Base Score: 6.6

Temporal Score: 5.5

Vector: AV:L/AC:M/Au:S/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: 6/27/2014

Exploitable With

Core Impact

Reference Information

CVE: CVE-2014-0106

BID: 65997

GLSA: 201406-30