hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

Help - Search - Member List - Calendar
Full Version: Sapporoworks Blackjumbodog Ftp Server
GovernmentSecurity.org > The Archives > Exploit Articles
qcred11
Jul 30 2004, 02:37 PM
QUOTE


Buffer overflow in SapporoWorks BlackJumboDog FTP server

by Tan Chew Keong
Release Date: 29 July 2004

ADVISORY URL
http://www.security.org.sg/vuln/bjd361.html


SUMMARY

SapporoWorks BlackJumboDog is an integrated open-source proxy server,
web server and FTP server developed by SapporoWorks for Microsoft
Windows platforms. BlackJumboDog version 3.6.1 is vulnerable to a buffer
overflow in its FTP server. By sending a specially crafted FTP request
containing an overly long parameter string in the USER, PASS, RETR, CWD,
XMKD, XRMD or various other commands, a remote attacker could cause a
stack overflow and execute arbitrary code.


VENDOR URL

http://homepage2.nifty.com/spw/software/bjd/index.html


TESTED SYSTEM

BlackJumboDog Version 3.6.1 on English Win2K SP4


DETAILS

This vulnerability is caused by an unsafe strcpy() that copies the
entire parameter of the user's FTP command to a stack buffer of 256
bytes. For example, suppose that the user's FTP client issues the
following command.

USER xxxxxxxxxxxx

The command parameter "xxxxxxxxxxxx" will be copied to a 256 bytes
buffer using strcpy(). Hence, by crafting an FTP command with an overly
long parameter, a remote attacker could trigger a stack overflow and
execute arbitrary code. The attacker do not need to have a valid account
on the FTP server since the overflow can be triggered prior to
authentication using the USER command.



Source: http://www.securitytracker.com/alerts/2004/Jul/1010807.html
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.