CVE-2017-17433
Low · 3.7CVSS
3.7
EPSS
1.8%
Published
Dec 6, 2017
CISA due date
—
Cloudanix analysis
A problem in older file transfer software could let outsiders get around file access rules, but updating the monitoring tools removes the issue.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- High
- Impact
- Data Tampering
- Component
- Application
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The recv_files function in rsync performs file metadata updates prior to validating the filename against daemon_filter_list, enabling remote bypass of access restrictions.
Why it matters to the business
Organizations using affected rsync-dependent monitoring exporters face limited risk of unauthorized file metadata manipulation due to the flaw's age, low exploit probability, and absence from known exploitation lists.
How an attack unfolds
An attacker connects to a vulnerable rsync daemon and crafts a file transfer request that triggers metadata processing before the daemon_filter_list check occurs, bypassing intended access controls.
How to fix it
Upgrade prometheus-blackbox-exporter (Chainguard), prometheus-blackbox-exporter (Wolfi), prometheus-blackbox-exporter-compat (Chainguard), and prometheus-blackbox-exporter-compat (Wolfi) to version 0.25.0-r5 or later; ensure underlying rsync is also patched.
How to confirm the fix worked
Confirm package versions match or exceed 0.25.0-r5, review daemon_filter_list configurations, and test access controls with crafted transfer attempts.
Typical attack path
- Establish connection to rsync daemon over network
- Send crafted file transfer request with specific metadata
- Trigger premature metadata update before filter validation
- Access or modify files outside intended restrictions
How to detect it
Review rsync daemon logs for unexpected metadata operations or connections from untrusted sources; correlate with filter list bypass attempts.
What your security team should do
- Apply the specified package upgrades immediately across all environments
- Audit rsync daemon configurations for proper filter list usage
- Monitor for any legacy rsync deployments and replace where possible
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Alpine:v3.10 | rsync | 0 | 3.1.2-r7 |
| Alpine:v3.11 | rsync | 0 | 3.1.2-r7 |
| Alpine:v3.12 | rsync | 0 | 3.1.2-r7 |
| Alpine:v3.13 | rsync | 0 | 3.1.2-r7 |
| Alpine:v3.14 | rsync | 0 | 3.1.2-r7 |
| Alpine:v3.15 | rsync | 0 | 3.1.2-r7 |
| Alpine:v3.16 | rsync | 0 | 3.1.2-r7 |
| Alpine:v3.17 | rsync | 0 | 3.1.2-r7 |
| Alpine:v3.18 | rsync | 0 | 3.1.2-r7 |
| Alpine:v3.19 | rsync | 0 | 3.1.2-r7 |
| Alpine:v3.20 | rsync | 0 | 3.1.2-r7 |
| Alpine:v3.21 | rsync | 0 | 3.1.2-r7 |
| Alpine:v3.22 | rsync | 0 | 3.1.2-r7 |
| Alpine:v3.4 | rsync | 0 | 3.1.2-r3 |
| Alpine:v3.5 | rsync | 0 | 3.1.2-r3 |
| Alpine:v3.6 | rsync | 0 | 3.1.2-r6 |
| Alpine:v3.7 | rsync | 0 | 3.1.2-r7 |
| Alpine:v3.8 | rsync | 0 | 3.1.2-r7 |
| Alpine:v3.9 | rsync | 0 | 3.1.2-r7 |
| Debian:11 | rsync | 0 | 3.1.2-2.1 |
| Debian:12 | rsync | 0 | 3.1.2-2.1 |
| Debian:13 | rsync | 0 | 3.1.2-2.1 |
| Debian:14 | rsync | 0 | 3.1.2-2.1 |
| Debian:7 | rsync | 0 | 3.0.9-4+deb7u1 |
| Debian:8 | rsync | 0 | 3.1.1-3+deb8u1 |
| Debian:9 | rsync | 0 | 3.1.2-1+deb9u1 |
| Mageia:5 | rsync | 0 | 3.1.1-5.2.mga5 |
| Mageia:6 | rsync | 0 | 3.1.2-1.1.mga6 |
| SUSE:Linux Enterprise Desktop 12 SP2 | rsync | 0 | 3.1.0-13.7.1 |
| SUSE:Linux Enterprise Desktop 12 SP3 | rsync | 0 | 3.1.0-13.7.1 |
| SUSE:Linux Enterprise Server 11 SP4 | rsync | 0 | 3.0.4-2.53.3.1 |
| SUSE:Linux Enterprise Server 12 SP2 | rsync | 0 | 3.1.0-13.7.1 |
| SUSE:Linux Enterprise Server 12 SP3 | rsync | 0 | 3.1.0-13.7.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | rsync | 0 | 3.1.0-13.7.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | rsync | 0 | 3.0.4-2.53.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | rsync | 0 | 3.1.0-13.7.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | rsync | 0 | 3.1.0-13.7.1 |
| Ubuntu:14.04:LTS | rsync | 0 | 3.1.0-2ubuntu0.3 |
| Ubuntu:16.04:LTS | rsync | 0 | 3.1.1-3ubuntu1.1 |
Related vulnerabilities
- CVE-2017-16548 The receive_xattr function in xattrs.c in rsync 3.1.2 and 3.1.3-development does not… Also affects rsync
- CVE-2024-12084 A heap-based buffer overflow flaw was found in the rsync daemon. Also affects rsync
- CVE-2024-12086 A flaw was found in rsync. Also affects rsync
- CVE-2024-12085 A flaw was found in rsync which could be triggered when rsync compares file checksums. Also affects rsync
- CVE-2024-12087 A path traversal vulnerability exists in rsync. Also affects rsync
- CVE-2024-12088 A flaw was found in rsync. Also affects rsync
- CVE-2024-12747 A flaw was found in rsync. Also affects rsync
- CVE-2016-9840 inftrees.c in zlib 1.2.8 might allow context-dependent attackers to have unspecified… Also affects rsync