CVE-2017-17434 Path traversal in n/a
Remote attackers can bypass access restrictions and read unauthorized files due to missing path sanitization in the rsync daemon.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-17434?
CVE-2017-17434 is a critical path traversal vulnerability in Debian Debian Linux, published on 6 Dec 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2017-17434?
It affects 2 products.
Products include Debian Debian Linux, Samba Rsync.
How do I fix CVE-2017-17434?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2017-17434 being exploited?
There is no known exploitation of CVE-2017-17434 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALPINE-CVE-2017-17434, DEBIAN-CVE-2017-17434, GHSA-mqj4-x9gm-m5r5, UBUNTU-CVE-2017-17434.