Home / mailings [gentoo-announce] [ GLSA 201606-13 ] sudo: Unauthorized privilege escalation in
Posted on 26 June 2016
Gentoo-announceThis is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--0kXJStgCg5JUsP8EErlcOHpH1RoIblqD8
Content-Type: multipart/mixed; boundary="GJwHXOGjqoQjDebM4c2OAqU8BBmNRKLNj"
From: Aaron Bauman <bman@gentoo.org>
To: gentoo-announce@lists.gentoo.org
Message-ID: <4db9183f-3b87-fe40-2459-2f7d6c1b0f78@gentoo.org>
Subject: [ GLSA 201606-13 ] sudo: Unauthorized privilege escalation in
sudoedit
--GJwHXOGjqoQjDebM4c2OAqU8BBmNRKLNj
Content-Type: multipart/alternative;
boundary="------------152243332E6D96342F0F3A9F"
This is a multi-part message in MIME format.
--------------152243332E6D96342F0F3A9F
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
--------------152243332E6D96342F0F3A9F
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf=-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>
<meta http-equiv="content-type" content="text/html; charset=u=tf-8">
</p>
<pre style="color: rgb(0, 0, 0); font-style: normal; font-variant: =normal; font-weight: normal; letter-spacing: normal; line-height: normal;= orphans: auto; text-align: start; text-indent: 0px; text-transform: none=; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap=: break-word; white-space: pre-wrap;">- - - - - - - - - - - - - - - - - -= - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 201606-13
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<a class="moz-txt-link-freet=ext" href="https://security.gentoo.org/">https://security.gentoo.org/</=a>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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.1=5-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
<a class="moz-txt-link-freetext" href="http://web.nvd.nist.gov/=view/vuln/detail?vulnId=CVE-2015-5602">http://web.nvd.nist.gov/view/vul=n/detail?vulnId=CVE-2015-5602</a>
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
<a class="moz-txt-link-freetext" href="https://security.gentoo.org/g=lsa/201606-13">https://security.gentoo.org/glsa/201606-13</a>
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
<a class="moz-txt-link-abbreviated" href="mailto:security@gentoo.org"=>security@gentoo.org</a> or alternatively, you may file a bug at
<a class="moz-txt-link-freetext" href="https://bugs.gentoo.org">https=://bugs.gentoo.org</a>.
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.
<a class="moz-txt-link-freetext" href="http://creativecommons.org/lic=enses/by-sa/2.5">http://creativecommons.org/licenses/by-sa/2.5</a></pre>
</body>
</html>
--------------152243332E6D96342F0F3A9F--
--GJwHXOGjqoQjDebM4c2OAqU8BBmNRKLNj--
--0kXJStgCg5JUsP8EErlcOHpH1RoIblqD8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"