Lucene search
+L

Siemens Desigo PXC Detection (BACNET)

🗓️ 26 Jan 2018 00:00:00Reported by Copyright (C) 2018 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 40 Views

Siemens Desigo PXC Detection over BACnet protoco

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

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.140728");
  script_version("2023-07-25T05:05:58+0000");
  script_tag(name:"last_modification", value:"2023-07-25 05:05:58 +0000 (Tue, 25 Jul 2023)");
  script_tag(name:"creation_date", value:"2018-01-26 11:48:03 +0700 (Fri, 26 Jan 2018)");
  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:"qod_type", value:"remote_banner");

  script_name("Siemens Desigo PXC Detection (BACNET)");

  script_tag(name:"summary", value:"Detection of Siemens Desigo PXC

Tries to detect Siemens Desigo PXC over the BACnet protocol.");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2018 Greenbone AG");
  script_family("Product detection");
  script_dependencies("gb_bacnet_detect.nasl");
  script_mandatory_keys("bacnet/vendor", "bacnet/model_name");

  script_xref(name:"URL", value:"https://www.siemens.com/global/en/home/products/buildings/automation/desigo.html");

  exit(0);
}

include("cpe.inc");
include("host_details.inc");

vendor = get_kb_item("bacnet/vendor");
if (!vendor || "Siemens Building Technologies" >!< vendor)
  exit(0);

model = get_kb_item("bacnet/model_name");
if (!model || model !~ "^(PXC|PX MMI)")
  exit(0);

set_kb_item(name: "siemens_desigo_pxc/model", value: model);

fw_version = "unknown";

fw = get_kb_item("bacnet/firmware");
if (fw) {
  fw_tmp = eregmatch(pattern: "FW(Id)?=V([0-9.]+)", string: fw);
  if (!isnull(fw_tmp[2])) {
    fw_version = fw_tmp[2];
    set_kb_item(name: "siemens_desigo_pxc/fw_version", value: fw_version);
  }

  hw = eregmatch(pattern: "HW=V([0-9.]+)", string: fw);
  if (!isnull(hw[1])) {
    hw_version = hw[1];
    set_kb_item(name: "siemens_desigo_pxc/hw_version", value: hw_version);
    extra = "Hardware version:  " + hw_version;
  }
  else {
    hw = eregmatch(pattern: "HW=V([0-9.]+)", string: model);
    if (!isnull(hw[1])) {
      hw_version = hw[1];
      set_kb_item(name: "siemens_desigo_pxc/hw_version", value: hw_version);
      extra = "Hardware version:  " + hw_version;
    }
  }
}

set_kb_item(name: "siemens_desigo_pxc/installed", value: TRUE);

cpe = build_cpe(value: fw_version, exp: "^([0-9.]+)", base: "cpe:/a:siemens:desigo_pxc:");
if (!cpe)
  cpe = 'cpe:/a:siemens:desigo_pxc';

register_product(cpe: cpe, port: 47808, service: "bacnet", proto: "udp");

log_message(data: build_detection_report(app: "Siemens Desigo PCX " + model, version: fw_version,
                                         install: "47808/udp", cpe: cpe, concluded: fw, extra: extra),
            port: 47808, proto: "udp");

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

25 Jul 2023 00:00Current
7High risk
Vulners AI Score7
40