Overview
Original source dataThe mod_copy module in ProFTPD 1.3.5 allows remote attackers to read and write to arbitrary files via the site cpfr and site cpto commands.
Affected products and scope
The affected software is ProFTPD, specifically the release identified in this record, when the mod_copy module is in use. Distribution packages are also listed as affected for Fedora, Debian, openSUSE Tumbleweed and SUSE Linux Enterprise Server. A ProFTPD installation that does not load mod_copy does not expose this command surface, and the record does not list any other ProFTPD release as affected.
Technical details
The weakness is in mod_copy, a ProFTPD module that implements server-side copying. A client sends SITE CPFR with a source path, then SITE CPTO with a destination path, and the server performs the copy itself. The module does not adequately restrict those paths, so the source and destination are effectively attacker-chosen rather than limited to the authenticated user's FTP area, which is what turns a convenience feature into arbitrary file read and write on the host. The record does not describe the specific check that fails, and public detail on the exact code path is limited. No weakness class is assigned in the record.
Exploitability
The attack is remote over the network and, per the record's scoring, needs no privileges and no user interaction, with low complexity. Exploitation requires the mod_copy module to be present and reachable through the FTP service. Public exploit code exists for this issue, and it is listed in CISA's Known Exploited Vulnerabilities catalog, so scanning and attempts should be assumed rather than considered hypothetical.
Technical impact
An attacker gains the ability to read any file the ProFTPD process can read and to create or overwrite any file it can write, using only FTP commands. That is a file-system primitive, not code execution on its own: what an attacker can achieve beyond it depends on which files are reachable and what else on the host consumes them. The record itself describes read and write of arbitrary files and stops there.
Business impact
Any organisation exposing a ProFTPD server with mod_copy loaded is handing an unauthenticated stranger the ability to read and write files as the FTP service account. On the read side that means configuration files, stored credentials, customer uploads and anything else that account can see. On the write side it means an attacker can place files in directories the service owns, which is often enough to change how the server or a neighbouring application behaves. The consequences are data exposure and loss of integrity of files you believed were under your control, with the notification and contractual obligations that follow from a confirmed breach. Teams that run FTP for partner file exchange, batch transfers or legacy integrations should care most, since those servers are frequently internet-facing and rarely reviewed.
Remediation
Move to a ProFTPD release where mod_copy confines copy operations to the user's permitted area; the record carries no explicit vendor solution or patch statement, so confirm the fixed release with your distribution or the ProFTPD project before relying on it. Where the module is not needed, do not load it, which removes the SITE CPFR and SITE CPTO commands from the server entirely. Restrict who can reach the FTP service at the network level so that only expected partners and internal systems can open a session.
Detection
FTP command logs are the primary signal: look for SITE CPFR and SITE CPTO, and especially for arguments containing paths outside the directories that account normally uses, absolute paths, parent-directory sequences, or paths into system and configuration locations. Review which accounts and source addresses issued those commands and when. On the host, file integrity monitoring over the FTP root and over directories the FTP service account can write will catch files appearing or changing outside a transfer window, and process or file activity by the FTP service account touching unrelated parts of the file system is worth investigating.