Lucene search
+L

DataWizard FTPXQ Default Accounts

🗓️ 24 Oct 2008 00:00:00Reported by Copyright (C) 2008 Justin SeitzType 
openvas
 openvas
🔗 plugins.openvas.org👁 21 Views

DataWizard FTPXQ Default Accounts vulnerability with default accounts setup allowing unauthorized access to the system

Related
Refs
Code
ReporterTitlePublishedViews
Family
nessus
Tenable Nessus
FtpXQ FTP Server < 3.0.2 Multiple Vulnerabilities
25 Oct 200600:00
nessus
nessus
Tenable Nessus
DataWizard FTPXQ Default Accounts
14 Nov 200600:00
nessus
cve
CVE
CVE-2006-5569
27 Oct 200616:00
cve
cvelist
Cvelist
CVE-2006-5569
27 Oct 200616:00
cvelist
euvd
EUVD
EUVD-2006-5554
7 Oct 202500:30
euvd
nvd
NVD
CVE-2006-5569
27 Oct 200616:07
nvd
openvas
OpenVAS
DataWizard FTPXQ Default Accounts
24 Oct 200800:00
openvas
redhatcve
RedhatCVE
CVE-2006-5569
21 May 202519:37
redhatcve
# SPDX-FileCopyrightText: 2008 Justin Seitz
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.80053");
  script_version("2023-08-01T13:29:10+0000");
  script_tag(name:"last_modification", value:"2023-08-01 13:29:10 +0000 (Tue, 01 Aug 2023)");
  script_tag(name:"creation_date", value:"2008-10-24 23:33:44 +0200 (Fri, 24 Oct 2008)");
  script_tag(name:"cvss_base", value:"6.4");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:N");
  script_cve_id("CVE-2006-5569");
  script_xref(name:"OSVDB", value:"30010");
  script_name("DataWizard FTPXQ Default Accounts");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2008 Justin Seitz");
  script_family("FTP");
  script_dependencies("ftpserver_detect_type_nd_version.nasl");
  script_require_ports("Services/ftp", 21);
  script_mandatory_keys("ftp/ftpxq/detected");

  script_tag(name:"solution", value:"Disable or change the password for any unnecessary user accounts.");

  script_tag(name:"summary", value:"The version of DataWizard FTPXQ that is installed on the remote host
  has one or more default accounts setup which can allow an attacker to read and/or write arbitrary files on the system.");

  script_xref(name:"URL", value:"http://attrition.org/pipermail/vim/2006-November/001107.html");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/20721");

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

  exit(0);
}

include("ftp_func.inc");
include("misc_func.inc");
include("port_service_func.inc");

port   = ftp_get_port( default:21 );
banner = ftp_get_banner( port:port );
if( ! banner || "FtpXQ FTP" >!< banner )
  exit( 0 );

soc = open_sock_tcp(port);
if(!soc)
  exit(0);

n = 0;
acct[n] = "anonymous";
pass[n] = "";
n++;
acct[n] = "test";
pass[n] = "test";

file = '\\boot.ini';
contents = "";
info = "";
for (i=0; i<max_index(acct); i++) {
  login = acct[i];
  password = pass[i];

  if (ftp_authenticate(socket:soc, user:login, pass:password)) {
    info += "  " + login + "/" + password + '\n';

    if (strlen(contents) == 0) {
      # We have identified that we have logged in with the account, let's try to read boot.ini.
      port2 = ftp_pasv(socket:soc);
      if (!port2) exit(0);
      soc2 = open_sock_tcp(port2, transport:ENCAPS_IP);
      if (!soc2) exit(0);

      attackreq = string("RETR ", file);
      send(socket:soc, data:string(attackreq, "\r\n"));
      attackres = ftp_recv_line(socket:soc);
      if (egrep(string:attackres, pattern:"^(425|150) ")) {
        attackres2 = ftp_recv_data(socket:soc2);

        # There's a problem if it looks like a boot.ini.
        if ("[boot loader]" >< attackres2)
          contents = attackres2;
      }
    }
  }
}

if (info) {
  info = string("The remote version of FTPXQ has the following\n",
    "default accounts enabled :\n\n",
    info);

  if ("test/test" >< info)
    info = string(info, "\n",
      "Note that the test account reportedly allows write access to the entire\n",
      "filesystem, although the scanner did not attempt to verify this.\n");

  if (contents)
    info = string(info, "\n",
      "In addition, the scanner was able to use one of the accounts to read ", file, " :\n",
      "\n",
      contents);

  security_message(data:info, port:port);
}
ftp_close(socket:soc);

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

01 Aug 2023 00:00Current
6.9Medium risk
Vulners AI Score6.9
CVSS 26.4
EPSS0.01222
21