GLSA Advocate

Joined: 12 May 2004 Posts: 2663
|
Posted: Wed Jun 02, 2010 12:26 am Post subject: [ GLSA 201006-09 ] sudo: Privilege escalation |
|
|
Gentoo Linux Security Advisory
Title: sudo: Privilege escalation (GLSA 201006-09)
Severity: high
Exploitable: local
Date: June 01, 2010
Bug(s): #321697
ID: 201006-09
Synopsis
A flaw in sudo's -e option may allow local attackers to execute arbitrary
commands.
Background
sudo allows a system administrator to give users the ability to run
commands as other users.
Affected Packages
Package: app-admin/sudo
Vulnerable: < 1.7.2_p6
Unaffected: >= 1.7.2_p6
Architectures: All supported architectures
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.
Workaround
There is no known workaround at this time.
Resolution
All sudo users should upgrade to the latest version:
Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=app-admin/sudo-1.7.2_p6" |
References
CVE-2010-1163
Last edited by GLSA on Sat Feb 04, 2012 4:28 am; edited 2 times in total |
|