Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200408-17 ] rsync: Potential information leakage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Moderator
Moderator


Joined: 13 Jun 2003
Posts: 4078
Location: Barcelona, Spain

PostPosted: Wed Aug 18, 2004 6:29 am    Post subject: [ GLSA 200408-17 ] rsync: Potential information leakage Reply with quote

Gentoo Linux Security Advisory

Title: rsync: Potential information leakage (GLSA 200408-17)
Severity: normal
Exploitable: remote
Date: August 17, 2004
Updated: May 22, 2006
Bug(s): #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: net-misc/rsync
Vulnerable: <= 2.6.0-r2
Unaffected: >= 2.6.0-r3
Architectures: All supported architectures


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.
Code:
# emerge sync
# emerge -pv ">=net-misc/rsync-2.6.0-r3"
# emerge ">=net-misc/rsync-2.6.0-r3"


References

rsync Advisory
rsync 2.6.2 announcement
CVE-2004-0792


Last edited by GLSA on Sat Jul 22, 2006 4:16 am; edited 4 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum