CVE-2015-3306: ProFTPD mod_copy lets an unauthenticated client copy files with SITE CPFR and CPTO

ByLinuxtastic

November 29, 2026 #CVE, #ProFTPD

ProFTPD’s mod_copy module adds two FTP site commands, SITE CPFR and SITE CPTO, that copy a file from one place to another on the server without the data ever crossing the client’s connection. In ProFTPD 1.3.5 those two commands did not check that the client had logged in, so anyone who could open a connection to the FTP port could copy files the server account could read, and write files where that account could write. That is CVE-2015-3306, fixed in 1.3.5a in May 2015. CISA added it to the Known Exploited Vulnerabilities catalogue on 8 October 2026, eleven years later, which means 1.3.5 servers are still listening and still being used to drop files where they should not go. If a ProFTPD you run reports version 1.3.5 and loads mod_copy, update it or gate the commands today. This page shows how to read the version, how to tell whether the module is loaded, and the two configuration ways to close it.

CVE-2015-3306 at a glance.

ComponentProFTPD, the optional mod_copy module, its SITE CPFR and SITE CPTO commands. On Linux it is the proftpd / proftpd-dfsg package (Debian, Ubuntu) or proftpd from Fedora/EPEL and openSUSE; mod_copy is built in or shipped as mod_copy.so
Affected versionsProFTPD 1.3.5 (the mod_copy commands lacked the authentication check) when mod_copy is loaded. Earlier 1.3.3 did not ship the module
Fixed inProFTPD 1.3.5a, released 27 May 2015 (NEWS: “Bug 4169 – Unauthenticated copying of files via SITE CPFR/CPTO allowed by mod_copy”). Every later release carries the fix
SeverityCVSS 3.1 10.0 Critical (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H) from CISA’s ADP entry; CVSS 2 10.0 from NVD. CWE-284, improper access control. Arbitrary file read and write by an unauthenticated client, which is a path to remote code execution
Exploited in the wildOn CISA’s Known Exploited Vulnerabilities catalogue, added 8 October 2026; federal remediation was due 11 October 2026. Ransomware use is recorded as Unknown. EPSS 0.995 (99.9th percentile) on 28 October 2026
Who is exposedany ProFTPD 1.3.5 with mod_copy loaded that an attacker can connect to; no credentials are needed (PR:N). Internet-facing FTP is the obvious target, but an internal 1.3.5 on a shared network is reachable by anything on it. Not affected: 1.3.5a and later, or any build with mod_copy not loaded
PublishedCVE record 18 May 2015; this page built 30 November 2026, last updated 30 November 2026

What it is

mod_copy exists so a client can tell the server to copy a file server-side, which saves downloading and re-uploading a large file just to duplicate it. It implements SITE CPFR (“copy from”) to name the source and SITE CPTO (“copy to”) to name the destination, the pair working like RNFR/RNTO do for renames. In ProFTPD 1.3.5 the handlers for those commands did not test whether the session had authenticated before acting, so a client that had merely connected, with no USER and PASS, could drive them. That is CWE-284, improper access control: a privileged operation reachable without the privilege. The fix in 1.3.5a is exactly that missing test; the project’s mod_copy.c now checks the session’s authenticated flag and answers 530 Please login with USER and PASS when it is not set.

Read-and-write-arbitrary-files is already a serious primitive, but the reason this is a 10.0 and a remote-code-execution bug rather than a mere file-disclosure one is what an attacker does with the write. A file copied to a location that another service will execute, a web root that runs scripts, a directory a cron job sources, an authorized-keys file, turns “write any file” into “run any code”. The copy is server-side and uses the FTP server account’s own access, so the reach is whatever that account can touch. Because no login is required, there is not even a brute-force step: the attack is a short exchange on the control connection.

ProFTPD fixed the bug in 1.3.5a, released 27 May 2015, recording it in NEWS as Bug 4169, and the distributions followed: Debian issued DSA-3263 and the Ubuntu and Fedora updates landed in May and June 2015. The affected version, 1.3.5, is long superseded. CISA’s decision to add an eleven-year-old ProFTPD flaw to the exploited list on 8 October 2026, with three other old server-side flaws the same day, is the signal that 1.3.5 servers with mod_copy are still on the internet and being used; an unauthenticated file write is the kind of primitive that stays useful for as long as a single vulnerable host remains reachable.

Who is affected on Linux

Every distribution that ships ProFTPD fixed this in 2015 and has rebased many times since, so on a supported release you are safe by being current. The table is for someone on an old or source build working out what fixed looks like, and it reflects that Red Hat never shipped ProFTPD itself. Each row is what the tracker showed on 30 November 2026; the link in a row is the tracker page.

DistributionStatusFixed package
AlpineNot consulted; current Alpine ships ProFTPD far newer than the fix—
DebianFixed, source proftpd-dfsg. Historically via DSA-3263-1 (wheezy 1.3.4a-5+deb7u3, jessie 1.3.5-1.1+deb8u1); current suites carry 1.3.8/1.3.9 (bookworm 1.3.8+dfsg-4+deb12u5)proftpd-dfsg 1.3.8+ on supported suites
UbuntuFixed, source proftpd-dfsg, priority Medium, CVSS 10.0. 14.04 LTS 1.3.5~rc3-2.1ubuntu2.1, 12.04 LTS 1.3.4a-1ubuntu0.1; newer sinceproftpd-dfsg, current releases
RHEL, Rocky, AlmaNot affected: Red Hat states the flaw does not affect any supported Red Hat product (ProFTPD is not shipped by Red Hat; it comes from EPEL)— (EPEL ships a current proftpd)
Fedora, openSUSE/SLEFixed in May–June 2015; current releases carry 1.3.8/1.3.9Current proftpd
From sourceAffected at 1.3.5 with mod_copy loadedProFTPD 1.3.5a then, a current 1.3.8/1.3.9 now

How to check

Two questions, in order: which ProFTPD version is running, and is mod_copy loaded. A 1.3.5 without the module loaded is not reachable through this CVE, though it is still an out-of-date build.

# 1. version: 1.3.5 (without the trailing 'a') is the affected one
proftpd -v
dpkg -s proftpd-basic proftpd-dfsg 2>/dev/null | grep '^Version'
rpm -q proftpd 2>/dev/null

# 2. is mod_copy built in or loaded as a shared module?
proftpd -l | grep -i mod_copy                      # built-in (static) modules
grep -riE 'LoadModule +mod_copy' /etc/proftpd/ 2>/dev/null   # DSO load lines

# is the daemon actually listening, and where
sudo ss -tlnp | grep -E ":(21|990)"

If the version is 1.3.5a or later, the authentication check is in place and the server is fixed. If it is exactly 1.3.5, look at step 2: mod_copy appearing in proftpd -l (static) or in a LoadModule mod_copy line (DSO) means the vulnerable commands are live. A 1.3.5 with the module not loaded is not reachable through this bug, but it is an eleven-year-old build and should be updated regardless. If the daemon is listening on 21 (or 990 for implicit FTPS) and both conditions hold, anyone who can reach that port can read and write files as the FTP account with no login.

Because this one is on the KEV list, look back. The commands are logged like any other FTP command, so SITE CPFR and SITE CPTO from a session that never authenticated are the signature, and a file the attacker wrote is the consequence.

# SITE CPFR / CPTO in the transfer and command logs
sudo grep -hiE 'SITE (CPFR|CPTO)|mod_copy' /var/log/proftpd/*.log /var/log/syslog* /var/log/messages* 2>/dev/null | tail -40

# sessions that issued those commands without a prior successful login (USER/PASS)
sudo grep -hiE 'CPFR|CPTO|USER |PASS |230 |530 ' /var/log/proftpd/proftpd.log 2>/dev/null | tail -60

# files the ftp account could have written that are newer than the package, in the usual drop targets
sudo find /var/www /srv /home/*/public_html -type f -newer /usr/sbin/proftpd 2>/dev/null | head -40

A SITE CPFR or SITE CPTO on a connection with no preceding 230 login, on a 1.3.5 server, is this bug being used. Treat any file that a copy could have placed into a web root, a user’s .ssh, or a directory a scheduled job reads as attacker-controlled, and treat the server account’s whole writable area as suspect. Because an arbitrary write on this server is a plausible route to code execution, rebuild rather than clean once you find a planted file: Restoring a Linux Server is the page, and the FTP content itself restores from backup.

How to fix it

Update ProFTPD and restart it; a running daemon keeps the old module until it is restarted. On any supported distribution this is a routine package update, because all of them fixed this in 2015.

# Debian / Ubuntu
sudo apt-get update && sudo apt-get install --only-upgrade proftpd-basic
sudo systemctl restart proftpd

# Fedora / RHEL family (EPEL)
sudo dnf update proftpd
sudo systemctl restart proftpd

# openSUSE / SLE
sudo zypper update proftpd
sudo systemctl restart proftpd

# confirm the running daemon is the fixed build
proftpd -v

If the update genuinely cannot happen today, the project gives two configuration ways to close the hole without it, and both work on 1.3.5. The cleaner is to turn the module’s engine off, which makes mod_copy ignore the SITE copy commands entirely; the other is to wrap the commands in a <Limit> section that denies them, or restricts them to named users, which is the right choice if some clients legitimately rely on server-side copy. Reload after either change and confirm an unauthenticated SITE CPFR is refused.

# option A: disable mod_copy's command handling outright (CopyEngine is off)
CopyEngine off

# option B: keep it, but allow the SITE copy commands only to logged-in, named users
<Limit SITE_CPFR SITE_CPTO>
  AllowUser alex
  DenyAll
</Limit>

# then reload and check the config parses
sudo proftpd -t && sudo systemctl reload proftpd

Do not treat the mitigation as the end of it. CopyEngine off and the <Limit> block close this CVE, but a server still running 1.3.5 is eleven years of other fixes behind, and the right destination is a current release, not a patched-over old one. And do not leave an internal 1.3.5 alone on the assumption that only internet-facing FTP matters: the attack needs nothing but a TCP connection to port 21, so anything that can reach the server on the LAN, including a compromised workstation, can use it.

Sources

  • CVE-2015-3306 at CVE.org — the MITRE record and its distribution references
  • NVD — status Analyzed, CVSS 3.1 10.0 (scope-changed) from the CISA source, CVSS 2 10.0, CWE-284, and the KEV dates (last modified 9 October 2026)
  • ProFTPD mod_copy documentation — the module reference: the SITE CPFR/SITE CPTO commands, the CopyEngine directive, and the <Limit> example for gating them
  • ProFTPD 1.3.5a NEWS — the fix entry, “Bug 4169 – Unauthenticated copying of files via SITE CPFR/CPTO allowed by mod_copy” (released 27 May 2015)
  • CISA Known Exploited Vulnerabilities — added 8 October 2026, action due 11 October 2026, as “ProFTPD Improper Access Control Vulnerability”
  • Distribution trackers: Debian (fixed via DSA-3263-1), Ubuntu (fixed), Red Hat (not a shipped product)
  • EPSS — 0.995, 99.9th percentile, scored 28 October 2026

Related reading

This advisory page was assembled from the primary sources listed above on 30 November 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.