From: Sune Kloppenborg Jeppesen <jaervosz@gentoo.org.>
To: [email protected]Subject: [ GLSA 200506-22 ] sudo: Arbitrary command execution
Date: Thu, 23 Jun 2005 09:26:51 +0200
User-Agent: KMail/1.8.1
Cc: [email protected], [email protected],
[email protected]
Organization: Gentoo Linux Security Team
X-GPG-Key: http://home.coming.dk/skj.pub.gpg
MIME-Version: 1.0
Content-Type: multipart/signed;
boundary="nextPart1223705.GOGVqtSR0K";
protocol="application/pgp-signature";
micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200506230926.56802.jaervosz@gentoo.org.>
X-Virus-Scanned: antivirus-gw at tyumen.ru
--nextPart1223705.GOGVqtSR0K
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200506-22
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: sudo: Arbitrary command execution
Date: June 23, 2005
Bugs: #96618
ID: 200506-22
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
A vulnerability in sudo may allow local users to elevate privileges.
Background
==========
sudo allows a system administrator to give users the ability to run
commands as other users.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 app-admin/sudo < 1.6.8_p9 >= 1.6.8_p9
Description
===========
The sudoers file is used to define the actions sudo users are permitted
to perform. Charles Morris discovered that a specific layout of the
sudoers file could cause the results of an internal check to be
clobbered, leaving sudo vulnerable to a race condition.
Impact
======
Successful exploitation would permit a local sudo user to execute
arbitrary commands as another user.
Workaround
==========
Reorder the sudoers file using the visudo utility to ensure the 'ALL'
pseudo-command precedes other command definitions.
Resolution
==========
All sudo users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-admin/sudo-1.6.8_p9"
References
==========
[ 1 ] Sudo Announcement
http://www.sudo.ws/sudo/alerts/path_race.html
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200506-22.xml
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
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=======
Copyright 2005 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.0
--nextPart1223705.GOGVqtSR0K
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQBCumRAzKC5hMHO6rkRAg8LAJ0c21Q9YVRrG2YGgB5wjzqOvpOy0gCeLhd0
U9oKTFFugXzfSvOhdmJTRWM=
=uGBN
-----END PGP SIGNATURE-----
--nextPart1223705.GOGVqtSR0K--