HangZhou XiongMai Technologies Net Surveillance Default Credentials (HTTP)
🗓️ 09 Oct 2018 00:00:00Reported by Copyright (C) 2018 Greenbone AGType
openvas🔗 plugins.openvas.org👁 3878 Views
| Reporter | Title | Published | Views | Family All 4 |
|---|---|---|---|---|
| Default Password 'xc3511' for 'root' Account | 28 Oct 201600:00 | – | nessus | |
| CVE-2016-1000245 | 30 Mar 201714:50 | – | cve | |
| SSH Brute Force Logins With Default Credentials Reporting | 2 Nov 201600:00 | – | openvas | |
| New Mirai Variant Roars into Action With 54 Hour DDoS Attacks | 30 Mar 201714:50 | – | threatpost |
# SPDX-FileCopyrightText: 2018 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
CPE = "cpe:/a:xiongmai:net_surveillance";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.114039");
script_version("2025-03-19T05:38:35+0000");
# nb: This has been assigned by the Distributed Weakness Filing (DWF) Project but seems never was
# really published due to some problems with the scope of that project (see relevant news around
# this). We still have added it here for tracking / references purposes as it is actually
# referenced via various sources.
script_cve_id("CVE-2016-1000245");
script_tag(name:"cvss_base", value:"6.4");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:N");
script_tag(name:"last_modification", value:"2025-03-19 05:38:35 +0000 (Wed, 19 Mar 2025)");
script_tag(name:"creation_date", value:"2018-10-09 19:58:10 +0200 (Tue, 09 Oct 2018)");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2018 Greenbone AG");
script_family("Default Accounts");
script_name("HangZhou XiongMai Technologies Net Surveillance Default Credentials (HTTP)");
script_dependencies("gb_xiongmai_net_surveillance_detect.nasl",
"gb_default_credentials_options.nasl");
script_require_ports("Services/www", 80);
script_mandatory_keys("xiongmai/net_surveillance/http/detected");
script_exclude_keys("default_credentials/disable_default_account_checks");
script_xref(name:"URL", value:"https://sec-consult.com/blog/detail/millions-of-xiongmai-video-surveillance-devices-can-be-hacked-via-cloud-feature-xmeye-p2p-cloud/");
script_xref(name:"URL", value:"https://securityledger.com/2016/10/shoddy-supply-chain-lurks-behind-mirai-botnet/");
script_xref(name:"URL", value:"https://flashpoint.io/blog/mirai-botnet-when-vulnerabilities-travel-downstream/");
script_xref(name:"URL", value:"https://krebsonsecurity.com/2016/10/europe-to-push-new-security-rules-amid-iot-mess/");
script_xref(name:"URL", value:"https://krebsonsecurity.com/tag/xc3511/");
script_xref(name:"URL", value:"https://github.com/daniel-beck/DWF-Database/blob/master/DWF-Database-2016.csv");
script_tag(name:"summary", value:"The remote installation of HangZhou XiongMai Technologies Net
Surveillance is using known default credentials for the HTTP login.");
script_tag(name:"vuldetect", value:"Checks if a successful login via HTTP is possible.");
script_tag(name:"insight", value:"The installation of HangZhou XiongMai Technologies Net
Surveillance is lacking a proper password configuration, which makes critical information and
actions accessible for people with knowledge of the default credentials.");
script_tag(name:"impact", value:"This issue may be exploited by a remote attacker to gain access
to sensitive information or modify system configuration.");
script_tag(name:"affected", value:"Various HangZhou XiongMai Technologies DVRs, NVRs and IP
cameras are known to be affected.
Please note that this vulnerability affects a wide number of products and manufacturers that ship
products based on the hardware and software shipped by HangZhou XiongMai Technologies.");
script_tag(name:"solution", value:"Change the passwords for user and admin access.");
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("http_func.inc");
include("http_keepalive.inc");
include("host_details.inc");
include("misc_func.inc");
if(!port = get_app_port(cpe: CPE, service: "www"))
exit(0);
if(!get_app_location(cpe: CPE, port: port, nofork: TRUE))
exit(0);
creds = make_array("admin", "",
"default", "tluafed",
"root", "xc3511");
url = "/Login.htm";
foreach username(keys(creds)) {
password = creds[username];
auth_cookie = "NetSuveillanceWebCookie=%7B%22username%22%3A%22" + username + "%22%7D";
data = "command=login&username=" + username + "&password=" + password;
req = http_post_put_req(port: port,
url: url,
data: data,
add_headers: make_array("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
"Cookie", auth_cookie));
res = http_keepalive_send_recv(port: port, data: req);
if("var g_SoftWareVersion=" >< res && 'failedinfo="Log in failed!"' >!< res) {
VULN = TRUE;
if(!password)
password = "<no/empty password>";
report += '\n' + username + ':' + password;
}
}
if(VULN) {
report = 'It was possible to login with the following default credentials (username:password):\n' + report;
security_message(port: port, data: report);
exit(0);
}
exit(99);
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
19 Mar 2025 00:00Current
7.3High risk
Vulners AI Score7.3