LinuxSecurity.com
Share your story
The central voice for Linux and Open Source security news
Home News Topics Advisories HOWTOs Features Newsletters About Register

Welcome!
Sign up!
EnGarde Community
Login
Polls
What is the most important Linux security technology?
 
Advisories
Community
Linux Events
Linux User Groups
Link to Us
Security Center
Book Reviews
Security Dictionary
Security Tips
SELinux
White Papers
Featured Blogs
All About Linux
DanWalsh LiveJournal
Securitydistro
Latest Newsletters
Linux Security Week: July 28th, 2014
Linux Advisory Watch: July 25th, 2014
Subscribe
LinuxSecurity Newsletters
E-mail:
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

  
Debian: New sudo packages fix privilege escalation Print E-mail
User Rating:      How can I rate this item?
Posted by Benjamin D. Thomas   
Debian It has been discovered that sudo, a privileged program, that provides limited super user privileges to specific users, passes several environment variables to the program that runs with elevated privileges. In the case of include paths (e.g. for Perl, Python, Ruby or other scripting languages) this can cause arbitrary code to be executed as privileged user if the attacker points to a manipulated version of a system library.
- --------------------------------------------------------------------------
Debian Security Advisory DSA 946-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
January 20th, 2006                        http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : sudo
Vulnerability  : missing input sanitising
Problem type   : local
Debian-specific: no
CVE IDs        : CVE-2005-4158 CVE-2006-0151
Debian Bug     : 342948

It has been discovered that sudo, a privileged program, that provides
limited super user privileges to specific users, passes several
environment variables to the program that runs with elevated
privileges.  In the case of include paths (e.g. for Perl, Python, Ruby
or other scripting languages) this can cause arbitrary code to be
executed as privileged user if the attacker points to a manipulated
version of a system library.

This update alters the former behaviour of sudo and limits the number
of supported environment variables to LC_*, LANG, LANGUAGE and TERM.
Additional variables are only passed through when set as env_check in
/etc/sudoers, which might be required for some scripts to continue to
work.

For the old stable distribution (woody) this problem has been fixed in
version 1.6.6-1.5.

For the stable distribution (sarge) this problem has been fixed in
version 1.6.8p7-1.3.

For the unstable distribution (sid) this problem has been fixed in
version 1.6.8p12-1.

We recommend that you upgrade your sudo package.  For unstable
"Defaults = env_reset" need to be addeed to /etc/sudoers manually.


Upgrade Instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 3.0 alias woody
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5.dsc
      Size/MD5 checksum:      587 5283a27497c0b72d5b6e76f9b667e01e
    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5.diff.gz
      Size/MD5 checksum:    12656 f222453e31614c7acfc5f2dacfa50b7b
    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6.orig.tar.gz
      Size/MD5 checksum:   333074 4da4bf6cf31634cc7a17ec3b69fdc333

  Alpha architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_alpha.deb
      Size/MD5 checksum:   151566 0962195516363a6c70b74f41891df48a

  ARM architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_arm.deb
      Size/MD5 checksum:   141552 b302ac8539e200fa462b36486496c4d3

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_i386.deb
      Size/MD5 checksum:   135038 6a4e4f7c16f10019bed84e62ba8ec57f

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_ia64.deb
      Size/MD5 checksum:   172514 5ddbbf5863765b4cea3f385e0f0fe47a

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_hppa.deb
      Size/MD5 checksum:   147622 b285216580ae99baf70a03dfe42281f4

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_m68k.deb
      Size/MD5 checksum:   132792 08c2595bb7daf654dbbfd8714f1e1d3e

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_mips.deb
      Size/MD5 checksum:   144486 c58264be61e612b1e5bc79d20c956cfb

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_mipsel.deb
      Size/MD5 checksum:   144358 e84c5ae3472ea691625e5e8884873891

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_powerpc.deb
      Size/MD5 checksum:   140702 29508f07787ae9ae35d8d9ad631a3201

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_s390.deb
      Size/MD5 checksum:   140338 f4872d03a171887c001f93ab86ef79b2

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_sparc.deb
      Size/MD5 checksum:   143150 d80fb2c644c9171a19834711abde3df1


Debian GNU/Linux 3.1 alias sarge
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3.dsc
      Size/MD5 checksum:      571 f913c6cb8244c9d003518129d88295e8
    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3.diff.gz
      Size/MD5 checksum:    20818 b14d0f907459fa845431348b56a23649
    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7.orig.tar.gz
      Size/MD5 checksum:   585302 ad65d24f20c736597360d242515e412c

  Alpha architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_alpha.deb
      Size/MD5 checksum:   176530 646d6d0833893f6a27a238c4c5be553b

  AMD64 architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_amd64.deb
      Size/MD5 checksum:   170024 b83d86e9bf071815692c463eacda677c

  ARM architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_arm.deb
      Size/MD5 checksum:   163560 95555bc3a9c1f49580fe23af83519fca

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_i386.deb
      Size/MD5 checksum:   159630 f0548efecaa7216ff89c9af09c43b01f

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_ia64.deb
      Size/MD5 checksum:   195026 2b209260c170ef372bfb7b5b7df4d8a3

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_hppa.deb
      Size/MD5 checksum:   170398 b94e896f58fe39ad4a4cc2d3e93ca667

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_m68k.deb
      Size/MD5 checksum:   154978 8d963b31019230fbf94225c5af7e894d

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_mips.deb
      Size/MD5 checksum:   168416 36e928d024d13ad2cccab3113b1cdf6e

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_mipsel.deb
      Size/MD5 checksum:   168322 5151ab7efe69f880b47c2ee5075707f4

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_powerpc.deb
      Size/MD5 checksum:   165084 ce88c7f407b2825e221ae5da015bcbb9

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_s390.deb
      Size/MD5 checksum:   168052 42f00b514e932afd4027b36b2c1bf64e

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_sparc.deb
      Size/MD5 checksum:   162408 bb253571ca9c46d8c8675869e52c68b0


  These files will probably be moved into the stable distribution on
  its next update.

- ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
 
< Prev   Next >
    
Partner

 

Latest Features
Peter Smith Releases Linux Network Security Online
Securing a Linux Web Server
Password guessing with Medusa 2.0
Password guessing as an attack vector
Squid and Digest Authentication
Squid and Basic Authentication
Demystifying the Chinese Hacking Industry: Earning 6 Million a Night
Free Online security course (LearnSIA) - A Call for Help
What You Need to Know About Linux Rootkits
Review: A Practical Guide to Fedora and Red Hat Enterprise Linux - Fifth Edition
Weekend Edition
Four fake Google haxbots hit YOUR WEBSITE every day
Mozilla fixes CRITICAL security holes in Firefox, urges v31 upgrade
The Barnaby Jack Few Knew: Celebrated Hacker Saw Spotlight as 'Necessary Evil'
What I Learned from Edward Snowden at the Hacker Conference
Partner Sponsor

Community | HOWTOs | Blogs | Features | Book Reviews | Networking
 Security Projects |  Latest News |  Newsletters |  SELinux |  Privacy |  Home
 Hardening |   About Us |   Advertise |   Legal Notice |   RSS |   Guardian Digital
(c)Copyright 2014 Guardian Digital, Inc. All rights reserved.