Lucene search

K
nessusThis script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.TENABLE_OT_SIEMENS_CVE-2022-0778.NASL
HistoryMar 22, 2024 - 12:00 a.m.

Siemens SCALANCE W1750D Command Injection (CVE-2022-0778)

2024-03-2200:00:00
This script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
16
siemens scalance w1750d
command injection
cve-2022-0778
openssl
bn_mod_sqrt
infinite loop
non-prime moduli
denial of service
crafted certificates
private keys
tenable.ot
tenable ot scanner

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

AI Score

8.2

Confidence

High

EPSS

0.015

Percentile

87.3%

The BN_mod_sqrt() function in openSSL, which computes a modular square root, contains a bug that can cause it to loop forever for non-prime moduli. Internally this function is used when parsing certificates that contain elliptic curve public keys in compressed form or explicit elliptic curve parameters with a base point encoded in compressed form. It is possible to trigger the infinite loop by crafting a certificate that has invalid explicit curve parameters. Since certificate parsing happens prior to verification of the certificate signature, any process that parses an externally supplied certificate may thus be subject to a denial of service attack. The infinite loop can also be reached when parsing crafted private keys as they can contain explicit elliptic curve parameters.

This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.

#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(502170);
  script_version("1.2");
  script_set_attribute(attribute:"plugin_modification_date", value:"2024/04/13");

  script_cve_id("CVE-2022-0778");

  script_name(english:"Siemens SCALANCE W1750D Command Injection (CVE-2022-0778)");

  script_set_attribute(attribute:"synopsis", value:
"The remote OT asset is affected by a vulnerability.");
  script_set_attribute(attribute:"description", value:
"The BN_mod_sqrt() function in openSSL, which computes a modular square root, 
contains a bug that can cause it to loop forever for non-prime moduli. 
Internally this function is used when parsing certificates that contain elliptic 
curve public keys in compressed form or explicit elliptic curve parameters with 
a base point encoded in compressed form. It is possible to trigger the infinite 
loop by crafting a certificate that has invalid explicit curve parameters. 
Since certificate parsing happens prior to verification of the certificate signature, 
any process that parses an externally supplied certificate may thus be subject to a 
denial of service attack. The infinite loop can also be reached when parsing crafted 
private keys as they can contain explicit elliptic curve parameters.

This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.");
  # https://cert-portal.siemens.com/productcert/html/ssa-712929.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?f875f376");
  script_set_attribute(attribute:"solution", value:
"Refer to the vendor advisory.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2022-0778");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2022/06/14");
  script_set_attribute(attribute:"patch_publication_date", value:"2022/06/14");
  script_set_attribute(attribute:"plugin_publication_date", value:"2024/03/22");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:ruggedcom_rm1224_lte_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_cp_343-1_advanced_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_cp443-1_advanced_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_cp_443-1_opc_ua_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_cp_1200_firmware:3.4.29");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_cp_1200_series_firmware:4.6.0");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_cp_1543-1_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_cp_1545-1_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_cp_1542sp-1_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_cp_1543sp-1_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_cp_1626_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_cp_1628_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_drive_controller_cpu_1504d_tf_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_drive_controller_cpu_1507d_tf_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_et200sp_firmware:2.2.28");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_et200sp_firmware:2.9.7");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_et200pro_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_cp_1242-7_v2_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_cp_1243-1_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:siplus_s7-1200_cp_1243-1_rail_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:siplus_net_cp_1543-1_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_s7-1500_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_s7-1500_firmware:2.9.7");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_s7-1500_firmware:3.0.1");
  script_set_attribute(attribute:"generated_plugin", value:"former");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Tenable.ot");

  script_copyright(english:"This script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("tenable_ot_api_integration.nasl");
  script_require_keys("Tenable.ot/Siemens");

  exit(0);
}


include('tenable_ot_cve_funcs.inc');

get_kb_item_or_exit('Tenable.ot/Siemens');

var asset = tenable_ot::assets::get(vendor:'Siemens');

var vuln_cpes = {
    "cpe:/o:siemens:ruggedcom_rm1224_lte_firmware" :
        {"versionEndExcluding" : "4.3", "family" : "RuggedCom", "orderNumbers": ["6GK6108-4AM00-2BA2", "6GK6108-4AM00-2DA2"]},
    "cpe:/o:siemens:ruggedcom_rox_mx5000_firmware" :
        {"versionEndExcluding" : "2.15.1", "family" : "RuggedCom"},
    "cpe:/o:siemens:ruggedcom_rox_mx5000re_firmware" :
        {"versionEndExcluding" : "2.15.1", "family" : "RuggedCom"},
    "cpe:/o:siemens:ruggedcom_rox_rx1400_firmware" :
        {"versionEndExcluding" : "2.15.1", "family" : "RuggedCom"},
    "cpe:/o:siemens:ruggedcom_rox_rx1500_firmware" :
        {"versionEndExcluding" : "2.15.1", "family" : "RuggedCom"},
    "cpe:/o:siemens:ruggedcom_rox_rx1501_firmware" :
        {"versionEndExcluding" : "2.15.1", "family" : "RuggedCom"},
    "cpe:/o:siemens:ruggedcom_rox_rx1510_firmware" :
        {"versionEndExcluding" : "2.15.1", "family" : "RuggedCom"},
    "cpe:/o:siemens:ruggedcom_rox_rx1511_firmware" :
        {"versionEndExcluding" : "2.15.1", "family" : "RuggedCom"},
    "cpe:/o:siemens:ruggedcom_rox_rx1512_firmware" :
        {"versionEndExcluding" : "2.15.1", "family" : "RuggedCom"},
    "cpe:/o:siemens:ruggedcom_rox_rx1524_firmware" :
        {"versionEndExcluding" : "2.15.1", "family" : "RuggedCom"},
    "cpe:/o:siemens:ruggedcom_rox_rx1536_firmware" :
        {"versionEndExcluding" : "2.15.1", "family" : "RuggedCom"},
    "cpe:/o:siemens:ruggedcom_rox_rx5000_firmware" :
        {"versionEndExcluding" : "2.15.1", "family" : "RuggedCom"},
    "cpe:/o:siemens:scalance_lpe9403_firmware" :
        {"versionEndExcluding" : "2.0", "family" : "SCALANCE", "orderNumbers": ["6GK5998-3GS00-2AC2"]},
    "cpe:/o:siemens:scalance_m_firmware" :
        {"versionEndExcluding" : "7.2", "family" : "SCALANCEM", "orderNumbers": ["6GK5804-0AP00-2AA2","6GK5812-1AA00-2AA2","6GK5812-1BA00-2AA2","6GK5816-1AA00-2AA2","6GK5816-1BA00-2AA2","6GK5826-2AB00-2AB2","6GK5874-2AA00-2AA2","6GK5874-3AA00-2AA2","6GK5876-3AA02-2BA2","6GK5876-3AA02-2EA2","6GK5876-4AA10-2BA2","6GK5876-4AA00-2BA2","6GK5876-4AA00-2DA2","6GK5853-2EA00-2DA1","6GK5856-2EA00-3DA1","6GK5856-2EA00-3AA1"]},
    "cpe:/o:siemens:scalance_s_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "SCALANCES", "orderNumbers": ["6GK5615-0AA00-2AA2","6GK5615-0AA01-2AA2"]},
    "cpe:/o:siemens:scalance_s_firmware:2.3.1" :
        {"versionEndExcluding" : "2.3.1", "family" : "SCALANCES", "orderNumbers": ["6GK5622-2GS00-2AC2","6GK5632-2GS00-2AC2","6GK5636-2GS00-2AC2","6GK5642-2GS00-2AC2","6GK5646-2GS00-2AC2"]},
    "cpe:/o:siemens:scalance_w_firmware:2.0" :
        {"versionEndExcluding" : "2.0", "family" : "SCALANCEW", "orderNumbers": ["6GK5763-1AL00-7DA0","6GK5766-1GE00-7DA0","6GK5766-1GE00-7DB0","6GK5766-1GE00-7TA0","6GK5766-1GE00-7TB0","6GK5763-1AL00-3AA0","6GK5763-1AL00-3DA0","6GK5766-1GE00-3DA0","6GK5766-1GE00-3DB0"]},
    "cpe:/o:siemens:scalance_w_firmware:8.7.1.11" :
        {"versionEndExcluding" : "8.7.1.11", "family" : "SCALANCEW", "orderNumbers": ["6GK5750-2HX01-1AD0","6GK5750-2HX01-1AA0","6GK5750-2HX01-1AB0"]},
    "cpe:/o:siemens:scalance_w_firmware" :
        {"family" : "SCALANCEW", "orderNumbers": ["6GK5721-1FC00-0AA0","6GK5721-1FC00-0AB0","6GK5722-1FC00-0AA0","6GK5722-1FC00-0AB0","6GK5722-1FC00-0AC0","6GK5734-1FX00-0AA0","6GK5734-1FX00-0AA6","6GK5734-1FX00-0AB0","6GK5734-1FX00-0AB6","6GK5738-1GY00-0AA0","6GK5738-1GY00-0AB0","6GK5748-1GD00-0AA0","6GK5748-1GD00-0AB0","6GK5748-1FC00-0AA0","6GK5748-1FC00-0AB0","6GK5761-1FC00-0AA0","6GK5761-1FC00-0AB0","6GK5774-1FY00-0TA0","6GK5774-1FY00-0TB0","6GK5774-1FX00-0AA0","6GK5774-1FX00-0AA6","6GK5774-1FX00-0AB0","6GK5774-1FX00-0AC0","6GK5774-1FX00-0AB6","6GK5778-1GY00-0AA0","6GK5778-1GY00-0AB0","6GK5778-1GY00-0TA0","6GK5778-1GY00-0TB0","6GK5786-1FC00-0AA0","6GK5786-1FC00-0AB0","6GK5786-2FC00-0AA0","6GK5786-2FC00-0AB0","6GK5786-2FC00-0AC0","6GK5786-2FE00-0AA0","6GK5786-2FE00-0AB0","6GK5786-2HC00-0AA0","6GK5786-2HC00-0AB0","6GK5788-1GD00-0AA0","6GK5788-1GD00-0AB0","6GK5788-1FC00-0AA0","6GK5788-1FC00-0AB0","6GK5788-2GD00-0AA0","6GK5788-2GD00-0AB0","6GK5788-2GD00-0TA0","6GK5788-2GD00-0TB0","6GK5788-2GD00-0TC0","6GK5788-2FC00-0AA0","6GK5788-2FC00-0AB0","6GK5788-2FC00-0AC0","6GK5748-1GY01-0AA0","6GK5748-1GY01-0TA0","6GK5788-1GY01-0AA0","6GK5788-2GY01-0TA0","6GK5788-2GY01-0AA0","6GK5788-2HY01-0AA0"]},
    "cpe:/o:siemens:scalance_x200_irt_firmware:5.5.2" :
        {"versionEndExcluding" : "5.5.2", "family" : "SCALANCEX200IRT", "orderNumbers": ["6GK5200-4AH00-2BA3","6GK5201-3BH00-2BA3","6GK5201-3JR00-2BA6","6GK5202-2BB00-2BA3","6GK5202-2BB10-2BA3","6GK5202-2BH00-2BA3","6GK5202-2JR00-2BA6","6GK5204-0BA00-2BA3","6GK5204-0BA10-2BA3","6GK5204-0JA00-2BA6","6GK5201-3BH00-2BD2","6GK5202-2BH00-2BD2","6GK5204-2AA00-2BD2","6GK5204-0BA00-2BF2","6AG1202-2BH00-2BA3"]},
    "cpe:/o:siemens:scalance_x200_firmware:4.4" :
        {"versionEndExcluding" : "4.4", "family" : "SCALANCEX200", "orderNumbers": ["6GK5205-3BB00-2AB2","6GK5205-3BB00-2TB2","6GK5205-3BD00-2TB2","6GK5205-3BD00-2AB2","6GK5205-3BF00-2TB2","6GK5205-3BF00-2AB2","6GK5208-0BA00-2TB2","6GK5208-0BA00-2AB2","6GK5213-3BD00-2TB2","6GK5213-3BD00-2AB2","6GK5213-3BB00-2TB2","6GK5213-3BB00-2AB2","6GK5213-3BF00-2TB2","6GK5213-3BF00-2AB2","6GK5216-0BA00-2TB2","6GK5216-0BA00-2AB2","6GK5206-2BD00-2AC2","6GK5206-2BB00-2AC2","6GK5206-2RS00-2AC2","6GK5206-2RS00-5AC2","6GK5206-2RS00-5FC2","6GK5206-2BS00-2AC2","6GK5206-2BS00-2FC2","6GK5206-2GS00-2AC2","6GK5206-2GS00-2TC2","6GK5206-2GS00-2FC2","6GK5208-0BA00-2AC2","6GK5208-0BA00-2FC2","6GK5208-0GA00-2AC2","6GK5208-0GA00-2TC2","6GK5208-0GA00-2FC2","6GK5208-0RA00-2AC2","6GK5208-0RA00-5AC2","6GK5216-0BA00-2AC2","6GK5216-3RS00-2AC2","6GK5216-3RS00-5AC2","6GK5216-4BS00-2AC2","6GK5216-4GS00-2AC2","6GK5216-4GS00-2TC2","6GK5216-4GS00-2FC2","6GK5216-0BA00-2FC2","6GK5224-0BA00-2AC2","6GK5224-4GS00-2AC2","6GK5224-4GS00-2TC2","6GK5224-4GS00-2FC2","6GK5204-0BA00-2AF2","6GK5204-0BA00-2GF2","6GK5204-0BA00-2YF2","6GK5204-2BC00-2AF2","6GK5204-2AA00-2GF2","6GK5204-2AA00-2YF2","6GK5208-0HA00-2AS6","6GK5208-0HA00-2TS6","6GK5208-0HA00-2ES6","6GK5208-0UA00-5ES6","6GK5216-0HA00-2AS6","6GK5216-0HA00-2TS6","6GK5216-0HA00-2ES6","6GK5216-0UA00-5ES6","6AG1206-2BB00-7AC2","6AG1206-2BS00-7AC2","6AG1208-0BA00-7AC2","6AG1216-4BS00-7AC2"]},
    "cpe:/o:siemens:scalance_x200_firmware" :
        {"family" : "SCALANCEX200", "orderNumbers": ["6GK5204-2BB10-2AA3","6GK5204-2BB11-2AA3","6GK5204-2BC10-2AA3","6GK5204-2BC10-2CA2","6GK5204-2BB10-2CA2","6GK5206-1BB10-2AA3","6GK5206-1BC10-2AA3","6GK5208-0BA10-2AA3","6GK5208-0HA10-2AA6","6GK5212-2BB00-2AA3","6GK5212-2BC00-2AA3","6GK5216-0BA00-2AA3","6GK5224-0BA00-2AA3","6GK5206-1BC00-2AF2","6GK5208-0BA00-2AF2"]},
    "cpe:/o:siemens:scalance_x300_firmware:4.4" :
        {"versionEndExcluding" : "4.4", "family" : "SCALANCEX300", "orderNumbers": ["6GK5324-0BA00-3AR3","6GK5324-0BA00-2AR3","6GK5326-2QS00-3AR3","6GK5326-2QS00-3RR3","6GK5328-4FS00-3AR3","6GK5328-4FS00-3RR3","6GK5328-4FS00-2AR3","6GK5328-4FS00-2RR3","6GK5328-4SS00-3AR3","6GK5328-4SS00-2AR3"]},
    "cpe:/o:siemens:scalance_x300_firmware" :
        {"family" : "SCALANCEX300", "orderNumbers": ["6GK5302-7GD00-2EA3","6GK5302-7GD00-2GA3","6GK5302-7GD00-4EA3","6GK5302-7GD00-4GA3","6GK5302-7GD00-1EA3","6GK5302-7GD00-1GA3","6GK5302-7GD00-3EA3","6GK5302-7GD00-3GA3","6GK5304-2BD00-2AA3","6GK5306-1BF00-2AA3","6GK5307-2FD00-2EA3","6GK5307-2FD00-2GA3","6GK5307-2FD00-4EA3","6GK5307-2FD00-4GA3","6GK5307-2FD00-1EA3","6GK5307-2FD00-1GA3","6GK5307-2FD00-3EA3","6GK5307-2FD00-3GA3","6GK5307-3BL00-2AA3","6GK5307-3BL10-2AA3","6GK5307-3BM00-2AA3","6GK5307-3BM10-2AA3","6GK5308-2FL00-2AA3","6GK5308-2FL10-2AA3","6GK5308-2FM00-2AA3","6GK5308-2FM10-2AA3","6GK5308-2FN00-2AA3","6GK5308-2FN10-2AA3","6GK5308-2FP00-2AA3","6GK5308-2FP10-2AA3","6GK5308-2GG00-2AA2","6GK5308-2GG10-2AA2","6GK5308-2QG00-2AA2","6GK5308-2QG10-2AA2","6GK5308-2GG00-2CA2","6GK5308-2GG10-2CA2","6GK5310-0FA00-2AA3","6GK5310-0FA10-2AA3","6GK5310-0BA00-2AA3","6GK5310-0BA10-2AA3","6GK5320-1BD00-2AA3","6GK5320-3BF00-2AA3","6GK5324-4GG00-2ER2","6GK5324-4GG10-2ER2","6GK5324-4GG00-2JR2","6GK5324-4GG10-2JR2","6GK5324-4GG00-4ER2","6GK5324-4GG10-4ER2","6GK5324-4GG00-4JR2","6GK5324-4GG10-4JR2","6GK5324-4GG00-1ER2","6GK5324-4GG10-1ER2","6GK5324-4GG00-1JR2","6GK5324-4GG10-1JR2","6GK5324-4GG00-3ER2","6GK5324-4GG10-3ER2","6GK5324-4GG00-3JR2","6GK5324-4GG10-3JR2","6GK5324-4QG00-1AR2","6GK5324-4QG00-1HR2","6GK5324-4QG00-3AR2","6GK5324-4QG00-3HR2","6GK5324-4QG00-1CR2","6GK5324-0GG00-1AR2","6GK5324-0GG10-1AR2","6GK5324-0GG00-1HR2","6GK5324-0GG10-1HR2","6GK5324-0GG00-3AR2","6GK5324-0GG10-3AR2","6GK5324-0GG00-3HR2","6GK5324-0GG10-3HR2","6GK5324-0GG00-1CR2","6GK5324-0GG10-1CR2","6AG1308-2FL10-4AA3"]},
    "cpe:/o:siemens:scalance_x500_firmware" :
        {"versionEndExcluding" : "6.5", "family" : "SCALANCEX500", "orderNumbers": ["6GK5524-8GS00-3AR2","6GK5524-8GR00-3AR2","6GK5524-8GS00-4AR2","6GK5524-8GR00-4AR2","6GK5524-8GS00-2AR2","6GK5524-8GR00-2AR2","6GK5526-8GS00-3AR2","6GK5526-8GR00-3AR2","6GK5526-8GS00-4AR2","6GK5526-8GR00-4AR2","6GK5526-8GS00-2AR2","6GK5526-8GR00-2AR2","6GK5528-0AA00-2HR2","6GK5528-0AR00-2HR2","6GK5528-0AA00-2AR2","6GK5528-0AR00-2AR2","6GK5552-0AA00-2HR2","6GK5552-0AR00-2HR2","6GK5552-0AR00-2AR2","6GK5552-0AA00-2AR2"]},
    "cpe:/o:siemens:simatic_cp_343-1_advanced_firmware" :
        {"family" : "S7300", "orderNumbers" : ["6GK7343-1GX31-0XE0", "6AG1343-1GX31-4XE0"]},
    "cpe:/o:siemens:simatic_cp443-1_advanced_firmware" :
        {"family" : "S7400", "versionEndExcluding" : "3.3", "orderNumbers" : ["6GK7443-1GX30-0XE0", "6AG1443-1GX30-4XE0"]},
    "cpe:/o:siemens:simatic_cp_443-1_opc_ua_firmware" :
        {"family" : "S7400", "orderNumbers" : ["6GK7443-1UX00-0XE0"]},
    "cpe:/o:siemens:simatic_cp_1200_firmware:3.4.29" :
        {"versionEndExcluding" : "3.4.29", "family" : "S71200", "orderNumbers" : ["6GK7242-7KX31-0XE0","6GK7243-1BX30-0XE0","6GK7243-7KX30-0XE0","6GK7243-7SX30-0XE0","6GK7243-8RX30-0XE0"]},
    "cpe:/o:siemens:simatic_cp_1200_series_firmware:4.6.0" :
        {"versionEndExcluding" : "4.6.0", "family" : "S71200"},
    "cpe:/o:siemens:simatic_cp_1543-1_firmware" :
        {"versionEndExcluding" : "3.0.37", "family" : "S71500", "orderNumbers" : ["6GK7543-1AX00-0XE0"]},
    "cpe:/o:siemens:simatic_cp_1545-1_firmware" :
        {"family" : "S71500", "orderNumbers" : ["6GK7545-1GX00-0XE0"]},
    "cpe:/o:siemens:simatic_cp_1542sp-1_firmware" :
        {"versionEndExcluding" : "2.2.28", "family" : "S71500", "orderNumbers" : ["6GK7542-6UX00-0XE0"]},
    "cpe:/o:siemens:simatic_cp_1543sp-1_firmware" :
        {"versionEndExcluding" : "2.2.28", "family" : "S71500", "orderNumbers" : ["6GK7543-6WX00-0XE0"]},
    "cpe:/o:siemens:simatic_cp_1626_firmware" :
        {"family" : "NETCP1600", "orderNumbers" : ["6GK1162-6AA01"]},
    "cpe:/o:siemens:simatic_cp_1628_firmware" :
        {"family" : "NETCP1600", "orderNumbers" : ["6GK1162-8AA00"]},
    "cpe:/o:siemens:simatic_drive_controller_cpu_1504d_tf_firmware" :
        {"versionEndExcluding" : "2.9.7", "family" : "S71500", "orderNumbers" : ["6ES7615-4DF10-0AB0"]},
    "cpe:/o:siemens:simatic_drive_controller_cpu_1507d_tf_firmware" :
        {"versionEndExcluding" : "2.9.7", "family" : "S71500", "orderNumbers" : ["6ES7615-7DF10-0AB0"]},
    "cpe:/o:siemens:simatic_et200sp_firmware:2.2.28" :
        {"versionEndExcluding" : "2.2.28", "family" : "ET200SP", "orderNumbers" : ["6AG1543-6WX00-7XE0","6AG2543-6WX00-4XE0"]},
    "cpe:/o:siemens:simatic_et200sp_firmware:2.9.7" :
        {"versionEndExcluding" : "2.9.7", "family" : "ET200SP", "orderNumbers" : ["6AG1510-1SJ01-2AB0","6AG2510-1SJ01-1AB0","6AG1510-1DJ01-2AB0","6AG1510-1DJ01-7AB0","6AG2510-1DJ01-1AB0","6AG2510-1DJ01-4AB0","6AG1512-1SK00-2AB0","6AG1512-1SK01-2AB0","6AG1512-1SK01-7AB0","6AG2512-1SK01-1AB0","6AG2512-1SK01-4AB0","6AG1512-1DK01-2AB0","6AG1512-1DK01-7AB0","6AG2512-1DK01-1AB0","6AG2512-1DK01-4AB0"]},
    "cpe:/o:siemens:simatic_et200pro_firmware" :
        {"versionEndExcluding" : "2.9.7", "family" : "ET200", "orderNumbers" : ["6ES7513-2GL00-0AB0","6ES7513-2PL00-0AB0","6ES7516-2GN00-0AB0","6ES7516-2PN00-0AB0"]},
    "cpe:/o:siemens:simatic_cp_1242-7_v2_firmware" :
        {"versionEndExcluding" : "3.4.29", "family" : "S71200", "orderNumbers" : ["6AG1242-7KX31-7XE0"]},
    "cpe:/o:siemens:simatic_cp_1243-1_firmware" :
        {"versionEndExcluding" : "3.4.29", "family" : "S71200", "orderNumbers" : ["6AG1243-1BX30-2AX0"]},
    "cpe:/o:siemens:siplus_s7-1200_cp_1243-1_rail_firmware" :
        {"versionEndExcluding" : "3.4.29", "family" : "S71200", "orderNumbers" : ["6AG2243-1BX30-1XE0"]},
    "cpe:/o:siemens:siplus_net_cp_1543-1_firmware" :
        {"versionEndExcluding" : "3.0.37", "family" : "S71200", "orderNumbers" : ["6AG1543-1AX00-2XE0"]},
    "cpe:/o:siemens:simatic_s7-1500_firmware" :
        {"family" : "S71500", "orderNumbers" : ["6ES7510-1SJ00-0AB0","6ES7510-1DJ00-0AB0","6ES7511-1AK00-0AB0","6ES7511-1FK00-0AB0","6ES7512-1SK00-0AB0","6ES7512-1DK00-0AB0","6ES7513-1AL00-0AB0","6ES7513-1FL00-0AB0","6ES7515-2AM00-0AB0","6ES7515-2FM00-0AB0","6ES7516-3AN00-0AB0","6ES7516-3FN00-0AB0","6AG1511-1AK00-2AB0","6AG1511-1FK00-2AB0","6AG1513-1AL00-2AB0","6AG1513-1FL00-2AB0","6AG1516-3AN00-2AB0","6AG1516-3AN00-7AB0","6AG1516-3FN00-2AB0"]},
    "cpe:/o:siemens:simatic_s7-1500_firmware:2.9.7" :
        {"versionEndExcluding" : "2.9.7", "family" : "S71500", "orderNumbers" : ["6ES7510-1SJ01-0AB0","6ES7510-1DJ01-0AB0","6ES7511-1AK01-0AB0","6ES7511-1AK02-0AB0","6ES7511-1CK00-0AB0","6ES7511-1CK01-0AB0","6ES7511-1FK01-0AB0","6ES7511-1FK02-0AB0","6ES7511-1TK01-0AB0","6ES7511-1UK01-0AB0","6ES7512-1CK00-0AB0","6ES7512-1CK01-0AB0","6ES7512-1SK01-0AB0","6ES7512-1DK01-0AB0","6ES7513-1AL01-0AB0","6ES7513-1AL02-0AB0","6ES7513-1FL01-0AB0","6ES7513-1FL02-0AB0","6ES7513-1RL00-0AB0","6ES7515-2AM01-0AB0","6ES7515-2AM02-0AB0","6ES7515-2FM01-0AB0","6ES7515-2FM02-0AB0","6ES7515-2RM00-0AB0","6ES7515-2TM01-0AB0","6ES7515-2UM01-0AB0","6ES7516-3AN01-0AB0","6ES7516-3AN02-0AB0","6ES7516-3FN01-0AB0","6ES7516-3FN02-0AB0","6ES7518-4AP00-3AB0","6ES7518-4FP00-3AB0","6AG1511-1AK01-2AB0","6AG1511-1AK01-7AB0","6AG1511-1AK02-2AB0","6AG1511-1AK02-7AB0","6AG2511-1AK01-1AB0","6AG2511-1AK02-1AB0","6AG2511-1AK01-4AB0","6AG2511-1AK02-4AB0","6AG1511-1FK01-2AB0","6AG1511-1FK02-2AB0","6AG1513-1AL01-2AB0","6AG1513-1AL01-7AB0","6AG1513-1AL02-2AB0","6AG1513-1AL02-7AB0","6AG1513-1FL01-2AB0","6AG1513-1FL02-2AB0","6AG1515-2FM01-2AB0","6AG1515-2FM02-2AB0","6AG2515-2FM02-4AB0","6AG2515-2FM01-2AB0","6AG1515-2RM00-7AB0","6AG2515-2RM00-4AB0","6AG1516-3AN01-2AB0","6AG1516-3AN01-7AB0","6AG1516-3AN02-2AB0","6AG1516-3AN02-7AB0","6AG2516-3AN02-4AB0","6AG2516-3AN01-4AB0","6AG1516-3FN01-2AB0","6AG1516-3FN02-2AB0","6AG2516-3FN02-2AB0","6AG2516-3FN02-4AB0"]},
    "cpe:/o:siemens:simatic_s7-1500_firmware:3.0.1" :
        {"versionEndExcluding" : "3.0.1", "family" : "S71500", "orderNumbers" : ["6ES7516-3TN00-0AB0","6ES7516-3UN00-0AB0","6ES7517-3AP00-0AB0","6ES7517-3FP00-0AB0","6ES7517-3HP00-0AB0","6ES7517-3TP00-0AB0","6ES7517-3UP00-0AB0","6ES7518-4AP00-0AB0","6ES7518-4AX00-1AB0","6ES7518-4FP00-0AB0","6ES7518-4FX00-1AB0","6ES7518-4JP00-0AB0","6ES7518-4TP00-0AB0","6ES7518-4UP00-0AB0","6AG1517-3HP00-4AB0","6AG1518-4AP00-4AB0","6AG1518-4AX00-4AC0","6AG1518-4FP00-4AB0","6AG1518-4JP00-4AB0"]}
};

tenable_ot::cve::compare_and_report(asset:asset, cpes:vuln_cpes, severity:SECURITY_WARNING);

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

AI Score

8.2

Confidence

High

EPSS

0.015

Percentile

87.3%