Siemens SIMATIC HMI Device Detection Consolidation
🗓️ 14 Nov 2018 00:00:00Reported by Copyright (C) 2018 Greenbone AGType
openvas🔗 plugins.openvas.org👁 33 Views
| Source | Link |
|---|---|
| siemens | www.siemens.com/global/en/home/products/automation/simatic-hmi.html |
# 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.141684");
script_version("2026-06-10T06:59:19+0000");
script_tag(name:"last_modification", value:"2026-06-10 06:59:19 +0000 (Wed, 10 Jun 2026)");
script_tag(name:"creation_date", value:"2018-11-14 15:35:48 +0700 (Wed, 14 Nov 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 SIMATIC HMI Device Detection Consolidation");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2018 Greenbone AG");
script_family("Product detection");
script_dependencies("gb_simatic_hmi_snmp_detect.nasl", "gb_simatic_hmi_http_detect.nasl");
script_mandatory_keys("siemens/simatic/hmi/detected");
script_tag(name:"summary", value:"Consolidation of Siemens SIMATIC HMI device detections.");
script_xref(name:"URL", value:"https://www.siemens.com/global/en/home/products/automation/simatic-hmi.html");
exit(0);
}
include("host_details.inc");
include("os_func.inc");
if (!get_kb_item("siemens/simatic/hmi/detected"))
exit(0);
detected_fw_version = "unknown";
detected_hw_version = "unknown";
detected_model = "unknown";
location = "/";
foreach source (make_list("http", "snmp")) {
fw_version_list = get_kb_list("siemens/simatic/hmi/" + source + "/*/fw_version");
foreach fw_version (fw_version_list) {
if (fw_version && fw_version != "unknown") {
detected_fw_version = fw_version;
set_kb_item(name: "siemens/simatic/hmi/fw_version", value: fw_version);
break;
}
}
hw_version_list = get_kb_list("siemens/simatic/hmi/" + source + "/*/hw_version");
foreach hw_version (hw_version_list) {
if (hw_version && hw_version != "unknown") {
detected_hw_version = hw_version;
set_kb_item(name: "siemens/simatic/hmi/hw_version", value: hw_version);
break;
}
}
model_list = get_kb_list("siemens/simatic/hmi/" + source + "/*/model");
foreach model (model_list) {
if (model && model != "unknown") {
detected_model = chomp(model);
set_kb_item(name: "siemens/simatic/hmi/model", value: model);
break;
}
}
}
# https://cache.industry.siemens.com/dl/files/300/109481300/att_871072/v5/109481300_Panel_SecurityGuidelines_en.pdf
# Page 9 "Panel operating system"
# Basic Panels
# SIMATIC HMI Basic Panels have an operating system that is configured and created by Siemens.
# Comfort Panels
# SIMATIC HMI Comfort Panels have a "WinCE Embedded" operating system specially configured for SIEMENS.
# nb: If no "Comfort" and "Basic" is included we're assuming Windows CE for now.
if ("Comfort" >< detected_model || "Basic" >!< detected_model) {
os_name = "Windows CE";
os_cpe = "cpe:/o:microsoft:windows_ce";
} else {
os_name = "Siemens SIMATIC HMI OS";
os_cpe = "cpe:/o:siemens:simatic_hmi_os";
}
os_register_and_report(os: os_name, cpe: os_cpe, runs_key: "windows",
desc: "Siemens SIMATIC HMI Device Detection Consolidation");
app_name = "Siemens SIMATIC HMI ";
hw_name = "Siemens SIMATIC HMI ";
if (detected_model != "unknown") {
_detected_model = str_replace(find: " ", string: detected_model, replace: "_" );
_detected_model = tolower( _detected_model );
app_name += detected_model + " Firmware";
app_cpe = "cpe:/a:siemens:simatic_hmi_" + _detected_model + "_firmware";
hw_name += detected_model;
hw_cpe = "cpe:/h:siemens:simatic_hmi_" + _detected_model;
} else {
app_name += " Unknown Model Firmware";
app_cpe = "cpe:/a:siemens:simatic_hmi_unknown_model_firmware";
hw_name += " Unknown Model";
hw_cpe = "cpe:/h:siemens:simatic_hmi_unknown_model";
}
if (detected_fw_version != "unknown")
app_cpe += ":" + detected_fw_version;
if (detected_hw_version != "unknown")
hw_cpe += ":" + detected_hw_version;
if (snmp_ports = get_kb_list("siemens/simatic/hmi/snmp/port")) {
foreach port (snmp_ports) {
extra += "SNMP on port " + port + '/udp\n';
concluded = get_kb_item("siemens/simatic/hmi/snmp/" + port + "/concluded");
if (concluded)
extra += " Concluded from SNMP sysDescr OID: " + concluded + '\n';
register_product(cpe: app_cpe, location: location, port: port, service: "snmp", proto: "udp");
register_product(cpe: hw_cpe, location: location, port: port, service: "snmp", proto: "udp");
}
}
if (http_ports = get_kb_list("siemens/simatic/hmi/http/port")) {
foreach port (http_ports) {
extra += "HTTP(s) on port " + port + '/tcp\n';
concluded = get_kb_item("siemens/simatic/hmi/http/" + port + "/concluded");
if (concluded)
extra += ' Concluded from version/product identification result:\n' + concluded + '\n';
conclUrl = get_kb_item("siemens/simatic/hmi/http/" + port + "/concludedUrl");
if (conclUrl)
extra += " Concluded from version/product identification location: " + conclUrl + '\n';
register_product(cpe: app_cpe, location: location, port: port, service: "www");
register_product(cpe: hw_cpe, location: location, port: port, service: "www");
}
}
report = build_detection_report(app: app_name, version: detected_fw_version,
install: location, cpe: app_cpe);
report += '\n\n';
report += build_detection_report(app: hw_name, version: detected_hw_version,
install: location, cpe: hw_cpe);
if (extra) {
report += '\n\nDetection methods:\n';
report += '\n' + chomp(extra);
}
log_message(port: 0, data: report);
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
10 Jun 2026 00:00Current
5.4Medium risk
Vulners AI Score5.4