GLSA-200408-17 : rsync: Potential information leakage

This script is Copyright (C) 2004-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200408-17
(rsync: Potential information leakage)

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'.

See also :

http://samba.org/rsync/#security_aug04
http://lists.samba.org/archive/rsync-announce/2004/000017.html
http://www.gentoo.org/security/en/glsa/glsa-200408-17.xml

Solution :

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'

Risk factor :

Medium / CVSS Base Score : 6.4
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 14573 (gentoo_GLSA-200408-17.nasl)

Bugtraq ID:

CVE ID: CVE-2004-0792