Lucene search

K
freebsdFreeBSD1A9F678D-48CA-11DF-85F8-000C29A67389
HistoryApr 09, 2010 - 12:00 a.m.

sudo -- Privilege escalation with sudoedit

2010-04-0900:00:00
vuxml.freebsd.org
22

0.0004 Low

EPSS

Percentile

9.7%

Todd Miller reports:

Sudo’s command matching routine expects actual commands to include
one or more slash (β€˜/’) characters. The flaw is that sudo’s path
resolution code did not add a β€œ./” prefix to commands found in the
current working directory. This creates an ambiguity between a
β€œsudoedit” command found in the cwd and the β€œsudoedit”
pseudo-command in the sudoers file. As a result, a user may be
able to run an arbitrary command named β€œsudoedit” in the current
working directory. For the attack to be successful, the PATH
environment variable must include β€œ.” and may not include any other
directory that contains a β€œsudoedit” command.

OSVersionArchitecturePackageVersionFilename
FreeBSDanynoarchsudo<Β 1.7.2.6UNKNOWN