Lucene search

K
gentooGentoo FoundationGLSA-201606-13
HistoryJun 26, 2016 - 12:00 a.m.

sudo: Unauthorized privilege escalation in sudoedit

2016-06-2600:00:00
Gentoo Foundation
security.gentoo.org
157

CVSS2

7.2

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

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

AI Score

7.8

Confidence

High

EPSS

0.001

Percentile

26.0%

Background

sudo (su “do”) allows a system administrator to delegate authority to give certain users (or groups of users) the ability to run some (or all) commands as root or another user while providing an audit trail of the commands and their arguments.

Description

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.

Resolution

All sudo users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-admin/sudo-1.8.15-r1"
OSVersionArchitecturePackageVersionFilename
Gentooanyallapp-admin/sudo< 1.8.15-r1UNKNOWN

CVSS2

7.2

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

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

AI Score

7.8

Confidence

High

EPSS

0.001

Percentile

26.0%