Lucene search
K

AutoFTP Manager FTP Client Directory Traversal Vulnerability

🗓️ 25 Aug 2010 00:00:00Reported by Copyright (C) 2010 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 18 Views

AutoFTP Manager FTP Client Directory Traversal Vulnerability. Flaw in handling crafted file names allows directory traversal sequences from FTP server, leading to writing files in user's startup folder for malicious code executio

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2010-3104
20 Aug 201021:00
cve
Cvelist
CVE-2010-3104
20 Aug 201021:00
cvelist
EUVD
EUVD-2010-3104
7 Oct 202500:30
euvd
htbridge
Directory Traversal Vulnerability in AutoFTP Manager
5 Aug 201000:00
htbridge
NVD
CVE-2010-3104
21 Aug 201000:00
nvd
OpenVAS
AutoFTP Manager FTP Client Directory Traversal Vulnerability
25 Aug 201000:00
openvas
Prion
Directory traversal
21 Aug 201000:00
prion
RedhatCVE
CVE-2010-3104
22 May 202503:13
redhatcve
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_afm_ftp_client_dir_traversal_vuln.nasl 5374 2017-02-20 16:36:11Z cfi $
#
# AutoFTP Manager FTP Client Directory Traversal Vulnerability
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright:
# Copyright (C) 2010 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

tag_impact = "Successful exploitation will allow attackers to write files into a user's
  Startup folder to execute malicious code when the user logs on.
  Impact Level: Application.";
tag_affected = "AutoFTP Manager FTP Client 4.31(4.3.1.0) and prior.";

tag_insight = "The flaw exists due to error in handling of certain crafted file names.
  It does not properly sanitise filenames containing directory traversal
  sequences that are received from an FTP server.";
tag_solution = "Upgrade AutoFTP Manager FTP Client to recent versions,
  For updates refer to http://www.deskshare.com/download.aspx";
tag_summary = "This host is installed with AutoFTP Manager FTP Client and is prone
  to directory traversal vulnerability.";

if(description)
{
  script_id(801398);
  script_version("$Revision: 5374 $");
  script_tag(name:"last_modification", value:"$Date: 2017-02-20 17:36:11 +0100 (Mon, 20 Feb 2017) $");
  script_tag(name:"creation_date", value:"2010-08-25 17:02:03 +0200 (Wed, 25 Aug 2010)");
  script_cve_id("CVE-2010-3104");
  script_tag(name:"cvss_base", value:"9.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_name("AutoFTP Manager FTP Client Directory Traversal Vulnerability");
  script_xref(name : "URL" , value : "http://en.securitylab.ru/nvd/396970.php");
  script_xref(name : "URL" , value : "http://www.htbridge.ch/advisory/directory_traversal_in_autoftp_manager.html");

  script_tag(name:"qod_type", value:"executable_version");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2010 Greenbone Networks GmbH");
  script_family("FTP");
  script_dependencies("secpod_reg_enum.nasl");
  script_mandatory_keys("SMB/WindowsVersion");
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  exit(0);
}


include("smb_nt.inc");
include("version_func.inc");
include("secpod_smb_func.inc");

if(!get_kb_item("SMB/WindowsVersion")){
  exit(0);
}

key = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";

if(!registry_key_exists(key:key)) {
    exit(0);
}

foreach item (registry_enum_keys(key:key))
{
  afmName = registry_get_sz(key:key + item, item:"DisplayName");

  ## Check the name of the application
  if("Auto FTP Manager" >< afmName)
  {
    ## Check for  Auto FTP Manager
    afmpath = registry_get_sz(key: key + item , item:"DisplayIcon");
    if(!isnull(afmpath))
    {
      share = ereg_replace(pattern:"([A-Z]):.*", replace:"\1$", string:afmpath);
      file = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1", string:afmpath);

      ## Check for Auto FTP Manager.exe File Version
      afmVer = GetVer(file:file, share:share);
      if(afmVer != NULL)
      {
        ## Check for Auto FTP Manager versiom 4.31
        if(version_is_less_equal(version:afmVer, test_version:"4.3.1.0"))
        {
          security_message(0) ;
          exit(0);
        }
      }
    }
  }
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation