Lucene search
+L

MLdonkey HTTP Request Arbitrary File Download Vulnerability

🗓️ 17 Mar 2009 00:00:00Reported by This script is Copyright (C) 2009 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 17 Views

MLdonkey HTTP Request Arbitrary File Download Vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-0753
23 Feb 200900:00
circl
cve
CVE
CVE-2009-0753
3 Mar 200916:00
cve
cvelist
Cvelist
CVE-2009-0753
3 Mar 200916:00
cvelist
debian
Debian
[SECURITY] [DSA 1739-1] New mldonkey packages fix information disclosure
13 Mar 200920:58
debian
debiancve
Debian CVE
CVE-2009-0753
3 Mar 200916:00
debiancve
nessus
Tenable Nessus
Debian DSA-1739-1 : mldonkey - path traversal
24 Mar 200900:00
nessus
nessus
Tenable Nessus
Fedora 9 : mldonkey-3.0.0-1.fc9 (2009-2703)
17 Mar 200900:00
nessus
nessus
Tenable Nessus
Fedora 10 : mldonkey-3.0.0-1.fc10 (2009-2758)
23 Apr 200900:00
nessus
nessus
Tenable Nessus
GLSA-200903-36 : MLDonkey: Information disclosure
24 Mar 200900:00
nessus
exploitdb
Exploit DB
MLdonkey 2.9.7 - Arbitrary File Disclosure
23 Feb 200900:00
exploitdb
Rows per page
SourceLink
securityfocuswww.securityfocus.com/bid/33865
###############################################################################
# OpenVAS Vulnerability Test
# $Id: mldonkey_2_9_7_remote.nasl 8024 2017-12-07 08:47:24Z teissa $
#
# MLdonkey HTTP Request Arbitrary File Download Vulnerability
#
# Authors:
# Michael Meyer
#
# Copyright:
# Copyright (c) 2009 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 = "MLdonkey is prone to a vulnerability that lets attackers download arbitrary
  files. The issue occurs because the application fails to sufficiently sanitize
  user-supplied input.

  Exploiting this issue will allow an attacker to view arbitrary files within
  the context of the application. Information harvested may aid in launching
  further attacks.

  MLdonkey 2.9.7 is vulnerable; other versions may also be affected.";

tag_solution = "Fixes are available; please see the http://www.nongnu.org/mldonkey/ for more
  information.";


if(description)
{
  script_id(100057);
  script_version("$Revision: 8024 $");
  script_tag(name:"last_modification", value:"$Date: 2017-12-07 09:47:24 +0100 (Thu, 07 Dec 2017) $");
  script_tag(name:"creation_date", value:"2009-03-17 18:51:21 +0100 (Tue, 17 Mar 2009)");
  script_bugtraq_id(33865);
  script_cve_id("CVE-2009-0753");
  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("MLdonkey HTTP Request Arbitrary File Download Vulnerability");

  script_tag(name:"qod_type", value:"remote_vul");

  script_category(ACT_GATHER_INFO);
  script_copyright("This script is Copyright (C) 2009 Greenbone Networks GmbH");
  family = "Peer-To-Peer File Sharing";
  script_family(family);
  script_dependencies("mldonkey_www.nasl");
  script_require_ports("Services/www", 4080);

  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  script_xref(name : "URL" , value : "http://www.securityfocus.com/bid/33865");
  exit(0);
}

include("http_func.inc");
include("misc_func.inc");
include("http_keepalive.inc");

 port = get_kb_item("MLDonkey/www/port/");
 if(isnull(port))exit(0);

 req = http_get(item:string("//etc/passwd"), port:port);
 buf = http_keepalive_send_recv(port:port, data:req, bodyonly:FALSE);
 if(buf == NULL )exit(0);

 if( egrep(pattern:"root:.*:0:[01]:.*", string: buf) ) {
   security_message(port:port);
   exit(0);

 } else {
   # server allows connections only from localhost by default. So check the version

   version = get_kb_item(string("www/", port, "/MLDonkey/version"));
   if(isnull(version) || version >< "unknown")exit(0);
   
   if(version <= "2.9.7") {
    info  = string("According to its version number ("); 
    info += version;
    info += string(") MLDonkey is\nvulnerable, but seems to be reject connections from "); 
    info += this_host_name();
    info +=  string(".\n\n");

    security_message(port:port,data:info);
    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

07 Dec 2017 00:00Current
6.1Medium risk
Vulners AI Score6.1
EPSS0.05803
17