Siemens SIMATIC S7-1200 PLC < 4.1.3 XSRF - Nessus

High   Plugin ID: 85842

This page contains detailed information about the Siemens SIMATIC S7-1200 PLC < 4.1.3 XSRF Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 85842
Name: Siemens SIMATIC S7-1200 PLC < 4.1.3 XSRF
Filename: scada_siemens_simatic_s7_1200_plc_SSA-134003.nbin
Vulnerability Published: 2015-08-27
This Plugin Published: 2015-09-08
Last Modification Time: 2022-02-14
Plugin Version: 1.49
Plugin Type: remote
Plugin Family: SCADA
Dependencies: scada_siemens_simatic_s7_1200_plc_firmware_detect.nbin, scada_siemens_simatic_s7_1200_plc_web_server_detect.nbin
Required KB Items [?]: SCADA/Siemens SIMATIC S7-1200 PLC Web Server, Siemens SIMATIC S7-1200 PLC Firmware

Vulnerability Information


Severity: High
Vulnerability Published: 2015-08-27
Patch Published: 2015-08-27
CVE [?]: CVE-2015-5698
CPE [?]: cpe:/h:siemens:simatic_s7_1200_cpu, cpe:/o:siemens:simatic_s7_1200_cpu_firmware

Synopsis

The remote web server running on the S7-1200 PLC is affected by a cross-site request forgery vulnerability.

Description

The Siemens SIMATIC S7-1200 integrated web server is running a firmware version that is prior to 4.1.3 It is, therefore, affected by an unspecified cross-site request forgery (XSRF) vulnerability. A remote attacker can exploit this by convincing a user to click a malicious link.

Note that Nessus has not attempted to exploit this issue but has instead relied only on the device's self-reported version number.

Solution

Upgrade to Siemens SIMATIC S7-1200 CPU firmware release version 4.1.3 or later.

Public Exploits


Target Network Port(s): N/A
Target Asset(s): N/A
Exploit Available: True (Exploit-DB)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Siemens SIMATIC S7-1200 PLC < 4.1.3 XSRF vulnerability:

  1. Exploit-DB: exploits/linux/webapps/44667.txt
    [EDB-44667: Siemens SIMATIC S7-1200 CPU - Cross-Site Request Forgery]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS Score Source [?]: CVE-2015-5698
CVSS V2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C
CVSS Base Score:7.5 (High)
Impact Subscore:6.4
Exploitability Subscore:10.0
CVSS Temporal Score:5.9 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:5.9 (Medium)

Go back to menu.

Plugin Source


The scada_siemens_simatic_s7_1200_plc_SSA-134003.nbin Nessus plugin is distributed in a propriatory binary format and its source code is protected. This script is Copyright (C) 2015-2022 and is owned by Tenable, Inc. or an Affiliate thereof.

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/scada_siemens_simatic_s7_1200_plc_SSA-134003.nbin
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\scada_siemens_simatic_s7_1200_plc_SSA-134003.nbin
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/scada_siemens_simatic_s7_1200_plc_SSA-134003.nbin

Go back to menu.

How to Run


Here is how to run the Siemens SIMATIC S7-1200 PLC < 4.1.3 XSRF as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select SCADA plugin family.
  6. On the right side table select Siemens SIMATIC S7-1200 PLC < 4.1.3 XSRF plugin ID 85842.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl scada_siemens_simatic_s7_1200_plc_SSA-134003.nbin -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a scada_siemens_simatic_s7_1200_plc_SSA-134003.nbin -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - scada_siemens_simatic_s7_1200_plc_SSA-134003.nbin -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state scada_siemens_simatic_s7_1200_plc_SSA-134003.nbin -t <IP/HOST>

Go back to menu.

References


ICSA | ICS Advisory: See also: Similar and related Nessus plugins:
  • 500035 - Siemens (CVE-2015-5698)
  • 63428 - Siemens Automation License Manager Multiple Vulnerabilities
  • 47759 - Siemens SIMATIC WinCC Default Password Authentication Bypass
  • 66839 - Siemens Solid Edge SEListCtrlX ActiveX Control SetItemReadOnly Method Memory Address Write Arbitrary Code Execution
  • 66840 - Siemens Solid Edge WPHelper ActiveX Control OpenInEditor Method Arbitrary Command Execution
  • 500424 - Siemens (CVE-2014-0160)
  • 500473 - Siemens (CVE-2014-0224)
  • 500128 - Siemens (CVE-2014-2908)
  • 500045 - Siemens (CVE-2014-5074)
  • 500088 - Siemens (CVE-2015-2177)
  • 500264 - Siemens (CVE-2015-5374)
  • 500121 - Siemens (CVE-2016-8672)
  • 500153 - Siemens (CVE-2016-8673)
  • 500248 - Siemens (CVE-2018-3639)
  • 500055 - Siemens (CVE-2019-10943)
  • 500065 - Siemens (CVE-2019-12255)
  • 500279 - Siemens (CVE-2019-12256)
  • 500067 - Siemens (CVE-2019-12258)
  • 500292 - Siemens (CVE-2019-12260)
  • 500355 - Siemens (CVE-2019-13945)
  • 500484 - Siemens (CVE-2020-15782)
  • 500504 - Siemens (CVE-2021-3449)
  • 500615 - Siemens (CVE-2021-37185)
  • 500614 - Siemens (CVE-2021-37204)
  • 500616 - Siemens (CVE-2021-37205)

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file scada_siemens_simatic_s7_1200_plc_SSA-134003.nbin version 1.49. For more plugins, visit the Nessus Plugin Library.

Go back to menu.