Gentoo Linux Security Advisory 201606-13 - sudo is vulnerable to an escalation of privileges via a symlink attack. Versions less than 1.8.15-r1 are affected.
ded337a5c37a4a4988b8a6954f7c27a1e14d6b846df65915b30d360b982181ee
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 201606-13
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: sudo: Unauthorized privilege escalation in sudoedit
Date: June 26, 2016
Bugs: #564774
ID: 201606-13
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
sudo is vulnerable to an escalation of privileges via a symlink attack.
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.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 app-admin/sudo < 1.8.15-r1 >= 1.8.15-r1
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"
References
==========
[ 1 ] CVE-2015-5602
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-5602
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/201606-13
Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.
License
=======
Copyright 2016 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
http://creativecommons.org/licenses/by-sa/2.5