CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
Description
CVE-2015-3306 is a maximum-severity improper access control vulnerability in the mod_copy module of ProFTPD 1.3.5 that allows remote attackers to read and write arbitrary files through the SITE CPFR and SITE CPTO commands. The module implements server-side file copying, but it does not require authentication for these commands, so anyone who can reach the FTP port can copy any file the daemon can read to any location it can write — which in practice means reading configuration and key material and writing a web shell into a document root. All of this needs no account on the system at all. CISA has added CVE-2015-3306 to the Known Exploited Vulnerabilities catalog, its EPSS score of 99.5% is effectively the top of the scale, and its remediation deadline of October 11, 2026 has already passed.
KEV Information
CVSS Score
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HOpen in CalculatorAffected Products
| Vendor | Product | Version |
|---|---|---|
| fedoraproject | fedora | 20; 21; 22 |
| debian | debian linux | 7.0; 8.0; 9.0 |
| opensuse | tumbleweed | - |
| suse | linux enterprise server | 15 |
| proftpd | proftpd | 1.3.5 |
References
- http://lists.fedoraproject.org/pipermail/package-announce/2015-May/157053.html(Broken Link, Mailing List, Third Party Advisory)
- http://lists.fedoraproject.org/pipermail/package-announce/2015-May/157054.html(Broken Link, Mailing List, Third Party Advisory)
- http://lists.fedoraproject.org/pipermail/package-announce/2015-May/157581.html(Broken Link, Mailing List, Third Party Advisory)
- http://lists.opensuse.org/opensuse-updates/2015-06/msg00020.html(Mailing List, Third Party Advisory)
- http://packetstormsecurity.com/files/131505/ProFTPd-1.3.5-File-Copy.html(Third Party Advisory, VDB Entry)
- http://packetstormsecurity.com/files/131555/ProFTPd-1.3.5-Remote-Command-Execution.html(Third Party Advisory, VDB Entry)
- http://packetstormsecurity.com/files/131567/ProFTPd-CPFR-CPTO-Proof-Of-Concept.html(Exploit, VDB Entry)
- http://packetstormsecurity.com/files/132218/ProFTPD-1.3.5-Mod_Copy-Command-Execution.html(Exploit, VDB Entry)
- http://packetstormsecurity.com/files/162777/ProFTPd-1.3.5-Remote-Command-Execution.html(Exploit, VDB Entry)
- http://www.debian.org/security/2015/dsa-3263(Mailing List, Third Party Advisory)
- http://www.rapid7.com/db/modules/exploit/unix/ftp/proftpd_modcopy_exec(Third Party Advisory)
- http://www.securityfocus.com/bid/74238(Third Party Advisory)
- https://www.exploit-db.com/exploits/36742/(Exploit)
- https://www.exploit-db.com/exploits/36803/(Exploit)
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2015-3306(US Government Resource)
Weakness Type
CWE-284: Improper Access Control
Improper access control exists when software fails to restrict a resource against an actor who should not reach it — the failure may be in authentication, in authorization, or in enforcing a policy at all. In ProFTPD's mod_copy, the SITE CPFR and SITE CPTO commands execute file copy operations without first establishing that the requester is an authenticated user with rights to the source and destination, so the module's functionality is exposed to anonymous clients.
Learn more: CWE-284 — Improper Access Control
Impact Analysis
CVE-2015-3306 has a CVSS 3.1 base score of 10.0 (Critical) with the vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H — the maximum the scale allows. Attack Vector (Network), Privileges Required (None), User Interaction (None): two FTP commands sent to an open port are the entire attack, with no login and no victim involved. Attack Complexity (Low): the sequence is deterministic and documented. Scope (Changed) is what lifts the score to 10.0 and is the right judgement here: the copy operation runs with the daemon's rights and lets the attacker write into areas belonging to other components — most notably a web server's document root, from which the written file is then executed by that other service. Confidentiality, Integrity and Availability (all High): arbitrary read exposes /etc/passwd, application configuration, private keys and database credentials; arbitrary write enables web shells, altered configuration and cron entries; and both together lead directly to full server compromise. The EPSS score of 99.5% in the 99.9th percentile reflects more than a decade of mass exploitation, and any host still running ProFTPD 1.3.5 with mod_copy should be assumed to have been found already.
Exploit Maturity
Public exploit code for CVE-2015-3306 is abundant and has been for a decade. The reference set alone contains an Exploit-DB entry, several Packet Storm Security publications including a CPFR/CPTO proof of concept and a mod_copy command execution exploit, and a maintained Metasploit module exploit/unix/ftp/proftpd_modcopy_exec. CISA has added the vulnerability to the Known Exploited Vulnerabilities catalog, and the remediation deadline of October 11, 2026 has already passed; the entry does not flag ransomware usage. The EPSS score of 99.5%, in the 99.9th percentile, is as high as the model goes and matches reality: this is a staple of automated scanning, included in standard exploitation toolkits, and trivially discoverable because the FTP banner identifies the version. Finding ProFTPD 1.3.5 with mod_copy on a reachable host in 2026 should start an incident response, not a patch ticket.
Remediation
- Carry out the action CISA requires, immediately. Apply mitigations in accordance with the ProFTPD project's and your distribution's instructions, comply with CISA's BOD 26-04 "Prioritizing Security Updates Based on Risk" guidance and the "Forensics Triage Requirements", and discontinue use of the product if mitigations are unavailable. The KEV remediation deadline of October 11, 2026 has already passed.
- Update ProFTPD beyond 1.3.5. Install your distribution's patched package — Debian published DSA-3263 and openSUSE, Fedora and SUSE shipped equivalents — or, given that 1.3.5 dates from 2015, move to a currently supported ProFTPD release.
- Disable
mod_copywhere it is not needed. The vulnerability lives entirely in that module; removingLoadModule mod_copy.cfrom the configuration, or building without it, eliminates the attack surface immediately and is the right interim step when an update cannot be deployed at once. Server-side copy is a convenience feature that most deployments do not use. - Treat an exposed, unpatched server as compromised. Search the web document root and other writable directories for unexpected scripts and recently created files, review FTP logs for
SITE CPFRandSITE CPTOcommands from unauthenticated sessions, check for new accounts, SSH keys, cron entries and listening services, and rotate every credential and private key the host held, since arbitrary read means they may all be known. - Restrict and harden the service. Limit FTP access to known networks or replace FTP with SFTP over SSH, run the daemon under a dedicated unprivileged account with a restricted filesystem view such as a chroot, and — as the structural lesson from this weakness class — require an explicit authorization check on every command that touches a file, denying by default rather than relying on the surrounding context.
Technical Details
ProFTPD's mod_copy module adds the SITE CPFR (copy from) and SITE CPTO (copy to) commands so that a client can duplicate files on the server without transferring them twice over the network. In version 1.3.5 these commands are dispatched without enforcing that the session is authenticated and authorized for the paths involved, which is the CWE-284 improper access control pattern in its plainest form: the capability exists and the gate in front of it does not. An unauthenticated client therefore issues SITE CPFR naming any readable path and SITE CPTO naming any writable one, and the daemon performs the copy with its own privileges. The classic weaponization pairs this with another writable location: the attacker copies a file containing script code into a web server's document root and then requests it over HTTP, which converts file write into remote command execution — and is precisely why the CVSS scope is Changed. The vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H records every one of those properties, producing the maximum base score of 10.0.
Frequently Asked Questions
Is CVE-2015-3306 being actively exploited?
Yes. CISA has added CVE-2015-3306 to the Known Exploited Vulnerabilities catalog, and the remediation deadline of October 11, 2026 has already passed. Its EPSS score of 99.5% is in the 99.9th percentile, indicating near-certain exploitation, and ready-made exploits exist in Exploit-DB, Packet Storm Security and Metasploit. Use in ransomware campaigns is not recorded in the KEV entry.
What products are affected by CVE-2015-3306?
CVE-2015-3306 affects ProFTPD 1.3.5 with the mod_copy module. Because distributions packaged that version, the affected list also covers Debian 7, 8 and 9, Fedora 20, 21 and 22, openSUSE Tumbleweed and SUSE Linux Enterprise Server 15, each addressed by its own vendor update.
How do I fix CVE-2015-3306?
Install your distribution's patched ProFTPD package or upgrade to a currently supported ProFTPD release. As an immediate mitigation, disable the mod_copy module, since the vulnerability lives entirely in it and most deployments do not need server-side copy. Afterwards, inspect writable directories and the web document root for files an attacker may have planted, and rotate credentials and keys the host stored.
How severe is CVE-2015-3306?
CVE-2015-3306 is rated Critical with a CVSS 3.1 base score of 10.0, the maximum: unauthenticated remote arbitrary file read and write, no user interaction, and a changed scope because the write reaches components beyond the FTP daemon. With an EPSS score of 99.5% in the 99.9th percentile and widely distributed exploit code, any exposed and unpatched instance should be considered already compromised.
Need Help With Vulnerability Management?
Our security experts can help you prioritize and remediate vulnerabilities effectively.