rclone: FTP Command Arguments Permit CRLF Injection When Custom Encoding Preserves Newlines
Description
rclone is a command-line program to sync files and directories to and from different cloud storage providers. Prior to 1.75.0, a valid but nondefault FTP filename encoding in backend/ftp/ftp.go can restore raw CR/LF immediately before an attacker-controlled path is interpolated into the line-oriented FTP control channel, and github.com/jlaffaye/ftp formats the argument through textproto.Conn.Cmd without rejecting CR or LF, allowing a filename such as victim CRLF DELE other-secret CRLF NOOP to inject an independent authenticated FTP command when the victim copies or syncs to a more-privileged FTP destination. This issue is fixed in 1.75.0.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
1Patches
Vulnerability mechanics
References
3- github.com/rclone/rclone/commit/1df2b70753286c1dfe8366078cbedfdf7f96472cmitrex_refsource_MISC
- github.com/rclone/rclone/releases/tag/v1.75.0mitrex_refsource_MISC
- github.com/rclone/rclone/security/advisories/GHSA-8c48-q9wj-3w37mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.