GLSA 200506-22: sudo: Arbitrary command execution
Severity: | normal |
Title: | sudo: Arbitrary command execution |
Date: | 06/23/2005 |
Bugs: |
|
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 | Architecture(s) |
---|---|---|---|
app-admin/sudo | < 1.6.8_p9 | >= 1.6.8_p9 | All supported architectures |
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
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
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 2010 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.