Executive Summary

Summary
Title AmmSoft ScriptFTP 3.3 client remote buffer overflow vulnerability
Informations
Name VU#440219 First vendor Publication 2011-09-20
Vendor VU-CERT Last vendor Modification 2011-09-20
Severity (Vendor) N/A Revision M

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:P/I:P/A:P)
Cvss Base Score 6.8 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity Medium
Cvss Expoit Score 8.6 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Vulnerability Note VU#440219

AmmSoft ScriptFTP 3.3 client remote buffer overflow vulnerability

Overview

AmmSoft's ScriptFTP client is susceptible to a remote buffer overflow vulnerability that is triggered when processing a sufficiently long filename during a FTP LIST command.

I. Description

AmmSoft's ScriptFTP client can be exploited to execute arbitrary code when processing GETLIST or GETFILE FTP commands. More details can be found at the reporter's blog: Digital Echidna

II. Impact

An attacker can setup a malicious FTP server that will exploit the vulnerability to cause a denial-of-service crash or may execute arbitrary code on the client's computer with the permissions of the ScriptFTP client user.

III. Solution

We are currently unaware of a practical solution to this problem.

Workarounds

Do not connect to untrusted FTP servers.

Use the Microsoft Enhanced Mitigation Experience Toolkit

The Microsoft Enhanced Mitigation Experience Toolkit (EMET) can be used to help prevent exploitation of this vulnerability. The EAF mitigation technique that is a part of EMET is not compatible with ScriptFTP and should be unchecked before using EMET with ScriptFTP.

Enable DEP in Microsoft Windows

Consider enabling Data Execution Prevention (DEP) in supported versions of Windows. DEP should not be treated as a complete workaround, but it can mitigate the execution of attacker-supplied code in some cases. Microsoft has published detailed technical information about DEP in Security Research & Defense blog posts "Understanding DEP as a mitigation technology" part 1 and part 2. DEP should be used in conjunction with the application of patches or other mitigations described in this document.

Note that when relying on DEP for exploit mitigation, it is important to use a system that supports Address Space Layout Randomization (ASLR) as well. ASLR is not supported by Windows XP or Windows Server 2003 or earlier. ASLR was introduced with Microsoft Windows Vista and Windows Server 2008. Please see the Microsoft SRD blog entry: On the effectiveness of DEP and ASLR for more details.

Vendor Information

VendorStatusDate NotifiedDate Updated
AmmSoftAffected2011-09-152011-09-20

References

http://www.digital-echidna.org/2011/09/scriptftp-3-3-remote-buffer-overflow-exploit-0day/
http://www.scriptftp.com/

Credit

Thanks to Tom Gregory for reporting this vulnerability.

This document was written by Jared Allar.

Other Information

Date Public:2011-09-20
Date First Published:2011-09-20
Date Last Updated:2011-09-20
CERT Advisory: 
CVE-ID(s): 
NVD-ID(s): 
US-CERT Technical Alerts: 
Severity Metric:0.71
Document Revision:10

Original Source

Url : http://www.kb.cert.org/vuls/id/440219

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-119 Failure to Constrain Operations within the Bounds of a Memory Buffer

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 1

ExploitDB Exploits

id Description
2011-10-09 ScriptFTP <= 3.3 Remote Buffer Overflow (LIST)

OpenVAS Exploits

Date Description
2011-09-23 Name : ScriptFTP 'GETLIST' or 'GETFILE' Commands Remote Buffer Overflow Vulnerability
File : nvt/secpod_scriptftp_cmd_bof_vuln.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
75633 ScriptFTP FTP LIST Command Response Parsing Remote Overflow

ScriptFTP 3.3 is prone to an overflow condition. The scriptftp.exe fails to properly sanitize read input resulting in a stack overflow. With a specially crafted directory name or file name in a remote attacker malicious FTP server, she can potentially cause remote command execution.

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2020-05-23 13:17:15
  • Multiple Updates