Lucene search
K

pyftpd Multiple Vulnerabilities

🗓️ 15 Jun 2010 00:00:00Reported by This script is Copyright (C) 2010 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 18 Views

pyftpd multiple vulnerabilities, default-account and symlink issue

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2010-2072
16 Jun 201020:00
cve
CVE
CVE-2010-2073
16 Jun 201020:00
cve
Cvelist
CVE-2010-2072
16 Jun 201020:00
cvelist
Cvelist
CVE-2010-2073
16 Jun 201020:00
cvelist
Debian CVE
CVE-2010-2072
16 Jun 201020:00
debiancve
Debian CVE
CVE-2010-2073
16 Jun 201020:00
debiancve
EUVD
EUVD-2010-2091
7 Oct 202500:30
euvd
NVD
CVE-2010-2072
16 Jun 201020:30
nvd
NVD
CVE-2010-2073
16 Jun 201020:30
nvd
OpenVAS
pyftpd Multiple Vulnerabilities
15 Jun 201000:00
openvas
Rows per page
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_pyftpd_multiple_vulnerabilities_96_10.nasl 5373 2017-02-20 16:27:48Z teissa $
#
# pyftpd Multiple Vulnerabilities
#
# Authors:
# Michael Meyer <[email protected]>
#
# Copyright:
# Copyright (c) 2010 Greenbone Networks GmbH
#
# 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_summary = "pyftpd is prone to multiple vulnerabilities.

1.
pyftpd is prone to multiple default-account vulnerabilities. These
issues stem from a design flaw that makes several accounts available
to remote attackers.

Successful exploits allow remote attackers to gain unauthorized access
to a vulnerable application.

2.
pyftpd creates temporary files in an insecure manner.

An attacker with local access could potentially exploit this issue to
perform symbolic-link attacks, overwriting arbitrary files in the
context of the affected application.

Successfully mounting a symlink attack may allow the attacker to
delete or corrupt sensitive files, which may result in a denial of
service. Other attacks may also be possible.

pyftpd prior to 0.8.5 are affected.";

tag_solution = "Vendor updates are available. Please see the references for more
information.";

if (description)
{
 script_id(100679);
 script_version("$Revision: 5373 $");
 script_tag(name:"last_modification", value:"$Date: 2017-02-20 17:27:48 +0100 (Mon, 20 Feb 2017) $");
 script_tag(name:"creation_date", value:"2010-06-15 13:44:31 +0200 (Tue, 15 Jun 2010)");
 script_cve_id("CVE-2010-2072", "CVE-2010-2073");
 script_bugtraq_id(40839,40842);
 script_tag(name:"cvss_base", value:"5.0");
 script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");

 script_name("pyftpd Multiple Vulnerabilities");

 script_xref(name : "URL" , value : "https://www.securityfocus.com/bid/40839");
 script_xref(name : "URL" , value : "https://www.securityfocus.com/bid/40842");
 script_xref(name : "URL" , value : "http://comments.gmane.org/gmane.comp.security.oss.general/3038");
 script_xref(name : "URL" , value : "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585776");
 script_xref(name : "URL" , value : "http://freshmeat.net/projects/pyftpd/");

 script_tag(name:"qod_type", value:"remote_vul");
 script_category(ACT_ATTACK);
 script_family("FTP");
 script_copyright("This script is Copyright (C) 2010 Greenbone Networks GmbH");
 script_dependencies("find_service.nasl","secpod_ftp_anonymous.nasl","ftpserver_detect_type_nd_version.nasl");
 script_require_ports("Services/ftp", 21);
 script_tag(name : "solution" , value : tag_solution);
 script_tag(name : "summary" , value : tag_summary);
 exit(0);
}

include("ftp_func.inc");

ftpPort = get_kb_item("Services/ftp");
if(!ftpPort){
  ftpPort = 2121;
}

if(get_kb_item('ftp/'+ftpPort+'/broken'))exit(0);

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

domain = get_kb_item("Settings/third_party_domain");
if(isnull(domain)) {
 domain = this_host_name();;
}    

users = files = make_list("test","user","huddel");
success = 0;
failed = 0;

foreach user (users) {

  soc1 = open_sock_tcp(ftpPort);
  if(!soc1){
      exit(0);
  }

  login_details = ftp_log_in(socket:soc1, user:user, pass:user);

  if(login_details)
  {
    success++;
    ftp_close(socket:soc1);
  } else {
    failed++;
    ftp_close(socket:soc1);
  }  
}

if(success == 2 && failed == 1) {
  security_message(port:ftpPort);
  exit(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