Users login

Create an account »

JOIN XATRIX

Users login

Home » Hacking News » Connectiva - CLA-2002:451 - sudo - root privileges

Connectiva - CLA-2002:451 - sudo - root privileges

by Nikola Strahija on January 16th, 2002 Sebastian Krahmer from SuSe found a vulnerability in the sudo package which could be used by a local attacker to obtain root privileges. Versions prior to and including 1.6.3p7 remove a few potentially dangerous environment variables prior to executing a command as root, but other variables could be abused and used to obtain root privileges.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

---------------------------------------------------------------------------
CONECTIVA LINUX SECURITY ANNOUNCEMENT
---------------------------------------------------------------------------

PACKAGE : sudo
SUMMARY : Local vulnerability allows an attacker to obtain root privileges
DATE : 2002-01-15 17:21:00
ID : CLA-2002:451
RELEVANT
RELEASES : 5.0, prg graficos, ecommerce, 5.1, 6.0, 7.0

--------------------------------------------------------------------------

DESCRIPTION
"sudo" is an utility designed to be used by administrators who wish
to delegate administrative privileges to regular users for very
specific commands, and without giving away the root password.

Sebastian Krahmer from SuSe found a vulnerability in the sudo package
which could be used by a local attacker to obtain root privileges.
Versions prior to and including 1.6.3p7 remove a few potentially
dangerous environment variables prior to executing a command as root,
but other variables could be abused and used to obtain root
privileges. One such scenario is when an unauthorized users attempts
to execute sudo. This will cause sudo to execute a mailer to send a
notice to the administrator, which is executed as root and with some
environment variables specified by the attacker. This has been
succesfully exploited with the postfix mailer in a default
configuration, but other mailers and programs could be affected too.

The author has released version 1.6.4 to address this problem. This
version runs the mail program with a clean environment.


SOLUTION
It is recommended that all sudo users apply the update.


REFERENCES
1. http://www.securityfocus.com/archive/1/250168
2. http://www.sudo.ws/pipermail/sudo-announce/2002-January/000015.html


DIRECT DOWNLOAD LINKS TO THE UPDATED PACKAGES
ftp://atualizacoes.conectiva.com.br/5.0/SRPMS/sudo-1.6.4p1-1U50_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/5.0/i386/sudo-1.6.4p1-1U50_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/5.0/i386/sudo-doc-1.6.4p1-1U50_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/5.1/SRPMS/sudo-1.6.4p1-1U51_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/5.1/i386/sudo-1.6.4p1-1U51_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/5.1/i386/sudo-doc-1.6.4p1-1U51_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/6.0/SRPMS/sudo-1.6.4p1-1U60_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/6.0/RPMS/sudo-1.6.4p1-1U60_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/6.0/RPMS/sudo-doc-1.6.4p1-1U60_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/7.0/SRPMS/sudo-1.6.4p1-1U70_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/7.0/RPMS/sudo-1.6.4p1-1U70_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/7.0/RPMS/sudo-doc-1.6.4p1-1U70_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/ferramentas/ecommerce/SRPMS/sudo-1.6.4p1-1U50_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/ferramentas/ecommerce/i386/sudo-1.6.4p1-1U50_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/ferramentas/ecommerce/i386/sudo-doc-1.6.4p1-1U50_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/ferramentas/graficas/SRPMS/sudo-1.6.4p1-1U50_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/ferramentas/graficas/i386/sudo-1.6.4p1-1U50_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/ferramentas/graficas/i386/sudo-doc-1.6.4p1-1U50_1cl.i386.rpm


ADDITIONAL INSTRUCTIONS
Users of Conectiva Linux version 6.0 or higher may use apt to perform
upgrades of RPM packages:
- add the following line to /etc/apt/sources.list if it is not there yet
(you may also use linuxconf to do this):

rpm [cncbr] ftp://atualizacoes.conectiva.com.br 6.0/conectiva updates

(replace 6.0 with the correct version number if you are not running CL6.0)

- run: apt-get update
- after that, execute: apt-get upgrade

Detailed instructions reagarding the use of apt and upgrade examples
can be found at http://distro.conectiva.com.br/atualizacoes/#apt?idioma=en


--------------------------------------------------------------------------
All packages are signed with Conectiva's GPG key. The key and instructions
on how to import it can be found at
http://distro.conectiva.com.br/seguranca/chave/?idioma=en
Instructions on how to check the signatures of the RPM packages can be
found at http://distro.conectiva.com.br/seguranca/politica/?idioma=en
--------------------------------------------------------------------------
All our advisories and generic update instructions can be viewed at
http://distro.conectiva.com.br/atualizacoes/?idioma=en

--------------------------------------------------------------------------
subscribe: [email protected]
unsubscribe: [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8RIfr42jd0JmAcZARAkYtAKDs9hLi4Q5kNC2lW1ZGRGI92cacngCfRvQn
sUvdktGw9Wy1u61oBTeMfvs=
=b0H3
-----END PGP SIGNATURE-----


Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.

Contact

Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »