ID CVE-2016-9159 Type cve Reporter cve@mitre.org Modified 2018-01-25T02:29:00
Description
A vulnerability has been identified in SIMATIC S7-300 CPU family, SIMATIC S7-400 V6 and earlier CPU family, SIMATIC S7-400 V7 CPU family. An attacker with network access to port 102/tcp (ISO-TSAP) or via Profibus could obtain credentials from the PLC if protection-level 2 is configured on the affected devices. This vulnerability affects all listed affected products.
{"ics": [{"lastseen": "2019-10-23T22:47:51", "bulletinFamily": "info", "description": "## OVERVIEW\n\nThis updated advisory is a follow-up to the updated advisory titled ICSA-16-348-05C Siemens S7-300/400 PLC Vulnerabilities that was published November 28, 2017, on the NCCIC/ICS-CERT web site.\n\nZhu WenZhe from Beijing Acorn Network Technology has identified password leak and denial-of-service (DoS) vulnerabilities in Siemens\u2019 S7-300 and S7-400 programmable logic controllers (PLCs). Siemens has released Security Advisory SSA-731239 with advice to mitigate these vulnerabilities.\n\nThese vulnerabilities could be exploited remotely.\n\n## AFFECTED PRODUCTS\n\nSiemens reports that the vulnerabilities affect the following versions of SIMATIC PLC family:\n\n * SIMATIC S7-300 CPU family: All versions.\n * SIMATIC S7-400 CPU family: All versions.\n\n## IMPACT\n\nSuccessful exploitation of these vulnerabilities could lead to a denial-of-service condition or result in credential disclosure.\n\nImpact to individual organizations depends on many factors that are unique to each organization. NCCIC recommends that organizations evaluate the impact of these vulnerabilities based on their operational environment, architecture, and product implementation.\n\n## BACKGROUND\n\nSiemens is a multinational company headquartered in Munich, Germany.\n\nThe affected products, SIMATIC S7-300 and S7-400 PLC family, have been designed for process control in industrial environments. According to Siemens, SIMATIC S7-300 and S7-400 PLCs are deployed across several sectors including Chemical, Energy, Food and Agriculture, and Water and Wastewater Systems. Siemens estimates that these products are used worldwide.\n\n## VULNERABILITY CHARACTERIZATION\n\n### VULNERABILITY OVERVIEW\n\n### INADEQUATE ENCRYPTION STRENGTHa\n\nAn attacker with network access to Port 102/TCP (ISO-TSAP) or via Profibus could obtain credentials from the PLC if Protection-level 2 is configured on the affected devices. This vulnerability affects all listed affected products.\n\nCVE-2016-9159b has been assigned to this vulnerability. A CVSS v3 base score of 7.5 has been calculated with a CVSS vector string of: (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).c\n\n### **PROTECTION MECHANISM FAILURE**d\n\nSpecially crafted packets sent to Port 80/TCP could cause the affected devices to go into defect mode. A cold restart is required to recover the system. This vulnerability affects all SIMATIC S7-300 PN CPUs, and all SIMATIC S7-400 PN V6 and V7 CPUs.\n\nCVE-2016-9158e has been assigned to this vulnerability. A CVSS v3 base score of 7.5 has been calculated with a CVSS vector string of: (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).f\n\n### VULNERABILITY DETAILS\n\n#### EXPLOITABILITY\n\nThese vulnerabilities could be exploited remotely.\n\n#### EXISTENCE OF EXPLOIT\n\nNo known public exploits specifically target these vulnerabilities.\n\n#### DIFFICULTY\n\nAn attacker with a low skill would be able to exploit these vulnerabilities.\n\n## MITIGATION\n\n**\\--------- Begin Update D Part 1 of 1 --------**\n\nSiemens provides the following firmware versions to resolve CVE-2016-9158:\n\n * SIMATIC S7-300 CPU family: Update to V3.X.14:\n\n<https://support.industry.siemens.com/cs/ww/en/ps/13752/dl>\n\n * SIMATIC S7-400 PN V6: Update to V6.0.6:\n\n<https://support.industry.siemens.com/cs/de/en/view/109474874>\n\n * SIMATIC S7-400 V7 CPU family: Update to V7.0.2:\n\n<https://support.industry.siemens.com/cs/ww/en/view/109752685>\n\n * SIMATIC S7-410 V8 CPU family: Update to V8.2:\n\n<https://support.industry.siemens.com/cs/ww/en/view/109476571>\n\n**\\--------- End Update D Part 1 of 1 ----------**\n\nSiemens recommends activating Field Interface Security in PCS 7 V9.0, and using a CP 443-1 Advanced to communicate with ES/OS in order to mitigate CVE-2016-9159.\n\nSiemens also recommends the following mitigations:\n\n * Deactivate the web server.\n * Apply Protection-level 3 read/write protection.\n * Apply cell protection concept.\n * Apply defense-in-depth strategies.\n * Use VPN for protecting network communication between cells.\n\nSiemens strongly recommends users protect network access with appropriate mechanisms (e.g., firewalls, segmentation, VPN). Siemens also advises that users configure the operational environment according to Siemens\u2019 Operational Guidelines for Industrial Security:\n\n<https://www.siemens.com/cert/operational-guidelines-industrial-security>\n\nFor more information on this vulnerability and more detailed mitigation instructions, please see Siemens Security Advisory SSA-731239 at the following location:\n\n<http://www.siemens.com/cert/advisories>\n\nNCCIC recommends users take defensive measures to minimize the risk of exploitation of these vulnerabilities. Specifically, users should:\n\n * Minimize network exposure for all control system devices and/or systems, and ensure that they are not accessible from the Internet.\n * Locate control system networks and remote devices behind firewalls, and isolate them from the business network.\n * When remote access is required, use secure methods, such as Virtual Private Networks (VPNs), recognizing that VPNs may have vulnerabilities and should be updated to the most current version available. Also recognize that VPN is only as secure as the connected devices.\n\nNCCIC reminds organizations to perform proper impact analysis and risk assessment prior to deploying defensive measures.\n\nNCCIC also provides a section for control systems security recommended practices on the ICS-CERT web page. Several recommended practices are available for reading and download, including Improving Industrial Control Systems Cybersecurity with Defense-in-Depth Strategies.\n\nAdditional mitigation guidance and recommended practices are publicly available in the NCCIC Technical Information Paper, ICS-TIP-12-146-01B--Targeted Cyber Intrusion Detection and Mitigation Strategies, that is available for download from the ICS-CERT web site.\n\nOrganizations observing any suspected malicious activity should follow their established internal procedures and report their findings to NCCIC for tracking and correlation against other incidents.\n\n * a. CWE- 326: Inadequate Encryption Strength, https://cwe.mitre.org/data/definitions/326.html, web site last accessed December 13, 2016.\n * b. NVD, http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9159, NIST uses this advisory to create the CVE web site report. This web site will be active sometime after publication of this advisory.\n * c. CVSS Calculator, http://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, web site last accessed December 13, 2016.\n * d. CWE-693: Protection Mechanism Failure, https://cwe.mitre.org/data/definitions/693.html, web site last accessed December 13, 2016.\n * e. NVD, http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9158, NIST uses this advisory to create the CVE web site report. This web site will be active sometime after publication of this advisory.\n * f. CVSS Calculator, https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, web site last accessed December 13, 2016.\n\n## \nContact Information\n\nFor any questions related to this report, please contact the NCCIC at: \n \nEmail: [NCCICCUSTOMERSERVICE@hq.dhs.gov](<mailto:NCCICCUSTOMERSERVICE@hq.dhs.gov>) \nToll Free: 1-888-282-0870\n\nFor industrial control systems cybersecurity information: http://ics-cert.us-cert.gov \nor incident reporting: https://ics-cert.us-cert.gov/Report-Incident?\n\nThe NCCIC continuously strives to improve its products and services. You can help by choosing one of the links below to provide feedback about this product.\n\nThis product is provided subject to this Notification and this [Privacy & Use](<https://www.dhs.gov/privacy-policy>) policy.\n\nWas this document helpful? Yes | Somewhat | No\n", "modified": "2018-01-25T00:00:00", "published": "2016-12-13T00:00:00", "id": "ICSA-16-348-05", "href": "https://www.us-cert.gov//ics/advisories/ICSA-16-348-05", "title": "Siemens S7-300/400 PLC Vulnerabilities (Update D)", "type": "ics", "cvss": {"score": 7.8, "vector": "AV:N/AC:L/Au:N/C:N/I:N/A:C"}}], "openvas": [{"lastseen": "2019-05-29T18:35:05", "bulletinFamily": "scanner", "description": "Siemens SIMATIC S7-300 and S7-400 are prone to multiple vulnerabilities.", "modified": "2018-09-24T00:00:00", "published": "2016-12-15T00:00:00", "id": "OPENVAS:1361412562310106476", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310106476", "title": "Siemens SIMATIC S7-300/400 PLC Multiple Vulnerabilities", "type": "openvas", "sourceData": "##############################################################################\n# OpenVAS Vulnerability Test\n# $Id: gb_simatic_s7_mult_vuln.nasl 11569 2018-09-24 10:29:54Z asteins $\n#\n# Siemens SIMATIC S7-300/400 PLC Multiple Vulnerabilities\n#\n# Authors:\n# Christian Kuersteiner <christian.kuersteiner@greenbone.net>\n#\n# Copyright:\n# Copyright (c) 2016 Greenbone Networks GmbH\n#\n# This program is free software; you can redistribute it and/or\n# modify it under the terms of the GNU General Public License\n# as published by the Free Software Foundation; either version 2\n# of the License, or (at your option) any later version\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\nif (description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.106476\");\n script_version(\"$Revision: 11569 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2018-09-24 12:29:54 +0200 (Mon, 24 Sep 2018) $\");\n script_tag(name:\"creation_date\", value:\"2016-12-15 10:22:34 +0700 (Thu, 15 Dec 2016)\");\n script_tag(name:\"cvss_base\", value:\"7.8\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:L/Au:N/C:N/I:N/A:C\");\n\n script_cve_id(\"CVE-2016-9158\", \"CVE-2016-9159\");\n\n script_tag(name:\"qod_type\", value:\"remote_banner\");\n\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n\n script_name(\"Siemens SIMATIC S7-300/400 PLC Multiple Vulnerabilities\");\n\n script_category(ACT_GATHER_INFO);\n\n script_copyright(\"This script is Copyright (C) 2016 Greenbone Networks GmbH\");\n script_family(\"General\");\n script_dependencies(\"gb_simatic_s7_version.nasl\");\n script_mandatory_keys(\"simatic_s7/detected\", \"simatic_s7/version\");\n\n script_tag(name:\"summary\", value:\"Siemens SIMATIC S7-300 and S7-400 are prone to multiple vulnerabilities.\");\n\n script_tag(name:\"vuldetect\", value:\"Checks if a HTTP port or the COTP port is open.\");\n\n script_tag(name:\"insight\", value:\"Siemens SIMATIC S7-300 and S7-400 are prone to multiple vulnerabilities:\n\n - Specially crafted packets sent to Port 80/TCP could cause the affected devices to go into defect mode.\n(CVE-2016-9158)\n\n - An attacker with network access to Port 102/TCP (ISO-TSAP) could obtain credentials from the PLC if\nProtection-level 2 is configured on the affected devices. (CVE-2016-9159)\");\n\n script_tag(name:\"impact\", value:\"A remote attacker may cause a DoS condition or obtain credentials.\");\n\n script_tag(name:\"affected\", value:\"S7-300 CPU firmware version prior to 3.X.14, S7-400 PN V6 firmware version\nprior to 6.0.6, S7-400 V7 firmware version prior to 7.0.2 and S7-CPU 410 CPU firmware version prior to 8.2.0.\");\n\n script_tag(name:\"solution\", value:\"Siemens provides updated firmware versions.\");\n\n script_xref(name:\"URL\", value:\"https://ics-cert.us-cert.gov/advisories/ICSA-16-348-05\");\n script_xref(name:\"URL\", value:\"https://www.siemens.com/cert/pool/cert/siemens_security_advisory_ssa-731239.pdf\");\n\n exit(0);\n}\n\ninclude(\"host_details.inc\");\ninclude(\"version_func.inc\");\n\nmodel = get_kb_item(\"simatic_s7/model\");\n\nif (model !~ \"^(3|4)[0-9]{2}\")\n exit(0);\n\nmoduleType = get_kb_item(\"simatic_s7/modtype\");\n\nif (!fw = get_kb_item(\"simatic_s7/version\"))\n exit(0);\n\nif (model =~ \"^3\") {\n if ((moduleType =~ \"^CPU 314C\" || model =~ \"^314C\") && version_is_less(version: fw, test_version: \"3.3.14\")) {\n report = report_fixed_ver(installed_version: fw, fixed_version: \"3.3.14\");\n security_message(port: 0, data: report);\n exit(0);\n }\n\n if ((moduleType =~ \"^CPU 3(15|17|19)\" || model =~ \"^3(15|17|19)\") &&\n version_is_less(version: fw, test_version: \"3.2.14\")) {\n report = report_fixed_ver(installed_version: fw, fixed_version: \"3.2.14\");\n security_message(port: 0, data: report);\n exit(0);\n }\n}\n\nif (moduleType =~ \"^CPE 41(2|4|6).*PN/DP$\" && version_is_less(version: fw, test_version: \"6.0.6\")) {\n report = report_fixed_ver(installed_version: fw, fixed_version: \"6.0.6\");\n security_message(port: 0, data: report);\n exit(0);\n}\n\nif (moduleType =~ \"^CPE 41(2|4|6)$\" && version_in_range(version: fw, test_version: \"7\", test_version2: \"7.0.1\")) {\n report = report_fixed_ver(installed_version: fw, fixed_version: \"7.0.2\");\n security_message(port: 0, data: report);\n exit(0);\n}\n\nif (moduleType =~ \"^CPU 410\" && version_is_less(version: fw, test_version: \"8.2.0\")) {\n report = report_fixed_ver(installed_version: fw, fixed_version: \"8.2.0\");\n security_message(port: 0, data: report);\n exit(0);\n}\n\nexit(0);\n\n", "cvss": {"score": 7.8, "vector": "AV:N/AC:L/Au:N/C:N/I:N/A:C"}}]}