Vulnerabilities > CVE-2011-3976 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Ammsoft Scriptftp 3.3

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN
ammsoft
CWE-119
exploit available
metasploit

Summary

Stack-based buffer overflow in AmmSoft ScriptFTP 3.3 allows remote FTP servers to execute arbitrary code via a long filename in a response to a LIST command, as demonstrated using (1) GETLIST or (2) GETFILE in a ScriptFTP script.

Vulnerable Configurations

Part Description Count
Application
Ammsoft
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Exploit-Db

  • descriptionScriptFTP 3.3 - Remote Buffer Overflow (MSF). CVE-2011-3976. Remote exploit for windows platform
    idEDB-ID:17904
    last seen2016-02-02
    modified2011-09-29
    published2011-09-29
    reporterotoy
    sourcehttps://www.exploit-db.com/download/17904/
    titleScriptFTP 3.3 - Remote Buffer Overflow MSF
  • descriptionScriptFTP. CVE-2011-3976. Remote exploit for windows platform
    idEDB-ID:17948
    last seen2016-02-02
    modified2011-10-09
    published2011-10-09
    reportermetasploit
    sourcehttps://www.exploit-db.com/download/17948/
    titleScriptFTP <= 3.3 - Remote Buffer Overflow LIST
  • descriptionScriptFTP <= 3.3 - Remote Buffer Overflow (LIST). CVE-2011-3976. Remote exploit for windows platform
    fileexploits/windows/remote/17876.py
    idEDB-ID:17876
    last seen2016-02-02
    modified2011-09-20
    platformwindows
    port
    published2011-09-20
    reportermodpr0be
    sourcehttps://www.exploit-db.com/download/17876/
    titleScriptFTP <= 3.3 - Remote Buffer Overflow LIST
    typeremote

Metasploit

descriptionAmmSoft'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 resulting in overwriting the exception handler. Social engineering of executing a specially crafted ftp file by double click will result in connecting to our malicious server and perform arbitrary code execution which allows the attacker to gain the same rights as the user running ScriptFTP. This vulnerability affects versions 3.3 and earlier.
idMSF:EXPLOIT/WINDOWS/FTP/SCRIPTFTP_LIST
last seen2020-06-10
modified2020-01-15
published2011-10-09
referenceshttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-3976
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/ftp/scriptftp_list.rb
titleScriptFTP LIST Remote Buffer Overflow

Packetstorm