GLSA-201606-13 : sudo: Unauthorized privilege escalation in sudoedit

high Nessus Plugin ID 91844

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-201606-13 (sudo: Unauthorized privilege escalation in sudoedit)

sudoedit in sudo is vulnerable to the escalation of privileges by local users via a symlink attack. This can be exploited by a file whose full path is defined using multiple wildcards in “/etc/sudoers”, as demonstrated by “/home/*/*/file.txt”.
Impact :

Local users are able to gain unauthorized privileges on the system.
Workaround :

There is no known work around at this time.

Solution

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

See Also

https://security.gentoo.org/glsa/201606-13

Plugin Details

Severity: High

ID: 91844

File Name: gentoo_GLSA-201606-13.nasl

Version: 2.4

Type: local

Published: 6/27/2016

Updated: 1/11/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.6

Vector: CVSS2#AV:L/AC:L/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: 6/26/2016

Reference Information

CVE: CVE-2015-5602

GLSA: 201606-13