Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> Gentoo Local Security Checks >> [GLSA-200407-10] rsync: Directory traversal in rsync daemon


Vulnerability Assessment Details

[GLSA-200407-10] rsync: Directory traversal in rsync daemon

Vulnerability Assessment Summary
rsync: Directory traversal in rsync daemon

Detailed Explanation for this Vulnerability Assessment
The remote host is affected by the vulnerability described in GLSA-200407-10
(rsync: Directory traversal in rsync daemon)


When rsyncd is used without chroot ("use chroot = false" in the rsyncd.conf
file), the paths sent by the client are not checked thoroughly enough. If
rsyncd is used with read-write permissions ("read only = false"), this
vulnerability can be used to write files anywhere with the rights of the
rsyncd daemon. With default Gentoo installations, rsyncd runs in a chroot,
without write permissions and with the rights of the "nobody" user.

Impact

On affected configurations and if the rsync daemon runs under a privileged
user, a remote client can exploit this vulnerability to completely
compromise the host.

Workaround

You should never set the rsync daemon to run with "use chroot = false". If
for some reason you have to run rsyncd without a chroot, then you should
not set "read only = false".

References:
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0426


Solution:
All users should update to the latest version of the rsync package.
# emerge sync
# emerge -pv ">=net-misc/rsync-2.6.0-r2"
# emerge ">=net-misc/rsync-2.6.0-r2"


Network Security Threat Level: Medium


Networks Security ID:

Vulnerability Assessment Copyright: (C) 2005 Michel Arboi

Cables, Connectors

(2) 512MB Total (2X256MB) PC3200U 400MHZ DDR RAM Memory MT8VDDT3264AG-40BG4 Micr
$5.95
(2) 512MB Total (2X256MB) PC3200U 400MHZ DDR RAM Memory MT8VDDT3264AG-40BG4 Micr picture64GB Flash Drive USB Type C 3.1 USB-A Dual Plug Flash Memory HiSpeed Transfer
$50.69
64GB Flash Drive USB Type C 3.1 USB-A Dual Plug Flash Memory HiSpeed Transfer picture 5 Pack 32GB USB Flash Drive USB 2.0 Thumb Drives Jump Drive Memory Stick
$31.67
 5 Pack 32GB USB Flash Drive USB 2.0 Thumb Drives Jump Drive Memory Stick  picturePC-3200 1GX16 Random Access Memory MDGSP6G3I41X0B9E5E
$5.95
PC-3200 1GX16 Random Access Memory MDGSP6G3I41X0B9E5E picture


Discussions

No Discussions have been posted on this vulnerability.