Lucene search
+L

Zavio IP Cameras Detection (HTTP)

🗓️ 30 Apr 2019 00:00:00Reported by Copyright (C) 2019 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 84 Views

Zavio IP Cameras Remote Detection script sends an HTTP GET request to detect Zavio IP Cameras presence

Code
# 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

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.114095");
  script_version("2025-09-09T14:09:45+0000");
  script_tag(name:"cvss_base", value:"0.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:N");
  script_tag(name:"last_modification", value:"2025-09-09 14:09:45 +0000 (Tue, 09 Sep 2025)");
  script_tag(name:"creation_date", value:"2019-04-30 14:52:46 +0200 (Tue, 30 Apr 2019)");
  script_name("Zavio IP Cameras Detection (HTTP)");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2019 Greenbone AG");
  script_family("Product detection");
  script_dependencies("find_service.nasl", "httpver.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 80);
  script_exclude_keys("Settings/disable_cgi_scanning");

  script_tag(name:"summary", value:"HTTP based detection of Zavio IP Cameras.");

  script_tag(name:"qod_type", value:"remote_banner");

  exit(0);
}

include("cpe.inc");
include("host_details.inc");
include("os_func.inc");
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");

#Note: This software is nearly identical to the one used by Beward -> gb_beward_ip_camera_http_detect.nasl
#There are more devices from e.g. TP-Link(gb_tp_link_ip_cameras_detect.nasl) that use this same exact software as well.
#Pearl also uses this software -> gb_pearl_ip_cameras_detect.nasl

port = http_get_port(default: 80);

#Some devices require authorization to view this page
url = "/profile";
res = http_get_cache(port: port, item: url);

#initProdShortName="F7210 2M Metal Box IP Camera"; BrandCopyright="ZAVIO ";
if(res =~ 'initProdNbr="([^"]+)";' && (res =~ 'BrandCopyright="Zavio\\s*";' || res =~ 'initBrand="Zavio\\s*";')) {
  version = "unknown";
  model = "unknown";

  mod = eregmatch(pattern: 'initProdNbr="([^"]+)";', string: res);
  if(!isnull(mod[1])) {
    model = string(mod[1]);
  }

  set_kb_item(name: "zavio/ip_camera/detected", value: TRUE);
  if(model != "unknown") {
    cpe_model = str_replace(string: tolower(model), find: " ", replace: "_");
    hw_cpe = "cpe:/h:zavio:ip_camera_" + cpe_model + ":";
    os_cpe = "cpe:/o:zavio:ip_camera_" + cpe_model + "_firmware";
    os_name = "Zavio IP Camera " + model + " Firmware";
    extra_info = "Detected model: " + model;
  } else {
    hw_cpe = "cpe:/h:zavio:ip_camera_unknown_model:";
    os_cpe = "cpe:/o:zavio:ip_camera_unknown_model_firmware";
    os_name = "Zavio IP Camera Unknown Model Firmware";
  }

  os_register_and_report( os:os_name, cpe:os_cpe, desc:"Zavio IP Cameras Detection (HTTP)", runs_key:"unixoide" );

  conclUrl = http_report_vuln_url(port: port, url: url, url_only: TRUE);

  register_and_report_cpe(app: "Zavio IP Camera",
                          ver: version,
                          base: hw_cpe,
                          expr: "^([0-9.]+)",
                          insloc: "/",
                          regPort: port,
                          regService: "www",
                          conclUrl: conclUrl,
                          extra: extra_info);
}

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

09 Sep 2025 00:00Current
7High risk
Vulners AI Score7
84