Yokogawa (CVE-2014-0782) - Nessus

High   Plugin ID: 500189

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

Plugin Overview


ID: 500189
Name: Yokogawa (CVE-2014-0782)
Filename: tenable_ot_yokogawa_CVE-2014-0782.nasl
Vulnerability Published: 2014-05-16
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/Yokogawa

Vulnerability Information


Severity: High
Vulnerability Published: 2014-05-16
Patch Published: 2014-05-16
CVE [?]: CVE-2014-0782
CPE [?]: cpe:/a:yokogawa:centum_cs_1000_software:-, cpe:/a:yokogawa:centum_cs_3000_entry_class_software, cpe:/a:yokogawa:centum_cs_3000_software, cpe:/a:yokogawa:centum_vp_entry_class_software, cpe:/a:yokogawa:centum_vp_software, cpe:/h:yokogawa:centum_cs_1000:-, cpe:/h:yokogawa:centum_cs_3000:-, cpe:/h:yokogawa:centum_cs_3000_entry_class:-, cpe:/h:yokogawa:centum_vp:-, cpe:/h:yokogawa:centum_vp_entry_class:-

Synopsis

The remote OT asset is affected by a vulnerability.

Description

Stack-based buffer overflow in BKESimmgr.exe in the Expanded Test Functions package in Yokogawa CENTUM CS 1000, CENTUM CS 3000 Entry Class R3.09.50 and earlier, CENTUM VP R5.03.00 and earlier, CENTUM VP Entry Class R5.03.00 and earlier, Exaopc R3.71.02 and earlier, B/M9000CS R5.05.01 and earlier, and B/M9000 VP R7.03.01 and earlier allows remote attackers to execute arbitrary code via a crafted packet.

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)
Exploit Ease: Exploits (PoCs) are available

Here's the list of publicly known exploits and PoCs for verifying the Yokogawa (CVE-2014-0782) vulnerability:

  1. Exploit-DB: exploits/windows/remote/33331.rb
    [EDB-33331: Yokogawa CS3000 - 'BKESimmgr.exe' Remote Buffer Overflow (Metasploit)]

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-2014-0782
CVSS V2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:C
CVSS Base Score:8.3 (High)
Impact Subscore:8.5
Exploitability Subscore:8.6
CVSS Temporal Score:NA (None)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.3 (High)

Go back to menu.

Plugin Source


This is the tenable_ot_yokogawa_CVE-2014-0782.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(500189);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/02/07");

  script_cve_id("CVE-2014-0782");

  script_name(english:"Yokogawa (CVE-2014-0782)");

  script_set_attribute(attribute:"synopsis", value:
"The remote OT asset is affected by a vulnerability.");
  script_set_attribute(attribute:"description", value:
"Stack-based buffer overflow in BKESimmgr.exe in the Expanded Test Functions package in Yokogawa CENTUM CS 1000, CENTUM
CS 3000 Entry Class R3.09.50 and earlier, CENTUM VP R5.03.00 and earlier, CENTUM VP Entry Class R5.03.00 and earlier,
Exaopc R3.71.02 and earlier, B/M9000CS R5.05.01 and earlier, and B/M9000 VP R7.03.01 and earlier allows remote attackers
to execute arbitrary code via a crafted packet.  

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:"http://www.yokogawa.com/dcs/security/ysar/YSAR-14-0001E.pdf");
  script_set_attribute(attribute:"see_also", value:"http://ics-cert.us-cert.gov/advisories/ICSA-14-133-01");
  script_set_attribute(attribute:"solution", value:
"Refer to the vendor advisory.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2014-0782");

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

  script_set_attribute(attribute:"vuln_publication_date", value:"2014/05/16");
  script_set_attribute(attribute:"patch_publication_date", value:"2014/05/16");
  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:/a:yokogawa:centum_cs_1000_software:-");
  script_set_attribute(attribute:"cpe", value:"cpe:/h:yokogawa:centum_cs_1000:-");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:yokogawa:centum_cs_3000_software");
  script_set_attribute(attribute:"cpe", value:"cpe:/h:yokogawa:centum_cs_3000:-");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:yokogawa:centum_cs_3000_entry_class_software");
  script_set_attribute(attribute:"cpe", value:"cpe:/h:yokogawa:centum_cs_3000_entry_class:-");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:yokogawa:centum_vp_entry_class_software");
  script_set_attribute(attribute:"cpe", value:"cpe:/h:yokogawa:centum_vp_entry_class:-");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:yokogawa:centum_vp_software");
  script_set_attribute(attribute:"cpe", value:"cpe:/h:yokogawa:centum_vp:-");
  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/Yokogawa");

  exit(0);
}


include('tenable_ot_cve_funcs.inc');

get_kb_item_or_exit('Tenable.ot/Yokogawa');

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

var vuln_cpes = {
    "cpe:/a:yokogawa:centum_cs_1000_software:-" : {},
    "cpe:/h:yokogawa:centum_cs_1000:-" : {},
    "cpe:/a:yokogawa:centum_cs_3000_software" :
        {"versionEndIncluding" : "2.23.00"},
    "cpe:/h:yokogawa:centum_cs_3000:-" : {},
    "cpe:/a:yokogawa:centum_cs_3000_entry_class_software" :
        {"versionEndIncluding" : "3.09.50"},
    "cpe:/h:yokogawa:centum_cs_3000_entry_class:-" : {},
    "cpe:/a:yokogawa:centum_vp_entry_class_software" :
        {"versionEndIncluding" : "5.03.00"},
    "cpe:/h:yokogawa:centum_vp_entry_class:-" : {},
    "cpe:/a:yokogawa:centum_vp_software" :
        {"versionEndIncluding" : "4.03.00"},
    "cpe:/h:yokogawa:centum_vp:-" : {}
};

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

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_yokogawa_CVE-2014-0782.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\tenable_ot_yokogawa_CVE-2014-0782.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/tenable_ot_yokogawa_CVE-2014-0782.nasl

Go back to menu.

How to Run


Here is how to run the Yokogawa (CVE-2014-0782) 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 Yokogawa (CVE-2014-0782) plugin ID 500189.
  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_yokogawa_CVE-2014-0782.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a tenable_ot_yokogawa_CVE-2014-0782.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_yokogawa_CVE-2014-0782.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_yokogawa_CVE-2014-0782.nasl -t <IP/HOST>

Go back to menu.

References


CWE | Common Weakness Enumeration:
  • CWE-119 (Weakness) Improper Restriction of Operations within the Bounds of a Memory Buffer
See also: Similar and related Nessus plugins:
  • 500150 - Yokogawa (CVE-2014-3888)
  • 500029 - Schneider (CVE-2013-0662)
  • 500035 - Siemens (CVE-2015-5698)
  • 500045 - Siemens (CVE-2014-5074)
  • 500055 - Siemens (CVE-2019-10943)
  • 500065 - Siemens (CVE-2019-12255)
  • 500067 - Siemens (CVE-2019-12258)
  • 500074 - Schneider (CVE-2013-0663)
  • 500088 - Siemens (CVE-2015-2177)
  • 500118 - Rockwell (CVE-2018-19615)
  • 500121 - Siemens (CVE-2016-8672)
  • 500122 - Schneider (CVE-2018-7842)
  • 500128 - Siemens (CVE-2014-2908)
  • 500150 - Yokogawa (CVE-2014-3888)
  • 500153 - Siemens (CVE-2016-8673)
  • 500183 - Rockwell (CVE-2009-0473)
  • 500247 - Rockwell (CVE-2018-19616)
  • 500248 - Siemens (CVE-2018-3639)
  • 500264 - Siemens (CVE-2015-5374)
  • 500279 - Siemens (CVE-2019-12256)
  • 500292 - Siemens (CVE-2019-12260)
  • 500299 - Schneider (CVE-2018-7812)
  • 500302 - Rockwell (CVE-2016-2279)
  • 500305 - Rockwell (CVE-2018-10619)
  • 500334 - Beckhoff (CVE-2015-4051)
  • 500355 - Siemens (CVE-2019-13945)
  • 500392 - Rockwell (CVE-2020-12028)
  • 500424 - Siemens (CVE-2014-0160)
  • 500457 - Rockwell (CVE-2020-12027)
  • 500473 - Siemens (CVE-2014-0224)
  • 500478 - Rockwell (CVE-2020-12029)
  • 500484 - Siemens (CVE-2020-15782)
  • 500504 - Siemens (CVE-2021-3449)

Version


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

Go back to menu.