SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Generic)  >   Rsync Vendors:   rsync.samba.org
(Gentoo Issues Fix) Rsync Input Validation Error in sanitize_path() May Let Remote Users Read or Write Arbitrary Files
SecurityTracker Alert ID:  1010974
SecurityTracker URL:  http://securitytracker.com/id/1010974
CVE Reference:   CAN-2004-0792   (Links to External Site)
Updated:  Aug 18 2004
Original Entry Date:  Aug 18 2004
Impact:   Disclosure of system information, Disclosure of user information, Modification of system information, Modification of user information
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 2.6.2 and prior versions
Description:   A vulnerability was reported in rsync when running in daemon mode with chroot disabled. A remote user may be able read or write files on the target system that are located outside of the module's path.

A remote user can supply a specially crafted path to cause the path cleaning function to generate an absolute filename instead of a relative one. The flaw resides in the sanitize_path() function.

Impact:   A remote user can obtain or potentially write files on the target system with the privileges of the rsync daemon.
Solution:   Gentoo has released a fix and indicates that all users should update to the latest version of the rsync package.

# emerge sync

# emerge -pv ">=net-misc/rsync-2.6.0-r3"
# emerge ">=net-misc/rsync-2.6.0-r3"

Vendor URL:  rsync.samba.org/ (Links to External Site)
Cause:   Input validation error
Underlying OS:   Linux (Gentoo)

Message History:   This archive entry is a follow-up to the message listed below.
Aug 12 2004 Rsync Input Validation Error in sanitize_path() May Let Remote Users Read or Write Arbitrary Files



 Source Message Contents

Date:  Tue, 17 Aug 2004 22:29:13 +0000
Subject:  [gentoo-announce] [ GLSA 200408-17 ] rsync: Potential information leakage



--d4y118ZSaNGRZPSA
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200408-17
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: rsync: Potential information leakage
      Date: August 17, 2004
      Bugs: #60309
        ID: 200408-17

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

Synopsis
========

rsync fails to properly sanitize paths. This vulnerability could allow
the listing of arbitrary files and allow file overwriting outside
module's path on rsync server configurations that allow uploading.

Background
==========

rsync is a utility that provides fast incremental file transfers. It is
used to efficiently synchronize files between hosts and is used by
emerge to fetch Gentoo's Portage tree. rsyncd is the rsync daemon,
which listens to connections from rsync clients.

Affected packages
=================

    -------------------------------------------------------------------
     Package         /   Vulnerable   /                     Unaffected
    -------------------------------------------------------------------
  1  net-misc/rsync      <= 2.6.0-r2                       >= 2.6.0-r3

Description
===========

The paths sent by the rsync client are not checked thoroughly enough.
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.

Impact
======

When rsyncd is used without chroot ("use chroot = false" in the
rsyncd.conf file), this vulnerability could allow the listing of
arbitrary files outside module's path and allow file overwriting
outside module's path on rsync server configurations that allows
uploading. Both possibilities are exposed only when chroot option is
disabled.

Workaround
==========

You should never set the rsync daemon to run with "use chroot = false".

Resolution
==========

All users should update to the latest version of the rsync package.

    # emerge sync

    # emerge -pv ">=net-misc/rsync-2.6.0-r3"
    # emerge ">=net-misc/rsync-2.6.0-r3"

References
==========

  [ 1 ] rsync Advisory
        http://samba.org/rsync/#security_aug04
  [ 2 ] rsync 2.6.2 announcement
        http://lists.samba.org/archive/rsync-announce/2004/000017.html

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

    http://security.gentoo.org/glsa/glsa-200408-17.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2004 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/1.0

--d4y118ZSaNGRZPSA
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBIoa5JPpRNiftIEYRAiWGAJ4mLg09teruxhAKtGHCHFgCDA6o6gCeKEzE
zrs/dAP8flUDz2AdqVd2UiE=
=Fm22
-----END PGP SIGNATURE-----

--d4y118ZSaNGRZPSA--

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2013, SecurityGlobal.net LLC