CVE-2014-2855
NoneCVSS
—
EPSS
4.2%
Published
Apr 23, 2014
CISA due date
—
Cloudanix analysis
A problem with checking user names lets attackers make the service run at full speed until it stops responding, affecting anyone who relies on that service.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Trivial
- Impact
- Denial Of Service
- Component
- Application
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The check_secret function enters an infinite loop when presented with a username absent from the secrets file, resulting in sustained CPU consumption and denial of service.
Why it matters to the business
Systems running the affected rsync service can become unresponsive under minimal attacker effort, disrupting file synchronization operations and requiring manual intervention to restore availability.
How an attack unfolds
An attacker connects to an rsync daemon and supplies an authentication request containing a username that does not exist in the configured secrets file, causing the check_secret routine to loop indefinitely and exhaust CPU resources.
How to fix it
Upgrade flashplugin-nonfree on Ubuntu 14.04 LTS to version 11.2.202.554ubuntu0.14.04.1 or later; for rsync deployments apply the corresponding vendor patch that resolves the check_secret logic error.
How to confirm the fix worked
Confirm the installed package version matches or exceeds the fixed release, then test authentication with a non-existent username to verify the loop condition no longer occurs.
Typical attack path
- Establish a network connection to the rsync service port
- Issue an authentication request containing a non-existent username
- Trigger the infinite loop inside check_secret
- Observe sustained high CPU usage and service unavailability
How to detect it
Review rsync daemon logs for repeated authentication attempts using usernames absent from the secrets file; correlate with sustained high CPU usage on the rsync process.
What your security team should do
- Apply the listed fixed package versions immediately on all exposed Ubuntu 14.04 systems
- Disable rsync daemon exposure to untrusted networks until patched
- Monitor EPSS trend for any increase indicating rising exploit interest
The record
The check_secret function in authenticate.c in rsync 3.1.0 and earlier allows remote attackers to cause a denial of service (infinite loop and CPU consumption) via a user name which does not exist in the secrets file.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | rsync | 0 | 3.1.0-3 |
| Debian:12 | rsync | 0 | 3.1.0-3 |
| Debian:13 | rsync | 0 | 3.1.0-3 |
| Mageia:4 | rsync | 0 | 3.1.0-4.3.mga4 |
| Ubuntu:14.04:LTS | rsync | 0 | 3.1.0-2ubuntu0.1 |
| openSUSE:Tumbleweed | rsync | 0 | 3.1.2-1.5 |
Related vulnerabilities
- 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-2017-17433 The recv_files function in receiver.c in the daemon in rsync 3.1.2, and 3.1.3-development… Also affects rsync
- 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