Vigil@nce: sudo, privilege elevation
March 2010 by Vigil@nce
A local attacker, allowed to execute sudoedit, can execute commands with root privileges.
Consequences: administrator access/rights
Provenance: user shell
Means of attack: 1 attack
Ability of attacker: technician (2/4)
Confidence: confirmed by the editor (5/5)
Diffusion of the vulnerable configuration: high (3/3)
Creation date: 23/02/2010
Mandriva Enterprise Server
Red Hat Enterprise Linux
Unix - plateform
DESCRIPTION OF THE VULNERABILITY
The sudo program is used to allow users to execute some commands with privileges of other users. For example, to allow the edition of a file with root privileges: user ALL = sudoedit filename The sudoedit command does not have a full path (/bin/sudoedit), because it is a pseudo-command, which is interpreted especially.
However, since sudo version 1.6.9, if a real command has this name, this rule is also applied. This real command is thus run with root privileges.
A local attacker, allowed to execute sudoedit, can therefore execute commands with root privileges.
Identifiers: CVE-2010-0426, MDVSA-2010:049, RHSA-2010:0122-01,