Description
The 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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | proftpd-dfsg | 1.3.5-2 | — |
| Debian 13 | proftpd-dfsg | 1.3.5-2 | — |
| Debian 12 | proftpd-dfsg | 1.3.5-2 | — |
| Debian 8 | proftpd-dfsg | 1.3.5-1.1+deb8u1 | DSA-3263-1 |
| Debian 7 | proftpd-dfsg | 1.3.4a-5+deb7u3 | DSA-3263-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | proftpd-dfsg | 1.3.5~rc3-2.1ubuntu2.1 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | proftpd | 1.3.5b-2.5 | openSUSE-SU-2024:10048-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
ProFTPD 1.3.5 Mod_Copy Command Execution
exploit/unix/ftp/proftpd_modcopy_exec
Exploit-DB 4
- ProFTPd 1.3.5 - 'mod_copy' Remote Command Execution (2) EDB-49908 · remote · May 26, 2021 · verified
- ProFTPd 1.3.5 - 'mod_copy' Command Execution (Metasploit) EDB-37262 · remote · Jun 10, 2015 · verified
- ProFTPd 1.3.5 - 'mod_copy' Remote Command Execution EDB-36803 · remote · Apr 21, 2015
- ProFTPd 1.3.5 - File Copy EDB-36742 · remote · Apr 13, 2015 · verified
GitHub 18 repositories · most starred shown
-
t0kx/exploit-CVE-2015-3306 ★ 152 · Jan 8, 2017
ProFTPd 1.3.5 - (mod_copy) Remote Command Execution exploit and vulnerable container
-
nootropics/propane ★ 2 · Apr 26, 2015
Exploits the arbitrary file write bug in proftpd (CVE-2015-3306) attempts code execution
-
Real-World Simulation: FTP Service Exploitation (ProFTPD CVE-2015-3306)
-
cybersensei-EH/hackviser_labs_CVE-2015-3306 ★ 1 · Nov 2, 2025
This is a customized script to help solve the lab on remote code execution under the CVE-2015-3306 lab.
-
jptr218/proftpd_bypass ★ 1 · Aug 21, 2021
An implementation of CVE-2015-3306
-
0xm4ud/ProFTPD_CVE-2015-3306 ★ 1 · May 16, 2021
-
cd6629/CVE-2015-3306-Python-PoC ★ 1 · Oct 16, 2020
Converted with tweaks from a metasploit module as an exercise for OSCP studying and exploit development
-
davidtavarez/CVE-2015-3306 ★ 1 · Jul 29, 2017
ProFTPd 1.3.5 - File Copy
-
xyk0x/cpx_proftpd ★ 1 · Apr 21, 2015
Tool for exploit CVE-2015-3306
-
cved-sources/cve-2015-3306 ★ 0 · Jan 6, 2019
cve-2015-3306
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- ProFTPd - Remote Code Execution network/cves/2015/CVE-2015-3306.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 2
- DSA-3263-1 proftpd-dfsg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10048-1 proftpd-1.3.5b-2.5 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- http://www.rapid7.com/db/modules/exploit/unix/ftp/proftpd_modcopy_exec
- 36803 exploit
- http://packetstormsecurity.com/files/131555/ProFTPd-1.3.5-Remote-Command-Execution.html
- DSA-3263 vendor-advisory
- http://packetstormsecurity.com/files/131567/ProFTPd-CPFR-CPTO-Proof-Of-Concept.html
- http://packetstormsecurity.com/files/132218/ProFTPD-1.3.5-Mod_Copy-Command-Execution.html
- openSUSE-SU-2015:1031 vendor-advisory
- FEDORA-2015-7164 vendor-advisory
- FEDORA-2015-6401 vendor-advisory
- 74238 vdb-entry
- 36742 exploit
- FEDORA-2015-7086 vendor-advisory
- http://packetstormsecurity.com/files/131505/ProFTPd-1.3.5-File-Copy.html
- http://packetstormsecurity.com/files/162777/ProFTPd-1.3.5-Remote-Command-Execution.html