-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2023.2046
        ICS Advisory | ICSA-23-096-03 JTEKT ELECTRONICS Kostac PLC
                           Programming Software
                               11 April 2023

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           JTEKT ELECTRONICS Kostac PLC Programming Software
Publisher:         ICS-CERT
Operating System:  Network Appliance
Resolution:        Patch/Upgrade
CVE Names:         CVE-2023-22424 CVE-2023-22421 CVE-2023-22419

Original Bulletin: 
   https://www.cisa.gov/news-events/ics-advisories/icsa-23-096-03

Comment: CVSS (Max):  7.8 CVE-2023-22424 (CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
         CVSS Source: ICS-CERT
         Calculator:  https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

- --------------------------BEGIN INCLUDED TEXT--------------------

ICS Advisory (ICSA-23-096-03)

JTEKT ELECTRONICS Kostac PLC Programming Software

Release Date
April 06, 2023

1. EXECUTIVE SUMMARY

  o CVSS v3 7.8
  o ATTENTION: Low attack complexity
  o Vendor: JTEKT ELECTRONICS CORPORATION
  o Equipment: Kostac PLC Programming Software
  o Vulnerabilities: Out-of-bounds Read, Use After Free

2. RISK EVALUATION

Successful exploitation of these vulnerabilities could allow an attacker to
disclose information or execute arbitrary code.

3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

The following versions of JTEKT ELECTRONICS Kostac PLC Programming Software are
affected:

  o JTEKT ELECTRONICS Kostac PLC Programing Software: Versions 1.6.9.0 and
    earlier

3.2 VULNERABILITY OVERVIEW

3.2.1 OUT-OF-BOUNDS READ CWE-125

When a specially crafted project file is opened, out-of-bounds read occurs when
processing a comment block in stage information because the end of data cannot
be verified.

CVE-2023-22419 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:N/UI:R/S:U/
C:H/I:H/A:H ).

3.2.2 OUT-OF-BOUNDS READ CWE-125

When a specially crafted project file is opened, out-of-bounds read occurs
because buffer size used by the PLC program instructions is insufficient.

CVE-2023-22421 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:N/UI:R/S:U/
C:H/I:H/A:H ).

3.2.3 USE AFTER FREE CWE-416

When the maximum number of columns to place the PLC program is out of
specification by opening a specially crafted project file, a process accesses
memory that has already been freed.

CVE-2023-22424 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:N/UI:R/S:U/
C:H/I:H/A:H ).

3.3 BACKGROUND

  o CRITICAL INFRASTRUCTURE SECTORS: Critical Manufacturing
  o COUNTRIES/AREAS DEPLOYED: Worldwide
  o COMPANY HEADQUARTERS LOCATION: Japan

3.4 RESEARCHER

Michael Heinzl reported these vulnerabilities to JPCERT/CC.

4. MITIGATIONS

JTEKT ELECTRONICS recommends users to download the following updates:

  o Version 1.6.10.0 and above

This version not only addresses the vulnerability, but also takes measures to
prevent crafted project files from being opened. Project files saved with
Version 1.6.9.0 or earlier can be re-saved with Version 1.6.10.0 or above to
enable this tamper-proof feature. Project files saved with Version 1.6.10.0 or
above cannot be opened with Version 1.6.9.0 or earlier.

For more information, see JTEKT ELECTRONICS' Update Notice .

CISA recommends users take defensive measures to minimize the risk of
exploitation of these vulnerabilities. Specifically, users should:

  o Minimize network exposure for all control system devices and/or systems,
    and ensure they are not accessible from the Internet .
  o Locate control system networks and remote devices behind firewalls and
    isolate them from business networks.
  o When remote access is required, use secure methods, such as Virtual Private
    Networks (VPNs), recognizing VPNs may have vulnerabilities and should be
    updated to the most current version available. Also recognize VPN is only
    as secure as its connected devices.

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

CISA also provides a section for control systems security recommended practices
on the ICS webpage at cisa.gov/ics . Several CISA products detailing cyber
defense best 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
on the ICS webpage at cisa.gov/ics in the technical information paper,
ICS-TIP-12-146-01B--Targeted Cyber Intrusion Detection and Mitigation
Strategies .

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

CISA also recommends users take the following measures to protect themselves
from social engineering attacks:

  o Do not click web links or open attachments in unsolicited email messages.
  o Refer to Recognizing and Avoiding Email Scams for more information on
    avoiding email scams.
  o Refer to Avoiding Social Engineering and Phishing Attacks for more
    information on social engineering attacks.

No known public exploits specifically target these vulnerabilities. These
vulnerabilities are not exploitable remotely.

Related Advisories

Apr 06, 2023
ICS Advisory | ICSA-23-096-05

Hitachi Energy MicroSCADA System Data Manager SDM600

Apr 06, 2023
ICS Advisory | ICSA-23-096-01

Industrial Control Links ScadaFlex II SCADA Controllers

Apr 06, 2023
ICS Advisory | ICSA-23-096-04

Korenix Jetwave

Apr 06, 2023
ICS Advisory | ICSA-23-096-06

mySCADA myPRO

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: https://auscert.org.au/gpg-key/

iQIVAwUBZDSx2MkNZI30y1K9AQjyKw/8Dt6lNqXQU2L4Qr3mBj6mU0OIMGVUOpxC
w7QwcLwfE7xH1X/47xSBBZWVxZiu5yV88/Ykg+PlHD62KRVkn5IdqEIIgxuan9MO
9Bde/+rq9JmDowaitbtqpg6cfBt4vqzYklrjO0Ejcmk9C98pyJ+DRlqX3i94SRmi
ZfQ4VVG8K0ypYmN6SnEdzYM3C6d4sL7683k6nN0Kj7i4aVlhUniGqVI5M9SD9yYN
cRjoPY85nKMteSVRMoRszSYFr5FnqiJIv08M228UsmDyPvL2jbTgRkcDfHeSwDvq
iwh+3OnwNVWxHnw+k1gFjIcZ/x/0boKvV9pGM9wc6v6m84ZzYYj5c0EZjqj4Cqro
sRbkiHrnhMsjq116JGpD5/ReSu6Nu+I9auWge0fUOKe21eICIzimqI37UmxvN55r
sWnnIRH+DMAu1eh0nk3NSmTcGGZFsOgNvSPPFuSuXuiRtmX+++h1Ezwosp1J2Rs4
zRCqvWI9h2kRdutFM6Ip5fnOut3m8oDwS3ZjzvBpWQ/+312p++z+vRkM75yLNKRe
hbgrkfR9oD8QVFex2keleo5ZaJ7PcRKTuAR9WQwtAcj9qGcmyecWPrp7oVvSM1Cw
ZXzZruX5iQOGAn46cwXlX8hB3KRCHQilrAmIu40os3cbQNR9rMaDrVwwaZcvxyWq
iMBc442DB1k=
=ZpwX
-----END PGP SIGNATURE-----