Description
Rclone is a command-line program to sync files and directories to and from different cloud storage providers. Starting in version 1.48.0 and prior to version 1.73.5, the RC endpoint `operations/fsinfo` is exposed without `AuthRequired: true` and accepts attacker-controlled `fs` input. Because `rc.GetFs(…)` supports inline backend definitions, an unauthenticated attacker can instantiate an attacker-controlled backend on demand. For the WebDAV backend, `bearer_token_command` is executed during backend initialization, making single-request unauthenticated local command execution possible on reachable RC deployments without global HTTP authentication. Version 1.73.5 patches the issue.
Problem types
CWE-78: Improper Neutralization of Special Elements used in an OS Command (‘OS Command Injection’)
CWE-306: Missing Authentication for Critical Function
Product status
References
github.com/…rclone/security/advisories/GHSA-jfwf-28xr-xw6q
github.com/…87782191f9e1ffcaafa82/backend/webdav/webdav.go
github.com/…6164a87782191f9e1ffcaafa82/fs/operations/rc.go
github.com/…37fd86164a87782191f9e1ffcaafa82/fs/rc/cache.go
