vxFtpSrv USER Command Buffer Overflow Lets Remote Users Execute Arbitrary Code
|
|
SecurityTracker Alert ID: 1014911 |
|
SecurityTracker URL: http://securitytracker.com/id/1014911
|
|
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@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@J@@@I@@@H@@@G@@@F@@@E@
@@D@@@C@@@B@@@XXXX
Seth Fogie of Airscanner Mobile Security reported this vulnerability.
The original advisory is available at:
http://www.airscanner.com/security/05081102_vxftpsrv.htm
|
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: www.cam.com/vxftpsrv.html (Links to External Site)
|
Cause:
Boundary error
|
Underlying OS:
Windows (CE)
|
|
Message History:
None.
|
Source Message Contents
|
Date: Thu, 15 Sep 2005 01:56:45 +0000
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
Product:
vxFtpSrv 0.9.7
Platform:
Tested on Windows Mobile Pocket PC 2003
Requirements:
Mobile device running Windows Mobile Pocket PC with vxFtpSrv 0.9.7 installed and running.
Credits:
Seth Fogie
Airscanner Mobile Security
http://www.airscanner.com
Mobile Antivirus Researchers Association
http://www.mobileav.org
August 12 2005
Risk Level:
High. Remote attacker can execute code.
Summary:
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.
Details:
USER seth@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@J@@@I@@@H@@@G@@@F@@@E@
@@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.
Workaround:
None
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.
advisory
http://www.airscanner.com/security/05081102_vxftpsrv.htm
|
|