Lucene search
+L

SMC2804WBR Router Default Password (smcadmin)

🗓️ 22 Feb 2004 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 53 Views

SMC2804WBR Router has default password 'smcadmin', allowing unauthorized access. Change it.

Code
#
# This script was written by Audun Larsen <[email protected]>
#

# Changes by Tenable:
# - only attempt to login if the policy allows it (10/25/11)
# - Revised plugin title, output formatting (9/3/09)
# - Updated to use compat.inc, added CVSS score (11/20/2009)
# - Add script_exclude_key for supplied_logins_only (6/19/2015)


include("compat.inc");

if(description)
{
 script_id(12069);
 script_version("1.14");
 script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/12");

 script_name(english:"SMC2804WBR Router Default Password (smcadmin)");
 
 script_set_attribute(attribute:"synopsis", value:
"The remote router can be accessed with default credentials." );
 script_set_attribute(attribute:"description", value:
"The remote host is a SMC2804WBR access point.

This host is installed with a default administrator 
password (smcadmin) which has not been modified.

An attacker may exploit this flaw to gain control over
this host using the default password." );
 script_set_attribute(attribute:"solution", value:
"Change the administrator password" );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");

 script_set_attribute(attribute:"plugin_publication_date", value: "2004/02/22");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"default_account", value:"true");
script_end_attributes();

 
 script_summary(english:"Logs in with default password on SMC2804WBR");
 script_category(ACT_GATHER_INFO);
 script_copyright(english:"This script is Copyright (C) 2004-2020 Audun Larsen");
 script_family(english:"Misc.");
 script_dependencie("find_service1.nasl", "http_version.nasl");
 script_exclude_keys("global_settings/supplied_logins_only");
 script_require_ports("Services/www", 80);
 exit(0);
}

# Check starts here

include("global_settings.inc");
include("http_func.inc");
include("http_keepalive.inc");
port = get_http_port(default:80, embedded:TRUE);
if ( supplied_logins_only ) exit(0, "Policy is configured to prevent trying default user accounts");
res = http_get_cache_ka(item:"/", port:port);
if( res == NULL ) exit(0);
if("SMC2804WBR" >< res && "Please enter correct password for Administrator Access. Thank you." >< res)
 {

  host = get_host_name();
  variables = string("page=login&pws=smcadmin");
  req = string("POST /login.htm HTTP/1.1\r\n", 
  	      "Host: ", host, ":", port, "\r\n", 
	      "Content-Type: application/x-www-form-urlencoded\r\n", 
	      "Content-Length: ", strlen(variables), "\r\n\r\n", variables);

  buf = http_keepalive_send_recv(port:port, data:req);
  if(buf == NULL)exit(0);
  if("<title>LOGIN</title>" >< buf)
  {
  } else {
   security_hole(port);
   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