REDHAT-BUG-2515416: High severity rsync rsync vulnerability
rsync before 3.5.0 contains an arbitrary file read vulnerability that allows attackers to read files accessible to the rsync daemon process by exploiting symlink following in input configuration file handling including --files-from, --password-file, and filter merge files. Attackers can place a symlink at a predictable --files-from or --password-file path, or supply a --files-from path that escapes the daemon module root, to read arbitrary files accessible to the rsync process.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rsyncto a version that resolves this vulnerability.Fixed in 3.5.0
Event History
Frequently Asked Questions
What access does an attacker need to exploit this?
An attacker needs a way to influence rsync input configuration file handling, such as placing a symlink at a predictable --files-from or --password-file path, or supplying a --files-from path. The issue can also be exploited when a supplied --files-from path escapes the daemon module root.
What data could be exposed?
An attacker may read arbitrary files that are accessible to the rsync daemon process. The exposure is limited by the filesystem permissions and access context of that process.
Which rsync input options are implicated?
The affected input configuration file handling includes --files-from, --password-file, and filter merge files. Symlink following in these paths is the underlying condition described.
How can I determine whether an installation is affected?
Installations running rsync before 3.5.0 are affected according to the provided information. Review rsync invocations and daemon configuration for use of --files-from, --password-file, or filter merge files, especially where users can influence paths or create symlinks.