sudo: Privilege escalation
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 201006-09 / sudo |
| Release Date |
June 01, 2010 |
| Latest Revision |
June 01, 2010: 01 |
| Impact |
high |
| Exploitable |
local |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| app-admin/sudo |
<
1.7.2_p6 |
>=
1.7.2_p6 |
All supported architectures
|
Related bugreports:
#321697
Synopsis
A flaw in sudo's -e option may allow local attackers to execute arbitrary
commands.
2.
Impact Information
Background
sudo allows a system administrator to give users the ability to run
commands as other users.
Description
The command matching functionality does not properly handle when a file
in the current working directory has the same name as a pseudo-command
in the sudoers file and the PATH contains an entry for ".".
Impact
A local attacker with the permission to run sudoedit could, under
certain circumstances, execute arbitrary commands as whichever user he
has permission to run sudoedit as, typically root.
3.
Resolution Information
Workaround
There is no known workaround at this time.
Resolution
All sudo users should upgrade to the latest version:
Code Listing 3.1: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-admin/sudo-1.7.2_p6"
|
4.
References
|