Lucene search

K
nessusThis script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.TENABLE_OT_SIEMENS_CVE-2013-0659.NASL
HistoryFeb 20, 2024 - 12:00 a.m.

Siemens CP 1604 and CP 1616 Improper Access Control (CVE-2013-0659)

2024-02-2000:00:00
This script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
10
siemens
interface cards
remote access
code execution
udp port 17185
vulnerability

10 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

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

7.8 High

AI Score

Confidence

Low

0.009 Low

EPSS

Percentile

82.8%

The debugging feature on the Siemens CP 1604 and CP 1616 interface cards with firmware before 2.5.2 allows remote attackers to execute arbitrary code via a crafted packet to UDP port 17185.

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(502003);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2024/02/21");

  script_cve_id("CVE-2013-0659");

  script_name(english:"Siemens CP 1604 and CP 1616 Improper Access Control (CVE-2013-0659)");

  script_set_attribute(attribute:"synopsis", value:
"The remote OT asset is affected by a vulnerability.");
  script_set_attribute(attribute:"description", value:
"The debugging feature on the Siemens CP 1604 and CP 1616 interface
cards with firmware before 2.5.2 allows remote attackers to execute
arbitrary code via a crafted packet to UDP port 17185.

This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.");
  script_set_attribute(attribute:"see_also", value:"https://www.cisa.gov/news-events/ics-advisories/icsa-13-084-01");
  # https://cert-portal.siemens.com/productcert/pdf/ssa-628113.pdf
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?bba7e765");
  script_set_attribute(attribute:"solution", value:
"Refer to the vendor advisory.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2013-0659");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"vuln_publication_date", value:"2013/04/01");
  script_set_attribute(attribute:"patch_publication_date", value:"2013/04/01");
  script_set_attribute(attribute:"plugin_publication_date", value:"2024/02/20");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:siemens:cp_1604_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:siemens:cp_1616_firmware");
  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:/a:siemens:cp_1604_firmware" :
        {"versionEndIncluding" : "2.5.1", "family" : "NETCP1600", "orderNumbers" : ["6GK1160-4AA00", "6GK1160-4AA01", "6GK1160-4AU00"]},
    "cpe:/a:siemens:cp_1616_firmware" :
        {"versionEndIncluding" : "2.5.1", "family" : "NETCP1600", "orderNumbers" : ["6GK1161-6AA00", "6GK1161-6AA01", "6GK1161-6AA02", "6GK1160-4AU01"]}
};

tenable_ot::cve::compare_and_report(asset:asset, cpes:vuln_cpes, severity:SECURITY_HOLE);
VendorProductVersionCPE
siemenscp_1604_firmwarecpe:/a:siemens:cp_1604_firmware
siemenscp_1616_firmwarecpe:/a:siemens:cp_1616_firmware

10 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

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

7.8 High

AI Score

Confidence

Low

0.009 Low

EPSS

Percentile

82.8%

Related for TENABLE_OT_SIEMENS_CVE-2013-0659.NASL