| Source | Link |
|---|---|
| seclists | www.seclists.org/bugtraq/1998/Jun/51 |
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(11493);
script_version("1.18");
script_cvs_date("Date: 2018/11/15 20:50:25");
script_bugtraq_id(2255);
script_name(english:"Sambar Server Default Accounts");
script_summary(english:"Tests for default accounts");
script_set_attribute(attribute:"synopsis", value:"Default accounts are active on the remote web server.");
script_set_attribute(attribute:"description", value:
"The Sambar web server comes with some default accounts. It is possible
to log in as some of them without password. An attacker may use this
flaw to alter the content of this server.");
script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/1998/Jun/51");
script_set_attribute(attribute:"solution", value:"Set a password for every account or disable it.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_attribute(attribute:"vuln_publication_date", value:"1998/06/10");
script_set_attribute(attribute:"plugin_publication_date", value:"2003/03/28");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_copyright("This script is Copyright (C) 2003-2018 Tenable Network Security, Inc.");
script_family(english:"Web Servers");
script_dependencies("find_service1.nasl", "http_version.nasl");
script_exclude_keys("global_settings/supplied_logins_only");
script_require_keys("www/sambar");
script_require_ports("Services/www", 80);
exit(0);
}
# The script code starts here
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
port = get_http_port(default:80);
if (supplied_logins_only) audit(AUDIT_SUPPLIED_LOGINS_ONLY);
valid = NULL;
hole = 0;
users = make_list("billy-bob", "admin", "anonymous");
foreach user (users)
{
content = "RCpage=%2Fsysuser%2Fdocmgr%2Fbrowse.stm&onfailure=%2Fsysuser%2Fdocmgr%2Frelogin.htm&path=%2F&RCSsortby=name&RCSbrowse=%2Fsysuser%2Fdocmgr&RCuser=" + user +
"&RCpwd=";
r = http_send_recv3(method: "POST", version: 11, port: port, item: "/session/login", add_headers: make_array("Content-Type", "application/x-www-form-urlencoded"), data: content);
if (isnull(r)) exit(0);
if (ereg(pattern:"^HTTP/[0-9]\.[0-9] 404 ", string: r[0])) exit(0);
if("Sambar Server Document Manager" >< r[2])
{
valid += user + '\n';
if(user == "admin")hole ++;
}
}
if( valid )
{
report = '
It is possible to log in as the following passwordless users in the remote
Sambar web server :
' +
valid;
security_hole(port:port, extra: report);
}
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