REDHAT-BUG-2515386: High severity rsync rsync vulnerability
rsync 3.1.0 before 3.5.0 contains an access control bypass vulnerability that allows remote attackers to circumvent hosts deny rules by inducing DNS resolution failures during hostname-based access control evaluation. When a DNS lookup for a hostname-based deny rule fails, the daemon skips the rule rather than defaulting to a deny decision, enabling attackers who can trigger DNS failures to bypass module-level IP access controls and gain unauthorized access to restricted module file trees.
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
Which rsync deployments are exposed to this bypass?
The issue affects rsync daemon deployments using hostname-based hosts deny rules to protect modules. Systems that rely only on non-hostname-based controls are not identified as affected by the provided information.
What must an attacker be able to do to exploit the issue?
The attacker must be remote and able to induce DNS resolution failures while rsync evaluates a hostname-based deny rule. A failed lookup causes the daemon to skip that deny rule, potentially exposing restricted module file trees.
Are default rsync configurations known to be affected?
The provided information identifies exposure only where hostname-based hosts deny rules are configured. It does not state that a default rsync configuration includes such rules.
How can administrators determine whether they are at risk?
Review rsync daemon access-control configuration for hostname-based entries in hosts deny rules, especially for modules intended to restrict access by source host. Also identify installations running rsync versions from 3.1.0 before 3.5.0.