ID CVE-2015-3306
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:proftpd:proftpd:1.3.5
    cpe:2.3:a:proftpd:proftpd:1.3.5
CVSS
Base: 10.0 (as of 25-06-2015 - 10:00)
Impact:
Exploitability:
CWE CWE-284
CAPEC
  • Embedding Scripts within Scripts
    An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute scripts. The attacker leverages this capability to execute scripts to execute his/her own script by embedding it within other scripts that the target software is likely to execute. The attacker must have the ability to inject script into script that is likely to be executed. If this is done, then the attacker can potentially launch a variety of probes and attacks against the web server's local environment, in many cases the so-called DMZ, back end resources the web server can communicate with, and other hosts. With the proliferation of intermediaries, such as Web App Firewalls, network devices, and even printers having JVMs and Web servers, there are many locales where an attacker can inject malicious scripts. Since this attack pattern defines scripts within scripts, there are likely privileges to execute said attack on the host. Of course, these attacks are not solely limited to the server side, client side scripts like Ajax and client side JavaScript can contain malicious scripts as well. In general all that is required is for there to be sufficient privileges to execute a script, but not protected against writing.
  • Signature Spoofing by Key Theft
    An attacker obtains an authoritative or reputable signer's private signature key by theft and then uses this key to forge signatures from the original signer to mislead a victim into performing actions that benefit the attacker.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
exploit-db via4
  • description ProFTPd 1.3.5 (mod_copy) - Remote Command Execution. CVE-2015-3306. Remote exploit for linux platform
    file exploits/linux/remote/36803.py
    id EDB-ID:36803
    last seen 2016-02-04
    modified 2015-04-21
    platform linux
    port
    published 2015-04-21
    reporter R-73eN
    source https://www.exploit-db.com/download/36803/
    title ProFTPd 1.3.5 mod_copy - Remote Command Execution
    type remote
  • description ProFTPD 1.3.5 Mod_Copy Command Execution. CVE-2015-3306. Remote exploit for linux platform
    id EDB-ID:37262
    last seen 2016-02-04
    modified 2015-06-10
    published 2015-06-10
    reporter metasploit
    source https://www.exploit-db.com/download/37262/
    title ProFTPD 1.3.5 Mod_Copy Command Execution
  • description ProFTPd 1.3.5 - File Copy. CVE-2015-3306. Remote exploit for linux platform
    file exploits/linux/remote/36742.txt
    id EDB-ID:36742
    last seen 2016-02-04
    modified 2015-04-13
    platform linux
    port
    published 2015-04-13
    reporter anonymous
    source https://www.exploit-db.com/download/36742/
    title ProFTPd 1.3.5 - File Copy
    type remote
metasploit via4
description This module exploits the SITE CPFR/CPTO commands in ProFTPD version 1.3.5. Any unauthenticated client can leverage these commands to copy files from any part of the filesystem to a chosen destination. The copy commands are executed with the rights of the ProFTPD service, which by default runs under the privileges of the 'nobody' user. By using /proc/self/cmdline to copy a PHP payload to the website directory, PHP remote code execution is made possible.
id MSF:EXPLOIT/UNIX/FTP/PROFTPD_MODCOPY_EXEC
last seen 2018-08-21
modified 2017-07-24
published 2015-04-22
reliability Excellent
reporter Rapid7
source https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/ftp/proftpd_modcopy_exec.rb
title ProFTPD 1.3.5 Mod_Copy Command Execution
nessus via4
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_D0034536FF2411E4A072D050996490D0.NASL
    description ProFTPd development team reports : Vadim Melihow reported a critical issue with proftpd installations that use the mod_copy module's SITE CPFR/SITE CPTO commands; mod_copy allows these commands to be used by *unauthenticated clients*.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 83752
    published 2015-05-21
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=83752
    title FreeBSD : proftpd -- arbitrary code execution vulnerability with chroot (d0034536-ff24-11e4-a072-d050996490d0)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2015-6401.NASL
    description Vadim Melihow reported a critical issue with proftpd installations that use the mod_copy module's SITE CPFR/SITE CPTO commands; mod_copy allows these commands to be used by *unauthenticated clients* Upstream report: http://bugs.proftpd.org/show_bug.cgi?id=4169 This update contains a backported fix for this issue. Note that mod_copy is not loaded/enabled by default in the Fedora package. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-11-16
    plugin id 83198
    published 2015-05-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=83198
    title Fedora 20 : proftpd-1.3.4e-3.fc20 (2015-6401)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2015-410.NASL
    description The ftp server ProFTPD was updated to 1.3.5a to fix one security issue. The following vulnerability was fixed : - CVE-2015-3306: Unauthenticated copying of files via SITE CPFR/CPTO allowed by mod_copy (boo#927290) In addition, proftpd was updated to 1.3.5a to fix a number of upstream bugs and improve functionality.
    last seen 2019-02-21
    modified 2015-11-16
    plugin id 84134
    published 2015-06-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=84134
    title openSUSE Security Update : proftpd (openSUSE-2015-410)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-3263.NASL
    description Vadim Melihow discovered that in proftpd-dfsg, an FTP server, the mod_copy module allowed unauthenticated users to copy files around on the server, and possibly to execute arbitrary code.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 83546
    published 2015-05-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=83546
    title Debian DSA-3263-1 : proftpd-dfsg - security update
  • NASL family Slackware Local Security Checks
    NASL id SLACKWARE_SSA_2015-111-12.NASL
    description New proftpd packages are available for Slackware 13.0, 13.1, 13.37, 14.0, 14.1, and -current to fix a security issue.
    last seen 2019-02-21
    modified 2015-11-16
    plugin id 82925
    published 2015-04-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=82925
    title Slackware 13.0 / 13.1 / 13.37 / 14.0 / 14.1 / current : proftpd (SSA:2015-111-12)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2015-7164.NASL
    description Vadim Melihow reported a critical issue with proftpd installations that use the mod_copy module's SITE CPFR/SITE CPTO commands; mod_copy allows these commands to be used by unauthenticated clients Upstream report: http://bugs.proftpd.org/show_bug.cgi?id=4169 Note that mod_copy is not loaded/enabled by default in the Fedora package. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-11-16
    plugin id 83224
    published 2015-05-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=83224
    title Fedora 22 : proftpd-1.3.5-6.fc22 (2015-7164)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2015-7086.NASL
    description Vadim Melihow reported a critical issue with proftpd installations that use the mod_copy module's SITE CPFR/SITE CPTO commands; mod_copy allows these commands to be used by unauthenticated clients Upstream report: http://bugs.proftpd.org/show_bug.cgi?id=4169 Note that mod_copy is not loaded/enabled by default in the Fedora package. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-11-16
    plugin id 83323
    published 2015-05-11
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=83323
    title Fedora 21 : proftpd-1.3.5-5.fc21 (2015-7086)
  • NASL family FTP
    NASL id PROFTPD_1_3_5_INFO_DISC.NASL
    description The remote host is running a version of ProFTPD that is affected by an information disclosure vulnerability in the mod_copy module due to the SITE CPFR and SITE CPTO commands being available to unauthenticated clients. An unauthenticated, remote attacker can exploit this flaw to read and write to arbitrary files on any web accessible path on the host.
    last seen 2019-02-21
    modified 2018-08-31
    plugin id 84215
    published 2015-06-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=84215
    title ProFTPD mod_copy Information Disclosure
packetstorm via4
refmap via4
bid 74238
debian DSA-3263
fedora
  • FEDORA-2015-6401
  • FEDORA-2015-7086
  • FEDORA-2015-7164
misc
suse openSUSE-SU-2015:1031
saint via4
bid 74238
description ProFTPD mod_copy command execution
id ftp_proftp
osvdb 120834
title proftpd_mod_copy
type remote
Last major update 02-01-2017 - 22:00
Published 18-05-2015 - 11:59
Back to Top