GLSA-200408-17 : rsync: Potential information leakage

medium Nessus Plugin ID 14573

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

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'

See Also

https://rsync.samba.org/#security_aug04

https://lists.samba.org/archive/rsync-announce/2004/000017.html

https://security.gentoo.org/glsa/200408-17

Plugin Details

Severity: Medium

ID: 14573

File Name: gentoo_GLSA-200408-17.nasl

Version: 1.18

Type: local

Published: 8/30/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.0

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:rsync, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 8/17/2004

Reference Information

CVE: CVE-2004-0792

GLSA: 200408-17