Security restrictions bypass in Rsync - CVE-2017-17434
Published: December 11, 2017
Vulnerability identifier: #VU9609
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-17434
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to bypass security restrictions on the target system.
The weakness exists due to the daemon 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) and bypass intended access restrictions.
The weakness exists due to the daemon 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) and bypass intended access restrictions.
Affected software
Rsync
Debian Linux
Gentoo Linux
Arch Linux
Ubuntu
rsync (Alpine package)
Debian Linux
Gentoo Linux
Arch Linux
Ubuntu
rsync (Alpine package)
How to mitigate CVE-2017-17434
Install update from vendor's website.
rsync (Alpine package) - update to 3.1.2-r3