Debian: New sudo packages fix privilege escalation

    Date27 Jan 2006
    CategoryDebian
    3379
    Posted ByJoe Shakespeare
    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                     This email address is being protected from spambots. You need JavaScript enabled to view it.
    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: This email address is being protected from spambots. You need JavaScript enabled to view it.
    
    You are not authorised to post comments.

    Comments powered by CComment

    LinuxSecurity Poll

    What do you think of the articles on LinuxSecurity?

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 3 answer(s).
    /main-polls/24-what-do-you-think-of-the-quality-of-the-articles-on-linuxsecurity?task=poll.vote&format=json
    24
    radio
    [{"id":"87","title":"Excellent, don't change a thing!","votes":"5","type":"x","order":"1","pct":55.56,"resources":[]},{"id":"88","title":"Should be more technical","votes":"3","type":"x","order":"2","pct":33.33,"resources":[]},{"id":"89","title":"Should include more HOWTOs","votes":"1","type":"x","order":"3","pct":11.11,"resources":[]}]["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"]["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"]350
    bottom200

    Advisories

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.