Lucene search

K
nessusThis script is Copyright (C) 2003-2018 Tenable Network Security, Inc.BLACKMOON_FTP_USERS_DATABASE.NASL
HistoryMay 27, 2003 - 12:00 a.m.

BlackMoon FTP Server blackmoon.mdb Plaintext Password Disclosure

2003-05-2700:00:00
This script is Copyright (C) 2003-2018 Tenable Network Security, Inc.
www.tenable.com
37

4.6 Medium

CVSS2

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:L/AC:L/Au:N/C:P/I:P/A:P

0.0004 Low

EPSS

Percentile

5.1%

BlackMoon FTP server is installed on the remote host. FTP usernames and passwords are stored on the server in plaintext in a filed called ‘blackmoon.mdb.’ Any user with an account on this host may read the credentials stored in this file, and use them to connect to this FTP server.

#
# (C) Tenable Network Security, Inc.
#
# Ref: https://marc.info/?l=bugtraq&m=105353283720837&w=2


include("compat.inc");


if (description)
{
 script_id(11649);
 script_version("1.20");
 script_cvs_date("Date: 2018/11/15 20:50:26");
 script_bugtraq_id(7646);
 script_cve_id("CVE-2003-0342");
 script_xref(name:"Secunia",value:"8840");


 script_name(english:"BlackMoon FTP Server blackmoon.mdb Plaintext Password Disclosure");
 script_summary(english:"Determines the presence of Blackmoon ftp users database");

 script_set_attribute(attribute:"synopsis", value:
"The remote FTP server is affected by a password disclosure
vulnerability.");
 script_set_attribute(attribute:"description", value:
"BlackMoon FTP server is installed on the remote host. FTP usernames
and passwords are stored on the server in plaintext in a filed called
'blackmoon.mdb.' Any user with an account on this host may read the
credentials stored in this file, and use them to connect to this FTP
server.");
 script_set_attribute(attribute:"see_also", value:"https://marc.info/?l=bugtraq&m=105353283720837&w=2");
 script_set_attribute(attribute:"solution", value:"Upgrade to the latest version of BlackMoon FTP.");
 script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:S/C:P/I:P/A:P");
 script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
 script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
 script_set_attribute(attribute:"exploit_available", value:"false");

 script_set_attribute(attribute:"vuln_publication_date", value:"2003/05/20");
 script_set_attribute(attribute:"plugin_publication_date", value:"2003/05/27");

 script_set_attribute(attribute:"plugin_type", value:"local");
 script_end_attributes();

 script_category(ACT_GATHER_INFO);
 script_family(english:"Windows");

 script_copyright(english:"This script is Copyright (C) 2003-2018 Tenable Network Security, Inc.");

 script_dependencies( "smb_hotfixes.nasl");
 script_require_keys("SMB/Registry/Enumerated");

 script_require_ports(139, 445);
 exit(0);
}


include("smb_func.inc");
include("smb_hotfixes.inc");
include("audit.inc");

rootfile = hotfix_get_programfilesdir();
if  ( ! rootfile ) exit(0);

login	=  kb_smb_login();
pass  	=  kb_smb_password();
domain 	=  kb_smb_domain();
port    =  kb_smb_transport();


share = ereg_replace(pattern:"^([A-Za-z]):.*", replace:"\1$", string:rootfile);
exe =  ereg_replace(pattern:"^[A-Za-z]:(.*)", replace:"\1\Selom Ofori\BlackMoon FTP Server\blackmoon.mdb", string:rootfile);


if(! smb_session_init()) audit(AUDIT_FN_FAIL, 'smb_session_init');

r = NetUseAdd(login:login, password:pass, domain:domain, share:share);
if ( r != 1 ) exit(0);

handle = CreateFile (file:exe, desired_access:GENERIC_READ, file_attributes:FILE_ATTRIBUTE_NORMAL,
                     share_mode:FILE_SHARE_READ, create_disposition:OPEN_EXISTING);
if(! isnull(handle) )
{
 data = ReadFile(handle:handle, length:16384, offset:0);
 if("Standard Jet DB" >< data) security_warning(port);
 CloseFile(handle:handle);
}

NetUseDel();

4.6 Medium

CVSS2

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:L/AC:L/Au:N/C:P/I:P/A:P

0.0004 Low

EPSS

Percentile

5.1%

Related for BLACKMOON_FTP_USERS_DATABASE.NASL