The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


[ GLSA 200408-17 ] rsync: Potential information leakage


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>
Date: Tue, 17 Aug 2004 13:13:20 +0000
From: Kurt Lieber <[email protected]>
To: [email protected]
Subject: [ GLSA 200408-17 ] rsync: Potential information leakage
Cc: [email protected], [email protected],
 [email protected]


--4R8gOh7bVvgTUkih
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
[email protected] 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

--4R8gOh7bVvgTUkih
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFBIgRwJPpRNiftIEYRAl2FAJ0c5ckZxXTWyzC3ROHb7SA5VzyGmgCeJ/9t
pIKHm9aBranYcFl7J6ejVi8=
=eg5u
-----END PGP SIGNATURE-----

--4R8gOh7bVvgTUkih--

<< Previous INDEX Search src Set bookmark Go to bookmark Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру