ICS Advisory

Beckhoff TwinCAT

Last Revised
Alert Code
ICSA-18-081-02

CVSS v3 7.8

ATTENTION: Low skill level to exploit.

Vendor: Beckhoff

Equipment: TwinCAT

Vulnerability: Untrusted Pointer Dereference

AFFECTED PRODUCTS

Beckhoff reports that the vulnerability affects the following TwinCAT PLC products:

  • TwinCAT 3.1 Build 4022.4 or prior,
  • TwinCAT 2.11 R3 2259 or prior, and
  • TwinCAT 3.1 C++ / Matlab (TC1210/TC1220/TC1300/TC1320).

IMPACT

Successful exploitation of this vulnerability could allow local attackers to escalate privileges.

MITIGATION

Beckhoff recommends users update to the newest version and recompile Matlab modules after updating.

Please see Beckhoff Security Advisory 2018-001 at the following location for more information:

https://download.beckhoff.com/download/Document/product-security/Advisories/advisory-2018-001.pdf

NCCIC recommends users take defensive measures to minimize the risk of exploitation of this vulnerability. Specifically, users should:

  • Restrict machine access to only those who need it.
  • Don’t share usernames or passwords.
  • Monitor and respond to suspicious behavior.

NCCIC reminds organizations to perform proper impact analysis and risk assessment prior to deploying defensive measures.

NCCIC 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.

Additional 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 website.

Organizations observing any suspected malicious activity should follow their established internal procedures and report their findings to NCCIC for tracking and correlation against other incidents.

No known public exploits specifically target this vulnerability. This vulnerability is not exploitable remotely.

VULNERABILITY OVERVIEW

Several kernel drivers lack proper validation of user-supplied pointer values. An attacker who is able to execute code on the target may be able to exploit this vulnerability to obtain SYSTEM privileges.

CVE-2018-7502 has been assigned to this vulnerability. A CVSS v3 base score of 7.8 has been calculated; the CVSS vector string is (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

RESEARCHER

Steven Seeley of Source Incite reported this vulnerability to NCCIC.

BACKGROUND

Critical Infrastructure Sectors: Critical Manufacturing, Energy, Water and Wastewater Systems

Countries/Areas Deployed: Worldwide

Company Headquarters Location: Germany

This product is provided subject to this Notification and this Privacy & Use policy.

Vendor

  • Beckhoff