Debian: rsync Insufficient path sanitation

    Date20 Aug 2004
    CategoryDebian
    2292
    Posted ByLinuxSecurity Advisories
    The rsync developers have discoverd a security related problem in rsync which offers an attacker to access files outside of the defined directory.
    
    Debian Security Advisory DSA 538-1                     This email address is being protected from spambots. You need JavaScript enabled to view it. 
    http://www.debian.org/security/                             Martin Schulze
    August 17th, 2004                        http://www.debian.org/security/faq
    - --------------------------------------------------------------------------
    
    Package        : rsync
    Vulnerability  : unsanitised input processing
    Problem-Type   : remote
    Debian-specific: no
    Debian Bug     : 265662
    
    The rsync developers have discoverd a security related problem in
    rsync, a fast remote file copy program, which offers an attacker to
    access files outside of the defined directory.  To exploit this
    path-sanitizing bug, rsync has to run in daemon mode with the chroot
    option being disabled.  It does not affect the normal send/receive
    filenames that specify what files should be transferred.  It does
    affect certain option paths that cause auxilliary files to be read or
    written.
    
    For the stable distribution (woody) this problem has been fixed in
    version 2.5.5-0.6.
    
    For the unstable distribution (sid) this problem has been fixed in
    version 2.6.2-3.
    
    We recommend that you upgrade your rsync package.
    
    
    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/r/rsync/rsync_2.5.5-0.6.dsc
          Size/MD5 checksum:      545 60b1b6d156e9c4b15dedb5e3ba349663
         http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.6.diff.gz
          Size/MD5 checksum:    92298 6395b8286985ee8ede4776559e0ed40d
         http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5.orig.tar.gz
          Size/MD5 checksum:   415156 39d76c62684750842d3884a77c2e5466
    
      Alpha architecture:
    
         http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.6_alpha.deb
          Size/MD5 checksum:   227788 ec1bca89641b750ddead8742081b65cc
    
      ARM architecture:
    
         http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.6_arm.deb
          Size/MD5 checksum:   206666 de1db03b81205c9feaed2d2cdd76ffa3
    
      Intel IA-32 architecture:
    
         http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.6_i386.deb
          Size/MD5 checksum:   195674 1a4feab6c9d78cd989fc5d81ab0c70c8
    
      Intel IA-64 architecture:
    
         http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.6_ia64.deb
          Size/MD5 checksum:   255750 e16adf1c9a6966f552bf86a64262704a
    
      HP Precision architecture:
    
         http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.6_hppa.deb
          Size/MD5 checksum:   214486 4b17646ebb593a5e27b0ae544507e394
    
      Motorola 680x0 architecture:
    
         http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.6_m68k.deb
          Size/MD5 checksum:   190084 b7f279354d957c4103cfc3d34c2c5004
    
      Big endian MIPS architecture:
    
         http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.6_mips.deb
          Size/MD5 checksum:   216544 81c95742270b2c5088f0181c9c7c0cf7
    
      Little endian MIPS architecture:
    
         http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.6_mipsel.deb
          Size/MD5 checksum:   216842 256f68375625ba0e6a086d86400c8d15
    
      PowerPC architecture:
    
         http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.6_powerpc.deb
          Size/MD5 checksum:   205916 b93237ebfe00f51d63229b0bf16b8213
    
      IBM S/390 architecture:
    
         http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.6_s390.deb
          Size/MD5 checksum:   205162 ebd5740ab4413a02f903a99192fac76f
    
      Sun Sparc architecture:
    
         http://security.debian.org/pool/updates/main/r/rsync/rsync_2.5.5-0.6_sparc.deb
          Size/MD5 checksum:   205644 9e35d58af61c28e1b70f456c40d44436
    
    
      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.
    Package info: `apt-cache show ' and  http://packages.debian.org/
    
    
    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":"65","type":"x","order":"1","pct":57.52,"resources":[]},{"id":"88","title":"Should be more technical","votes":"15","type":"x","order":"2","pct":13.27,"resources":[]},{"id":"89","title":"Should include more HOWTOs","votes":"33","type":"x","order":"3","pct":29.2,"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

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