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

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

                               ESB-2021.0495
   Advisory (icsa-21-040-06) Siemens JT2Go and Teamcenter Visualization
                             11 February 2021

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

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

Product:           Siemens JT2Go
                   Siemens Teamcenter Visualization
Publisher:         ICS-CERT
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Execute Arbitrary Code/Commands -- Console/Physical
                   Denial of Service               -- Console/Physical
                   Access Confidential Data        -- Console/Physical
                   Reduced Security                -- Console/Physical
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-25178 CVE-2021-25177 CVE-2021-25176
                   CVE-2021-25175 CVE-2021-25174 CVE-2021-25173
                   CVE-2020-28394 CVE-2020-27008 CVE-2020-27007
                   CVE-2020-27006 CVE-2020-27005 CVE-2020-27004
                   CVE-2020-27003 CVE-2020-27002 CVE-2020-27001
                   CVE-2020-27000 CVE-2020-26999 CVE-2020-26998
                   CVE-2020-26991 CVE-2020-26990 CVE-2020-26989

Reference:         ESB-2021.0126
                   ESB-2021.0125

Original Bulletin: 
   https://us-cert.cisa.gov/ics/advisories/icsa-21-040-06

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

ICS Advisory (ICSA-21-040-06)

Siemens JT2Go and Teamcenter Visualization

Original release date: February 09, 2021

Legal Notice

All information products included in https://us-cert.cisa.gov/ics are provided
"as is" for informational purposes only. The Department of Homeland Security
(DHS) does not provide any warranties of any kind regarding any information
contained within. DHS does not endorse any commercial product or service,
referenced in this product or otherwise. Further dissemination of this product
is governed by the Traffic Light Protocol (TLP) marking in the header. For more
information about TLP, see https://us-cert.cisa.gov/tlp/ .



1. EXECUTIVE SUMMARY

  o CVSS v3 7.8
  o ATTENTION: Low skill level to exploit
  o Vendor: Siemens
  o Equipment: JT2Go and Teamcenter Visualization
  o Vulnerabilities: Out-of-bounds Read, Improper Restriction of Operations
    within the Bounds of a Memory Buffer, Stack-based Buffer overflow,
    Out-of-Bounds Write, Type Confusion, Untrusted Pointer Dereference,
    Incorrect Type Conversion or Cast

2. RISK EVALUATION

Successful exploitation of these vulnerabilities could lead to arbitrary code
execution.

3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

The following products are affected:

  o JT2Go: All versions prior to v13.1.0.1
  o Teamcenter Visualization: All versions prior to v13.1.0.1

3.2 VULNERABILITY OVERVIEW

3.2.1 OUT-OF-BOUNDS READ CWE-125

Affected applications lack proper validation of user-supplied data when parsing
PAR files. This could result in a memory access past the end of an allocated
buffer. An attacker could leverage this vulnerability to leak information.

CVE-2020-26998 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

Affected applications lack proper validation of user-supplied data when parsing
of PAR files. This could result in a memory access past the end of an allocated
buffer. An attacker could leverage this vulnerability to leak information.

CVE-2020-26999 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 IMPROPER RESTRICTION OF OPERATIONS WITHIN THE BOUNDS OF A MEMORY BUFFER
CWE-119

Affected applications lack proper validation of user-supplied data when parsing
BMP files. This can result in a memory-corruption condition. An attacker could
leverage this vulnerability to execute code in the context of the current
process.

CVE-2020-27000 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.4 STACK-BASED BUFFER OVERFLOW CWE-121

Affected applications lack proper validation of user-supplied data when parsing
BMP files. This can result in a memory-corruption condition. An attacker could
leverage this vulnerability to execute code in the context of the current
process.

CVE-2020-27001 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.5 OUT-OF-BOUNDS READ CWE-125

Affected applications lack proper validation of user-supplied data when parsing
PAR files. This could result in a memory access past the end of an allocated
buffer. An attacker could leverage this vulnerability to access data in the
context of the current process.

CVE-2020-27002 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.6 UNTRUSTED POINTER DEREFERENCE CWE-822

Affected applications lack proper validation of user-supplied data when parsing
TIFF files. This could lead to pointer dereferences of a value obtained from
untrusted source. An attacker could leverage this vulnerability to execute code
in the context of the current process.

CVE-2020-27003 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.7 OUT-OF-BOUNDS READ CWE-125

Affected applications lack proper validation of user-supplied data when parsing
CGM files. This could result in a memory access past the end of an allocated
buffer. An attacker could leverage this vulnerability to access data in the
context of the current process.

CVE-2020-27004 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.8 OUT-OF-BOUNDS WRITE CWE-787

Affected applications lack proper validation of user-supplied data when parsing
TGA files. This could result in an out-of-bounds write past the end of an
allocated structure. An attacker could leverage this vulnerability to execute
code in the context of the current process.

CVE-2020-27005 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.9 IMPROPER RESTRICTION OF OPERATIONS WITHIN THE BOUNDS OF A MEMORY BUFFER
CWE-119

Affected applications lack proper validation of user-supplied data when parsing
PCT files. This could result in a memory-corruption condition. An attacker
could leverage this vulnerability to execute code in the context of the current
process.

CVE-2020-27006 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.10 OUT-OF-BOUNDS READ CWE-125

Affected applications lack proper validation of user-supplied data when parsing
HPG files. This could result in a memory access past the end of an allocated
buffer. An attacker could leverage this vulnerability to access data in the
context of the current process.

CVE-2020-27007 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.11 OUT-OF-BOUNDS READ CWE-125

Affected applications lack proper validation of user-supplied data when parsing
PLT files. This could result in a memory access past the end of an allocated
buffer. An attacker could leverage this vulnerability to access data in the
context of the current process.

CVE-2020-27008 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.12 OUT-OF-BOUNDS READ CWE-125

Affected applications lack proper validation of user-supplied data when parsing
RAS files. This could result in a memory access past the end of an allocated
buffer. An attacker could leverage this vulnerability to access data in the
context of the current process.

CVE-2020-28394 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.13 STACK-BASED BUFFER OVERFLOW CWE-121

Affected applications lack proper validation of user-supplied data when parsing
PAR files. This could result in an out-of-bounds write past the end of an
allocated structure. An attacker could leverage this vulnerability to execute
code in the context of the current process.

CVE-2020-26989 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.14 ACCESS OF RESOURCE USING INCOMPATIBLE TYPE ('TYPE CONFUSION') CWE-843

Affected applications lack proper validation of user-supplied data when parsing
ASM files. A crafted ASM file can trigger a type-confusion condition. An
attacker can leverage this vulnerability to execute code in the context of the
current process.

CVE-2020-26990 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.15 UNTRUSTED POINTER DEREFERENCE CWE-822

Affected applications lack proper validation of user-supplied data when parsing
ASM files. This could lead to pointer dereferences of a value obtained from
untrusted source. An attacker could leverage this vulnerability to execute code
in the context of the current process.

CVE-2020-26991 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.16 STACK-BASED BUFFER OVERFLOW CWE-121

An issue was discovered in Open Design Alliance Drawings SDK before v2021.11. A
stack-based buffer overflow vulnerability exists when the recover operation is
run with malformed DXF and DWG files.

CVE-2021-25178 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.17 ACCESS OF RESOURCE USING INCOMPATIBLE TYPE ('TYPE CONFUSION') CWE-843

An issue was discovered in Open Design Alliance Drawings SDK before v2021.11. A
type-confusion issue exists when rendering malformed DXF and DWG files.

CVE-2021-25177 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.18 UNTRUSTED POINTER DEREFERENCE CWE-822

An issue was discovered in Open Design Alliance Drawings SDK before v2021.11. A
NULL pointer dereference exists when rendering malformed DXF and DWG files.
This could allow attackers to cause a crash, potentially enabling a
denial-of-service attack (crash, exit, or restart).

CVE-2021-25176 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.19 INCORRECT TYPE CONVERSION OR CAST CWE-704

An issue was discovered in Open Design Alliance Drawings SDK before v2021.11. A
type conversion issue exists when rendering malformed DXF and DWG files. This
could allow attackers to cause a crash, potentially enabling a
denial-of-service attack (crash, exit, or restart).

CVE-2021-25175 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.20 IMPROPER RESTRICTION OF OPERATIONS WITHIN THE BOUNDS OF A MEMORY BUFFER
CWE-119

An issue was discovered in Open Design Alliance Drawings SDK before v2021.12. A
memory corruption vulnerability exists when reading malformed DGN files. This
could allow attackers to cause a crash, enabling a denial-of-service condition
(crash, exit, or restart).

CVE-2021-25174 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.21 MEMORY ALLOCATION WITH EXCESSIVE SIZE VALUE CWE-789

An issue was discovered in Open Design Alliance Drawings SDK before v2021.12. A
memory allocation with excessive size vulnerability exists when reading
malformed DGN files, which could allow attackers to cause a crash, enabling a
denial-of-service condition (crash, exit, or restart).

CVE-2021-25173 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: Germany

3.4 RESEARCHER

Michael DePlante (@izobashi), Francis Provencher {PRL}, and rgod, working with
Trend Micro's Zero Day Initiative, reported these vulnerabilities to CISA.

4. MITIGATIONS

Siemens recommends the following:

  o JT2Go: Update to v13.1.0.1 or later (login required).
  o Teamcenter Visualization: Update to v13.1.0.1 or later (login required).
  o Limiting the opening of untrusted files in systems where JT2Go or
    Teamcenter Visualization is installed.
  o Applying a defense-in-depth concept can help to reduce the probability for
    an untrusted code to run on the system.
  o For additional information refer to SSA-622830 and SSA-663999
  o For additional information concerning Open Design Alliance Drawings SDK
    issues refer to Open Design Alliance's Security Advisories .

Siemens strongly recommends protecting network access to devices with
appropriate mechanisms. To operate the devices in a protected IT environment,
Siemens recommends configuring the environment according to Siemens'
operational guidelines for Industrial Security and follow the recommendations
in the product manuals.

Additional information on industrial security by Siemens can be found at:
https://www.siemens.com/Industrialsecurity
CISA recommends users take the following measures to protect themselves from
social engineering attacks:

  o Do not click web links or open unsolicited attachments in 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.

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 on us-cert.cisa.gov . 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
on the ICS webpage on us-cert.cisa.gov in the Technical Information Paper,
ICS-TIP-12-146-01B--Targeted Cyber Intrusion Detection and Mitigation
Strategies .

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

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

For any questions related to this report, please contact the CISA at:

Email: CISAservicedesk@cisa.dhs.gov
Toll Free: 1-888-282-0870

CISA continuously strives to improve its products and services. You can help by
choosing one of the links below to provide feedback about this product.

- --------------------------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: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBYCSgKeNLKJtyKPYoAQidLhAAguGj4wIKh4TP0w93hp2D7F6iRMCjeuiX
7qYEskPGt5RzSTPLxEwT5LPoU5OV2MQLNPikNJG38GO9rmrPkmx/7astUBgieSv8
OFJBNNGAlgRh7Y/dV2yibEYjd3Kf85fFMdYKPJyUasRZcJcyTi2WdeMYrloAmCMj
TnzZIgdhxhx6ylWtDpO3C7YJnC7MnJrLfpTwRYXehuEgIY+cFcwUUCSUTiTvpcAO
Phpta+QUMkghH+F6DcleO4pQ+TRbQerkqz4nDthmS0wXamda62kt8R/FCTIrrb7M
Z4vReKv0wpu8St5qfKGqFWsKO/qJAhwNaOSyHZcHUa4e+BLYpRdXukNTXzRhr44s
8oxiGJTnDPZkwDu3ONnx/f8os4dRzq8LJ8YWo/E1px5e4pfV0SJUyME8t0G+SXch
c0MDrP7uT5KGXorRNYUAS4GeK6F93HVYqDVx1a8zFaKlYqvYhuKTDEOc4lN/s5tR
ZxX69GbBmeucMrfeRMS12vYMTafiLaTJ++UXbIZ8oGgTlU+xUkYtbKI2vmWSgAjk
RA8R8FoHlD7rplLVRW3pZDiF+XBo2Jy5QVytKdrvsEukECya3Gt5j158gSZ/bD+p
SNPQzM/XleLV9p9xJryRD5GBd06c3k8DpLGmovPgwXLc48bIyV3FqHiqfQ6fz7IV
EHdXNfs+0pg=
=u182
-----END PGP SIGNATURE-----