FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

rsync -- multiple vulnerabilities

Affected packages
3.1.2 <= rsync <= 3.1.2_7

Details

VuXML ID 72fff788-e561-11e7-8097-0800271d4b9c
Discovery 2017-12-17
Entry 2017-12-20
Modified 2017-12-31

Jeriko One reports:

The receive_xattr function in xattrs.c in rsync 3.1.2 and 3.1.3-development does not check for a trailing '\0' character in an xattr name, which allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact by sending crafted data to the daemon.

The recv_files function in receiver.c in the daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, proceeds with certain file metadata updates before checking for a filename in the daemon_filter_list data structure, which allows remote attackers to bypass intended access restrictions.

The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also does not apply the sanitize_paths protection mechanism to pathnames found in "xname follows" strings (in the read_ndx_and_attrs function in rsync.c), which allows remote attackers to bypass intended access restrictions.

References

CVE Name CVE-2017-16548
CVE Name CVE-2017-17433
CVE Name CVE-2017-17434
FreeBSD PR ports/224477
URL https://www.debian.org/security/2017/dsa-4068