Description
Cleanuparr is a tool for automating the cleanup of unwanted or blocked files in Sonarr, Radarr, and supported download clients like qBittorrent. Prior to 2.9.10, TrustedNetworkAuthenticationHandler.ResolveClientIp parses the leftmost entry of the X-Forwarded-For header as the client IP. That entry is attacker-controlled — X-Forwarded-For is append-only, so the leftmost value is whatever the original HTTP client claimed. By sending a spoofed local IP in the header, an unauthenticated remote attacker passes the trusted-network check and is logged in as the Cleanuparr administrator. This vulnerability is fixed in 2.9.10.
Problem types
CWE-290: Authentication Bypass by Spoofing
CWE-348: Use of Less Trusted Source
Product status
References
github.com/...nuparr/security/advisories/GHSA-8q44-v65j-jc3q
github.com/...nuparr/security/advisories/GHSA-8q44-v65j-jc3q