Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (File Transfer/Sharing)  >   vxFtpSrv Vendors:   Cambridge Computer Corp.
vxFtpSrv USER Command Buffer Overflow Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1014911
SecurityTracker URL:
CVE Reference:   CVE-2005-3031   (Links to External Site)
Updated:  Jun 8 2008
Original Entry Date:  Sep 15 2005
Impact:   Execution of arbitrary code via network, User access via network
Exploit Included:  Yes  
Version(s): 0.9.7
Description:   A vulnerability was reported in vxFtpSrv. A remote user can execute arbitrary code on the target system.

A remote user can connect to the FTP service and provided a specially crafted USER command parameter to trigger a buffer overflow and cause the FTP service to crash or execute arbitrary code.

A demonstration exploit command is provided [where XXXX represents the address of the return address that will be loaded into the Program Counter]:

USER seth@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Seth Fogie of Airscanner Mobile Security reported this vulnerability.

The original advisory is available at:

Impact:   A remote user can execute arbitrary code on the target system.
Solution:   No solution was available at the time of this entry.
Vendor URL: (Links to External Site)
Cause:   Boundary error
Underlying OS:  Windows (CE)

Message History:   None.

 Source Message Contents

Subject:  Airscanner Mobile Security Advisory #05081102: vxFtpSrv 0.9.7 Remote

Airscanner Mobile Security Advisory #05081102:
vxFtpSrv 0.9.7 Remote Code Execution Buffer Overflow Vulnerability 

vxFtpSrv 0.9.7

Tested on Windows Mobile Pocket PC 2003

Mobile device running Windows Mobile Pocket PC with vxFtpSrv 0.9.7 installed and running.

Seth Fogie
Airscanner Mobile Security
Mobile Antivirus Researchers Association
August 12 2005

Risk Level:
High. Remote attacker can execute code.

vxFtpSrv is a complete multi-threaded FTP server for Windows CE-based Handheld Pro, Pocket PC, Pocket PC 2002 and Windows Mobile 2003
 devices. If an excessively long user name is provided, a buffer overflow will occur, thus causing either an instant crash of the
 program or code execution.

USER seth@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@D@@@C@@@B@@@XXXX where XXXX represents the address of the return address that will be loaded into the Program Counter.

The bug is found in an sprintf function responsible for writing back a password request to the user. If the user provided name is
 excessively long, a buffer overflow will occur. Remote code execution is possible, assuming the attacker can guess what memory segment
 the program is located in. Generally, this will be 18,20,22, or 24. 


Vendor Response:
Waiting response.

Copyright (c) 2005 Airscanner Corp.

Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written
 consent of Airscanner Corp. If you wish to reprint the whole or any part of this alert in any other medium other than electronically,
 please contact Airscanner Corp. for permission.

Disclaimer: The information in the advisory is believed to be accurate at the time of publishing based on currently available information.
 Use of the information constitutes acceptance for use on an AS IS condition. There are no warranties with regard to this information.
 Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from
 use of, or reliance on, this information.



Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, LLC