Rclone
rclone `serve restic --private-repos` authorization bypass: `..` in the URL path lets an authenticated user read, overwrite and delete other users' repositories
Rclone is a command-line program to sync files and directories to and from different cloud storage providers. Prior to 1.74.4, rclone serve restic --private-repos enforces authorization using the routed user path segment while building the backend object key from the raw uncleaned URL path, allowing an authenticated user to include .. in a request such as //..//config and read, overwrite, or delete another user's private repository on backends that clean path components. This issue is fixed in version 1.74.4.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.74.4
Fixed in 1.74.4
Mitigation
Upgrade rclone to 1.74.4 or later.
References
- Vendor advisory github.com/rclone/rclone/security/advisories/G…
- Patch github.com/rclone/rclone/commit/015fd0eba1cb13…
- Patch github.com/rclone/rclone/commit/dade21c1616035…
1 more
- Release notes github.com/rclone/rclone/releases/tag/v1.74.4
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.