CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
AI Score
Confidence
High
EPSS
Percentile
85.9%
The account
# SPDX-FileCopyrightText: 2003 Chris Foster
# 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.11861");
script_version("2024-04-24T05:05:32+0000");
script_tag(name:"last_modification", value:"2024-04-24 05:05:32 +0000 (Wed, 24 Apr 2024)");
script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
script_tag(name:"cvss_base", value:"7.5");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_cve_id("CVE-1999-0501", "CVE-1999-0502", "CVE-2001-0051");
script_name("Default password 'ibmdb2' for account 'db2fenc1' (SSH/Telnet)");
script_copyright("Copyright (C) 2003 Chris Foster");
script_category(ACT_ATTACK);
script_family("Default Accounts");
script_dependencies("find_service.nasl", "telnet.nasl", "ssh_detect.nasl", "gb_default_credentials_options.nasl");
script_require_ports("Services/telnet", 23, "Services/ssh", 22);
script_exclude_keys("default_credentials/disable_default_account_checks");
script_xref(name:"URL", value:"https://web.archive.org/web/20210121153646/http://www.securityfocus.com/bid/2068/");
script_tag(name:"summary", value:"The account 'db2fenc1' has the password 'ibmdb2'.");
script_tag(name:"vuldetect", value:"Tries to login via SSH or Telnet with known default
credentials.");
script_tag(name:"impact", value:"An attacker may use it to gain further privileges on this
system.");
script_tag(name:"solution", value:"Set a strong password for this account or disable it.
Note: This may disable dependent applications so beware.");
script_tag(name:"solution_type", value:"Mitigation");
script_tag(name:"qod_type", value:"remote_vul");
exit(0);
}
if( get_kb_item( "default_credentials/disable_default_account_checks" ) )
exit( 0 );
include("ssh_func.inc");
include("telnet_func.inc");
include("default_account.inc");
include("misc_func.inc");
include("port_service_func.inc");
account = "db2fenc1";
password = "ibmdb2";
port = check_account( login:account, password:password );
if( port ) {
security_message( port:port );
exit( 0 );
}
exit( 99 );