Vulnerabilities > CVE-2018-8840 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in multiple products
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
A remote attacker could send a carefully crafted packet in InduSoft Web Studio v8.1 and prior versions, and/or InTouch Machine Edition 2017 v8.1 and prior versions during a tag, alarm, or event related action such as read and write, which may allow remote code execution.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 31 | |
Application | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Nessus
NASL family Windows NASL id SCADA_SCHNEIDER_ELECTRIC_ITME_TRA-2018-07_LOCAL.NASL description An installed version of Schneider Electric InTouch Machine Edition is vulnerable to RCE and therefore requires a security update. last seen 2019-02-21 modified 2018-11-15 plugin id 109143 published 2018-04-18 reporter Tenable source https://www.tenable.com/plugins/index.php?view=single&id=109143 title Schneider Electric InTouch Machine Edition RCE (Apr 2018) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(109143); script_version("1.5"); script_cvs_date("Date: 2019/11/08"); script_cve_id("CVE-2018-8840"); script_xref(name:"TRA", value:"TRA-2018-07"); script_xref(name:"ICSA", value:"18-107-01"); script_name(english:"Schneider Electric InTouch Machine Edition RCE (Apr 2018)"); script_summary(english:"Checks version of Schneider Electric InTouch Machine Edition."); script_set_attribute(attribute:"synopsis", value: "Schneider Electric InTouch Machine Edition requires a security update."); script_set_attribute(attribute:"description", value: "An installed version of Schneider Electric InTouch Machine Edition is vulnerable to RCE and therefore requires a security update."); script_set_attribute(attribute:"see_also", value:"https://www.tenable.com/security/research/tra-2018-07"); # https://sw.aveva.com/hubfs/pdf/security-bulletin/LFSec00000125-2.pdf script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?dcfab1a4"); script_set_attribute(attribute:"see_also", value:"https://ics-cert.us-cert.gov/advisories/ICSA-18-107-01"); script_set_attribute(attribute:"solution", value: "Update to Schneider Electric InTouch Machine Edition 8.1 SP1."); 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_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/04/06"); script_set_attribute(attribute:"patch_publication_date", value:"2018/04/06"); script_set_attribute(attribute:"plugin_publication_date", value:"2018/04/18"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/a:schneider-electric:wonderware_intouch"); script_set_attribute(attribute:"cpe", value:"x-cpe:/a:schneider_electric:wonderware_intouch_machine_edition"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Windows"); script_copyright(english:"This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("scada_app_schneider_electric_itme_detection_local.nbin"); script_require_keys("installed_sw/Schneider Electric InTouch Machine Edition"); script_require_ports(139, 445, "Host/patch_management_checks"); exit(0); } include("audit.inc"); include("misc_func.inc"); include("install_func.inc"); include("global_settings.inc"); include("smb_func.inc"); appname = 'Schneider Electric InTouch Machine Edition'; get_install_count(app_name:appname, exit_if_zero:true); port = kb_smb_transport(); installs = get_installs(app_name:appname, exit_if_not_found:true); report = ''; foreach install (installs[1]) { version = install['version']; path = install['path']; fix = '2601.1803.2601.0'; vcomp_out = ver_compare(ver:version, fix:fix); if (!isnull(vcomp_out) && vcomp_out < 0) { report += '\n Path : ' + path + '\n Installed version : ' + version + '\n Fixed version : ' + fix + '\n'; } } if (report != '') security_report_v4(port:port, severity:SECURITY_HOLE, extra:report); else audit(AUDIT_INST_VER_NOT_VULN, appname);
NASL family Windows NASL id SCADA_SCHNEIDER_ELECTRIC_IWS_TRA-2018-07_LOCAL.NASL description An installed version of Schneider Electric InduSoft Web Studio is vulnerable to RCE and therefore requires a security update. last seen 2019-02-21 modified 2018-11-15 plugin id 109144 published 2018-04-18 reporter Tenable source https://www.tenable.com/plugins/index.php?view=single&id=109144 title Schneider Electric InduSoft Web Studio RCE (Apr 2018) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(109144); script_version("1.5"); script_cvs_date("Date: 2019/11/08"); script_cve_id("CVE-2018-8840"); script_xref(name:"TRA", value:"TRA-2018-07"); script_xref(name:"ICSA", value:"18-107-01"); script_name(english:"Schneider Electric InduSoft Web Studio RCE (Apr 2018)"); script_summary(english:"Checks version of Schneider Electric InduSoft Web Studio."); script_set_attribute(attribute:"synopsis", value: "Schneider Electric InduSoft Web Studio requires a security update."); script_set_attribute(attribute:"description", value: "An installed version of Schneider Electric InduSoft Web Studio is vulnerable to RCE and therefore requires a security update."); script_set_attribute(attribute:"see_also", value:"https://www.tenable.com/security/research/tra-2018-07"); # https://sw.aveva.com/hubfs/pdf/security-bulletin/LFSec00000125-2.pdf script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?dcfab1a4"); script_set_attribute(attribute:"see_also", value:"https://ics-cert.us-cert.gov/advisories/ICSA-18-107-01"); script_set_attribute(attribute:"solution", value: "Update to Schneider Electric InduSoft Web Studio 8.1 SP1."); 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_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/04/06"); script_set_attribute(attribute:"patch_publication_date", value:"2018/04/06"); script_set_attribute(attribute:"plugin_publication_date", value:"2018/04/18"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/a:indusoft:web_studio"); script_set_attribute(attribute:"cpe", value:"x-cpe:/a:schneider_electric:indusoft_web_studio"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Windows"); script_copyright(english:"This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("scada_app_schneider_electric_iws_detection_local.nbin"); script_require_keys("installed_sw/Schneider Electric InduSoft Web Studio"); script_require_ports(139, 445, "Host/patch_management_checks"); exit(0); } include("audit.inc"); include("misc_func.inc"); include("install_func.inc"); include("global_settings.inc"); include("smb_func.inc"); appname = 'Schneider Electric InduSoft Web Studio'; get_install_count(app_name:appname, exit_if_zero:true); port = kb_smb_transport(); installs = get_installs(app_name:appname, exit_if_not_found:true); report = ''; foreach install (installs[1]) { version = install['version']; path = install['path']; fix = '2601.1803.2601.0'; vcomp_out = ver_compare(ver:version, fix:fix); if (!isnull(vcomp_out) && vcomp_out < 0) { report += '\n Path : ' + path + '\n Installed version : ' + version + '\n Fixed version : ' + fix + '\n'; } } if (report != '') security_report_v4(port:port, severity:SECURITY_HOLE, extra:report); else audit(AUDIT_INST_VER_NOT_VULN, appname);