Siemens (CVE-2018-3639) - Nessus

Medium   Plugin ID: 500248

This page contains detailed information about the Siemens (CVE-2018-3639) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 500248
Name: Siemens (CVE-2018-3639)
Filename: tenable_ot_siemens_CVE-2018-3639.nasl
Vulnerability Published: 2018-05-22
This Plugin Published: 2022-02-07
Last Modification Time: 2022-02-07
Plugin Version: 1.1
Plugin Type: remote
Plugin Family: Tenable.ot
Dependencies: tenable_ot_api_integration.nasl
Required KB Items [?]: Tenable.ot/Siemens

Vulnerability Information


Severity: Medium
Vulnerability Published: 2018-05-22
Patch Published: 2018-05-22
CVE [?]: CVE-2018-3639
CPE [?]: cpe:/o:siemens:simatic_et_200_sp_firmware, cpe:/o:siemens:simatic_s7-1500_firmware

Synopsis

The remote OT asset is affected by a vulnerability.

Description

Systems with microprocessors utilizing speculative execution and speculative execution of memory reads before the addresses of all prior memory writes are known may allow unauthorized disclosure of information to an attacker with local user access via a side-channel analysis, aka Speculative Store Bypass (SSB), Variant 4.

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

Solution

Refer to the vendor advisory.

Public Exploits


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

Here's the list of publicly known exploits and PoCs for verifying the Siemens (CVE-2018-3639) vulnerability:

  1. Exploit-DB: exploits/hardware/dos/44695.c
    [EDB-44695: AMD / ARM / Intel - Speculative Execution Variant 4 Speculative Store Bypass]
  2. GitHub: https://github.com/ambynotcoder/C-libraries
    [CVE-2018-3639]
  3. GitHub: https://github.com/codexlynx/hardware-attacks-state-of-the-art
    [CVE-2018-3639]
  4. GitHub: https://github.com/houjingyi233/CPU-vulnerability-collections
    [CVE-2018-3639]
  5. GitHub: https://github.com/interlunar/win10-regtweak
    [CVE-2018-3639]
  6. GitHub: https://github.com/jinb-park/linux-exploit
    [CVE-2018-3639]
  7. GitHub: https://github.com/kaosagnt/ansible-everyday
    [CVE-2018-3639]
  8. GitHub: https://github.com/kevincoakley/puppet-spectre_meltdown
    [CVE-2018-3639]
  9. GitHub: https://github.com/malindarathnayake/Intel-CVE-2018-3639-Mitigation_RegistryUpdate
    [CVE-2018-3639]
  10. GitHub: https://github.com/microsoft/SpeculationControl
    [CVE-2018-3639]
  11. GitHub: https://github.com/mjaggi-cavium/spectre-meltdown-checker
    [CVE-2018-3639]
  12. GitHub: https://github.com/nsacyber/Hardware-and-Firmware-Security-Guidance
    [CVE-2018-3639]
  13. GitHub: https://github.com/pathakabhi24/Awesome-C
    [CVE-2018-3639]
  14. GitHub: https://github.com/rosenbergj/cpu-report
    [CVE-2018-3639]
  15. GitHub: https://github.com/savchenko/windows10
    [CVE-2018-3639]
  16. GitHub: https://github.com/speed47/spectre-meltdown-checker
    [CVE-2018-3639]
  17. GitHub: https://github.com/timidri/puppet-meltdown
    [CVE-2018-3639]
  18. GitHub: https://github.com/uhub/awesome-c
    [CVE-2018-3639]
  19. GitHub: https://github.com/willyb321/willyb321-stars
    [CVE-2018-3639]
  20. GitHub: https://github.com/xairy/linux-kernel-exploitation
    [CVE-2018-3639]
  21. GitHub: https://github.com/ionescu007/SpecuCheck
    [CVE-2018-3639: SpecuCheck is a Windows utility for checking the state of the software mitigations ...]
  22. GitHub: https://github.com/mmxsrup/CVE-2018-3639
    [CVE-2018-3639: Speculative Store Bypass (CVE-2018-3639) proof of concept for Linux]
  23. GitHub: https://github.com/tyhicks/ssbd-tools
    [CVE-2018-3639: Tools to exercise the Linux kernel mitigation for CVE-2018-3639 (aka Variant 4) ...]
  24. GitHub: https://github.com/Shuiliusheng/CVE-2018-3639-specter-v4-
    [CVE-2018-3639: Spectre v4 : Speculative Store Bypass (CVE-2018-3639) proof of concept for Linux]

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-2018-3639
CVSS V2 Vector: AV:L/AC:L/Au:N/C:P/I:N/A:N
CVSS Base Score:2.1 (Low)
Impact Subscore:2.9
Exploitability Subscore:3.9
CVSS Temporal Score:NA (None)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:2.1 (Low)
CVSS V3 Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS Base Score:5.5 (Medium)
Impact Subscore:3.6
Exploitability Subscore:1.8
CVSS Temporal Score:NA (None)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:5.5 (Medium)

Go back to menu.

Plugin Source


This is the tenable_ot_siemens_CVE-2018-3639.nasl nessus plugin source code. This script is Copyright (C) 2022 and is owned by Tenable, Inc. or an Affiliate thereof.

#%NASL_MIN_LEVEL 70300
##
# (C) Tenable Network Security, Inc.
##

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(500248);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/02/07");

  script_cve_id("CVE-2018-3639");
  script_xref(name:"CERT", value:"TA18-141A");
  script_xref(name:"USN", value:"USN-3655-2");
  script_xref(name:"USN", value:"USN-3654-2");
  script_xref(name:"USN", value:"USN-3654-1");
  script_xref(name:"USN", value:"USN-3653-2");
  script_xref(name:"USN", value:"USN-3653-1");
  script_xref(name:"USN", value:"USN-3652-1");
  script_xref(name:"USN", value:"USN-3651-1");
  script_xref(name:"RHSA", value:"RHSA-2018:1660");
  script_xref(name:"RHSA", value:"RHSA-2018:1655");
  script_xref(name:"RHSA", value:"RHSA-2018:1647");
  script_xref(name:"RHSA", value:"RHSA-2018:1630");
  script_xref(name:"RHSA", value:"RHSA-2018:1690");
  script_xref(name:"RHSA", value:"RHSA-2018:1689");
  script_xref(name:"RHSA", value:"RHSA-2018:1688");
  script_xref(name:"RHSA", value:"RHSA-2018:1686");
  script_xref(name:"RHSA", value:"RHSA-2018:1676");
  script_xref(name:"RHSA", value:"RHSA-2018:1675");
  script_xref(name:"RHSA", value:"RHSA-2018:1674");
  script_xref(name:"RHSA", value:"RHSA-2018:1669");
  script_xref(name:"RHSA", value:"RHSA-2018:1668");
  script_xref(name:"RHSA", value:"RHSA-2018:1667");
  script_xref(name:"RHSA", value:"RHSA-2018:1666");
  script_xref(name:"RHSA", value:"RHSA-2018:1665");
  script_xref(name:"RHSA", value:"RHSA-2018:1664");
  script_xref(name:"RHSA", value:"RHSA-2018:1663");
  script_xref(name:"RHSA", value:"RHSA-2018:1662");
  script_xref(name:"RHSA", value:"RHSA-2018:1661");
  script_xref(name:"RHSA", value:"RHSA-2018:1659");
  script_xref(name:"RHSA", value:"RHSA-2018:1658");
  script_xref(name:"RHSA", value:"RHSA-2018:1657");
  script_xref(name:"RHSA", value:"RHSA-2018:1656");
  script_xref(name:"RHSA", value:"RHSA-2018:1654");
  script_xref(name:"RHSA", value:"RHSA-2018:1653");
  script_xref(name:"RHSA", value:"RHSA-2018:1652");
  script_xref(name:"RHSA", value:"RHSA-2018:1651");
  script_xref(name:"RHSA", value:"RHSA-2018:1650");
  script_xref(name:"RHSA", value:"RHSA-2018:1649");
  script_xref(name:"RHSA", value:"RHSA-2018:1648");
  script_xref(name:"RHSA", value:"RHSA-2018:1646");
  script_xref(name:"RHSA", value:"RHSA-2018:1645");
  script_xref(name:"RHSA", value:"RHSA-2018:1644");
  script_xref(name:"RHSA", value:"RHSA-2018:1643");
  script_xref(name:"RHSA", value:"RHSA-2018:1642");
  script_xref(name:"RHSA", value:"RHSA-2018:1636");
  script_xref(name:"RHSA", value:"RHSA-2018:1635");
  script_xref(name:"RHSA", value:"RHSA-2018:1633");
  script_xref(name:"RHSA", value:"RHSA-2018:1632");
  script_xref(name:"RHSA", value:"RHSA-2018:1629");
  script_xref(name:"EDB-ID", value:"44695");
  script_xref(name:"RHSA", value:"RHSA-2018:1711");
  script_xref(name:"RHSA", value:"RHSA-2018:1710");
  script_xref(name:"RHSA", value:"RHSA-2018:1696");
  script_xref(name:"DSA", value:"DSA-4210");
  script_xref(name:"USN", value:"USN-3655-1");
  script_xref(name:"RHSA", value:"RHSA-2018:1738");
  script_xref(name:"RHSA", value:"RHSA-2018:1737");
  script_xref(name:"RHSA", value:"RHSA-2018:1641");
  script_xref(name:"RHSA", value:"RHSA-2018:1640");
  script_xref(name:"RHSA", value:"RHSA-2018:1639");
  script_xref(name:"RHSA", value:"RHSA-2018:1638");
  script_xref(name:"RHSA", value:"RHSA-2018:1637");
  script_xref(name:"USN", value:"USN-3680-1");
  script_xref(name:"USN", value:"USN-3679-1");
  script_xref(name:"RHSA", value:"RHSA-2018:1826");
  script_xref(name:"RHSA", value:"RHSA-2018:1854");
  script_xref(name:"RHSA", value:"RHSA-2018:2006");
  script_xref(name:"RHSA", value:"RHSA-2018:2003");
  script_xref(name:"RHSA", value:"RHSA-2018:2001");
  script_xref(name:"RHSA", value:"RHSA-2018:1997");
  script_xref(name:"RHSA", value:"RHSA-2018:1967");
  script_xref(name:"RHSA", value:"RHSA-2018:1965");
  script_xref(name:"RHSA", value:"RHSA-2018:2060");
  script_xref(name:"RHSA", value:"RHSA-2018:2164");
  script_xref(name:"RHSA", value:"RHSA-2018:2162");
  script_xref(name:"RHSA", value:"RHSA-2018:2161");
  script_xref(name:"RHSA", value:"RHSA-2018:2172");
  script_xref(name:"RHSA", value:"RHSA-2018:2171");
  script_xref(name:"RHSA", value:"RHSA-2018:2216");
  script_xref(name:"RHSA", value:"RHSA-2018:2228");
  script_xref(name:"RHSA", value:"RHSA-2018:2250");
  script_xref(name:"RHSA", value:"RHSA-2018:2246");
  script_xref(name:"RHSA", value:"RHSA-2018:2258");
  script_xref(name:"RHSA", value:"RHSA-2018:2289");
  script_xref(name:"RHSA", value:"RHSA-2018:2328");
  script_xref(name:"RHSA", value:"RHSA-2018:2309");
  script_xref(name:"RHSA", value:"RHSA-2018:2364");
  script_xref(name:"RHSA", value:"RHSA-2018:2363");
  script_xref(name:"RHSA", value:"RHSA-2018:2396");
  script_xref(name:"RHSA", value:"RHSA-2018:2394");
  script_xref(name:"RHSA", value:"RHSA-2018:2387");
  script_xref(name:"DSA", value:"DSA-4273");
  script_xref(name:"USN", value:"USN-3756-1");
  script_xref(name:"USN", value:"USN-3777-3");
  script_xref(name:"RHSA", value:"RHSA-2018:3425");
  script_xref(name:"RHSA", value:"RHSA-2018:3424");
  script_xref(name:"RHSA", value:"RHSA-2018:3423");
  script_xref(name:"RHSA", value:"RHSA-2018:3407");
  script_xref(name:"RHSA", value:"RHSA-2018:3402");
  script_xref(name:"RHSA", value:"RHSA-2018:3401");
  script_xref(name:"RHSA", value:"RHSA-2018:3400");
  script_xref(name:"RHSA", value:"RHSA-2018:3399");
  script_xref(name:"RHSA", value:"RHSA-2018:3398");
  script_xref(name:"RHSA", value:"RHSA-2018:3397");
  script_xref(name:"RHSA", value:"RHSA-2018:3396");
  script_xref(name:"RHSA", value:"RHSA-2018:2948");
  script_xref(name:"RHSA", value:"RHSA-2019:0148");
  script_xref(name:"RHSA", value:"RHSA-2019:1046");
  script_xref(name:"SuSE", value:"openSUSE-SU-2019:1439");
  script_xref(name:"SuSE", value:"openSUSE-SU-2019:1438");
  script_xref(name:"SuSE", value:"openSUSE-SU-2020:1325");

  script_name(english:"Siemens (CVE-2018-3639)");

  script_set_attribute(attribute:"synopsis", value:
"The remote OT asset is affected by a vulnerability.");
  script_set_attribute(attribute:"description", value:
"Systems with microprocessors utilizing speculative execution and speculative execution of memory reads before the
addresses of all prior memory writes are known may allow unauthorized disclosure of information to an attacker with
local user access via a side-channel analysis, aka Speculative Store Bypass (SSB), Variant 4.  

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.us-cert.gov/ncas/alerts/TA18-141A");
  # https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00115.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c2acd2ee");
  script_set_attribute(attribute:"see_also", value:"https://www.synology.com/support/security/Synology_SA_18_23");
  script_set_attribute(attribute:"see_also", value:"https://www.kb.cert.org/vuls/id/180049");
  script_set_attribute(attribute:"see_also", value:"https://usn.ubuntu.com/3655-2/");
  script_set_attribute(attribute:"see_also", value:"https://usn.ubuntu.com/3654-2/");
  script_set_attribute(attribute:"see_also", value:"https://usn.ubuntu.com/3654-1/");
  script_set_attribute(attribute:"see_also", value:"https://usn.ubuntu.com/3653-2/");
  script_set_attribute(attribute:"see_also", value:"https://usn.ubuntu.com/3653-1/");
  script_set_attribute(attribute:"see_also", value:"https://usn.ubuntu.com/3652-1/");
  script_set_attribute(attribute:"see_also", value:"https://usn.ubuntu.com/3651-1/");
  # https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20180521-cpusidechannel
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?fc974ba6");
  script_set_attribute(attribute:"see_also", value:"https://support.citrix.com/article/CTX235225");
  script_set_attribute(attribute:"see_also", value:"https://security.netapp.com/advisory/ntap-20180521-0001/");
  # https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/ADV180012
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?36d8913e");
  # https://developer.arm.com/support/arm-security-updates/speculative-processor-vulnerability
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c89c164f");
  script_set_attribute(attribute:"see_also", value:"https://bugs.chromium.org/p/project-zero/issues/detail?id=1528");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1660");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1655");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1647");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1630");
  script_set_attribute(attribute:"see_also", value:"http://xenbits.xen.org/xsa/advisory-263.html");
  script_set_attribute(attribute:"see_also", value:"http://www.securitytracker.com/id/1040949");
  script_set_attribute(attribute:"see_also", value:"http://support.lenovo.com/us/en/solutions/LEN-22133");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1690");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1689");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1688");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1686");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1676");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1675");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1674");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1669");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1668");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1667");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1666");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1665");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1664");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1663");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1662");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1661");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1659");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1658");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1657");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1656");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1654");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1653");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1652");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1651");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1650");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1649");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1648");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1646");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1645");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1644");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1643");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1642");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1636");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1635");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1633");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1632");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1629");
  script_set_attribute(attribute:"see_also", value:"http://www.securityfocus.com/bid/104232");
  script_set_attribute(attribute:"see_also", value:"https://www.exploit-db.com/exploits/44695/");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1711");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1710");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1696");
  script_set_attribute(attribute:"see_also", value:"https://www.debian.org/security/2018/dsa-4210");
  script_set_attribute(attribute:"see_also", value:"https://usn.ubuntu.com/3655-1/");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1738");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1737");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1641");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1640");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1639");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1638");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1637");
  # http://www.fujitsu.com/global/support/products/software/security/products-f/cve-2018-3639e.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?ab57ba47");
  script_set_attribute(attribute:"see_also", value:"https://usn.ubuntu.com/3680-1/");
  script_set_attribute(attribute:"see_also", value:"https://usn.ubuntu.com/3679-1/");
  # https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03850en_us
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?abd55666");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1826");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1854");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2006");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2003");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2001");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1997");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1967");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:1965");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2060");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2164");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2162");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2161");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2172");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2171");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2216");
  script_set_attribute(attribute:"see_also", value:"https://lists.debian.org/debian-lts-announce/2018/07/msg00020.html");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2228");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2250");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2246");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2258");
  script_set_attribute(attribute:"see_also", value:"https://lists.debian.org/debian-lts-announce/2018/07/msg00038.html");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2289");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2328");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2309");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2364");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2363");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2396");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2394");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2387");
  script_set_attribute(attribute:"see_also", value:"https://www.debian.org/security/2018/dsa-4273");
  script_set_attribute(attribute:"see_also", value:"https://usn.ubuntu.com/3756-1/");
  script_set_attribute(attribute:"see_also", value:"https://cert-portal.siemens.com/productcert/pdf/ssa-268644.pdf");
  script_set_attribute(attribute:"see_also", value:"https://lists.debian.org/debian-lts-announce/2018/09/msg00017.html");
  script_set_attribute(attribute:"see_also", value:"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2018-0004");
  script_set_attribute(attribute:"see_also", value:"https://usn.ubuntu.com/3777-3/");
  # https://www.mitel.com/en-ca/support/security-advisories/mitel-product-security-advisory-18-0006
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?23319717");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:3425");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:3424");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:3423");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:3407");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:3402");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:3401");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:3400");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:3399");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:3398");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:3397");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:3396");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:2948");
  script_set_attribute(attribute:"see_also", value:"http://www.securitytracker.com/id/1042004");
  # https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?148b2157");
  # https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?799b2d05");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2019:0148");
  script_set_attribute(attribute:"see_also", value:"https://cert-portal.siemens.com/productcert/pdf/ssa-505225.pdf");
  script_set_attribute(attribute:"see_also", value:"https://lists.debian.org/debian-lts-announce/2019/03/msg00017.html");
  script_set_attribute(attribute:"see_also", value:"https://lists.debian.org/debian-lts-announce/2019/03/msg00034.html");
  script_set_attribute(attribute:"see_also", value:"https://lists.debian.org/debian-lts-announce/2019/04/msg00004.html");
  script_set_attribute(attribute:"see_also", value:"https://nvidia.custhelp.com/app/answers/detail/a_id/4787");
  script_set_attribute(attribute:"see_also", value:"https://support.oracle.com/knowledge/Sun%20Microsystems/2481872_1.html");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2019:1046");
  # http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00059.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?9073d091");
  # http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00058.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?ccb7a56c");
  script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2019/Jun/36");
  script_set_attribute(attribute:"see_also", value:"https://cert-portal.siemens.com/productcert/pdf/ssa-608355.pdf");
  script_set_attribute(attribute:"see_also", value:"http://www.openwall.com/lists/oss-security/2020/06/10/1");
  script_set_attribute(attribute:"see_also", value:"http://www.openwall.com/lists/oss-security/2020/06/10/2");
  script_set_attribute(attribute:"see_also", value:"http://www.openwall.com/lists/oss-security/2020/06/10/5");
  script_set_attribute(attribute:"see_also", value:"https://www.oracle.com/security-alerts/cpujul2020.html");
  # http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00007.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d5299d44");
  script_set_attribute(attribute:"solution", value:
"Refer to the vendor advisory.");
  script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:P/I:N/A:N");
  script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-3639");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_cwe_id(203);

  script_set_attribute(attribute:"vuln_publication_date", value:"2018/05/22");
  script_set_attribute(attribute:"patch_publication_date", value:"2018/05/22");
  script_set_attribute(attribute:"plugin_publication_date", value:"2022/02/07");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_et_200_sp_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_s7-1500_firmware");
  script_end_attributes();

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

  script_copyright(english:"This script is Copyright (C) 2022 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:simatic_et_200_sp_firmware" :
        {"versionEndExcluding" : "2.6"},
    "cpe:/o:siemens:simatic_s7-1500_firmware" :
        {"versionEndExcluding" : "2.6"}
};

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

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

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/tenable_ot_siemens_CVE-2018-3639.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\tenable_ot_siemens_CVE-2018-3639.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/tenable_ot_siemens_CVE-2018-3639.nasl

Go back to menu.

How to Run


Here is how to run the Siemens (CVE-2018-3639) 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 Tenable.ot plugin family.
  6. On the right side table select Siemens (CVE-2018-3639) plugin ID 500248.
  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 tenable_ot_siemens_CVE-2018-3639.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a tenable_ot_siemens_CVE-2018-3639.nasl -t <IP/HOST>

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

/opt/nessus/bin/nasl -T - tenable_ot_siemens_CVE-2018-3639.nasl -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 tenable_ot_siemens_CVE-2018-3639.nasl -t <IP/HOST>

Go back to menu.

References


RHSA | Red Hat Security Advisory: CERT | Computer Emergency Response Team: USN | Ubuntu Security Notice: DSA | Debian Security Advisory: SuSE Security Advisory:
  • openSUSE-SU-2019:1438, openSUSE-SU-2019:1439, openSUSE-SU-2020:1325
CWE | Common Weakness Enumeration:
  • CWE-203 (Weakness) Observable Discrepancy
See also: Similar and related Nessus plugins:
  • 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)
  • 500035 - Siemens (CVE-2015-5698)
  • 500121 - Siemens (CVE-2016-8672)
  • 500153 - Siemens (CVE-2016-8673)
  • 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)
  • 63428 - Siemens Automation License Manager Multiple Vulnerabilities
  • 85842 - Siemens SIMATIC S7-1200 PLC < 4.1.3 XSRF
  • 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

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file tenable_ot_siemens_CVE-2018-3639.nasl version 1.1. For more plugins, visit the Nessus Plugin Library.

Go back to menu.