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

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

                               ESB-2021.0125
   Advisory (icsa-21-012-03) Siemens JT2Go and Teamcenter Visualization
                              13 January 2021

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

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

Product:           Siemens JT2Go
                   Teamcenter Visualization
Publisher:         ICS-CERT
Operating System:  Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
                   Access Confidential Data        -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2020-28383 CVE-2020-26996 CVE-2020-26995
                   CVE-2020-26994 CVE-2020-26993 CVE-2020-26992
                   CVE-2020-26991 CVE-2020-26990 CVE-2020-26989
                   CVE-2020-26988 CVE-2020-26987 CVE-2020-26986
                   CVE-2020-26985 CVE-2020-26984 CVE-2020-26983
                   CVE-2020-26982 CVE-2020-26981 CVE-2020-26980

Original Bulletin: 
   https://us-cert.cisa.gov/ics/advisories/icsa-21-012-03

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

ICS Advisory (ICSA-21-012-03)

Siemens JT2Go and Teamcenter Visualization

Original release date: January 12, 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: Type Confusion, Improper Restriction of XML External
    Entity Reference, Out-of-bounds Write, Heap-based Buffer Overflow,
    Stack-based Buffer Overflow, Untrusted Pointer Dereference, Out-of-bounds
    Read

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
  o JT2Go: Version 13.1.0. only affected by CVE-2020-26989, CVE-2020-26990,
    CVE-2020-26991
  o Teamcenter Visualization: All versions prior to V13.1.0
  o Teamcenter Visualization: Version 13.1.0 only affected by CVE-2020-26989,
    CVE-2020-26990, CVE-2020-26991

3.2 VULNERABILITY OVERVIEW

3.2.1 ACCESS OF RESOURCE USING INCOMPATIBLE TYPE ('TYPE CONFUSION') CWE-843

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

CVE-2020-26980 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 IMPROPER RESTRICTION OF XML EXTERNAL ENTITY REFERENCE CWE-611

When opening a specially crafted XML file, the application could disclose
arbitrary files to remote attackers. This is because of the passing of
specially crafted content to the underlying XML parser without taking proper
restrictions such as prohibiting an external DTD.

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

3.2.3 OUT-OF-BOUNDS WRITE CWE-787

Affected applications lack proper validation of user-supplied data when parsing
CG4 and CGM 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-26982 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 OUT-OF-BOUNDS WRITE CWE-787

Affected applications lack proper validation of user-supplied data when parsing
PDF 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-26983 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 WRITE CWE-787

Affected applications lack proper validation of user-supplied data when parsing
of JT 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-26984 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 HEAP-BASED BUFFER OVERFLOW CWE-122

Affected applications lack proper validation of user-supplied data when parsing
of RGB and SGI files. This could result in a heap-based buffer overflow. An
attacker could leverage this vulnerability to execute code in the context of
the current process.

CVE-2020-26985 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 HEAP-BASED BUFFER OVERFLOW CWE-122

Affected applications lack proper validation of user-supplied data when parsing
JT files. This could lead to a heap-based buffer overflow. An attacker could
leverage this vulnerability to execute code in the context of the current
process.

CVE-2020-26986 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 HEAP-BASED BUFFER OVERFLOW CWE-122

Affected applications lack proper validation of user-supplied data when parsing
of TGA files. This could lead to a heap-based buffer overflow. An attacker
could leverage this vulnerability to execute code in the context of the current
process.

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

Affected applications lack proper validation of user-supplied data when parsing
of 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-26988 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 STACK-BASED BUFFER OVERFLOW CWE-121

Affected applications lack proper validation of user-supplied data when parsing
of 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.11 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 of 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.12 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.13 STACK-BASED BUFFER OVERFLOW CWE-121

Affected applications lack proper validation of user-supplied data when parsing
CGM files. This could lead to a stack-based buffer overflow while trying to
copy to a buffer during font string handling. An attacker could leverage this
vulnerability to execute code in the context of the current process.

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

Affected applications lack proper validation of user-supplied data when parsing
CGM files. This could lead to a stack-based buffer overflow while trying to
copy to a buffer during font index handling. An attacker could leverage this
vulnerability to execute code in the context of the current process.

CVE-2020-26993 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 HEAP-BASED BUFFER OVERFLOW CWE-122

Affected applications lack proper validation of user-supplied data when parsing
of PCX files. This could result in a heap-based buffer overflow. An attacker
could leverage this vulnerability to execute code in the context of the current
process.

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

Affected applications lack proper validation of user-supplied data when parsing
of SGI and RGB 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-26995 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 OUT-OF-BOUNDS READ CWE-125

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

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

Affected applications lack proper validation of user-supplied data when parsing
PAR files. This can result in an out-of-bounds write past the memory location
that is a read only image address. An attacker could leverage this
vulnerability to execute code in the context of the current process.

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

rgod, working with Trend Micro's Zero Day Initiative, and Carsten Eiram from
Risk Based Security reported these vulnerabilities.

4. MITIGATIONS

Siemens recommends the following:

  o JT2Go: Update to v13.1.0 or later (login required).
  o Teamcenter Visualization: Update to v13.1.0 or later (login required).
  o Update v13.1.0 does not mitigate all the vulnerabilities, please refer to
    SSA-622830 for additional information.

For JT2Go and Teamcenter Visualization Version 13.1.0:

  o Siemens recommends 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. Siemens recommends applying the
    defense-in-depth concept.

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

iQIVAwUBX/6RnuNLKJtyKPYoAQjhfw/+N1g141SMOtOv9oiZslKpX5lUuS6wvyJN
h5YTO0yWdG4ZCOkrKRefRK8FTMU4CdzozR/Tp+8FzMExchwDevqpYTKM7tzsocAC
5qJ0Weaym0zgBIYzaL8yIzZisV1RYJ9LOqSzSrYHhyBNtSaAHscM3OZF7YurvZDr
hD7kYzT9GUirF93OBUkAgxv/bpTvAO8qKcXcGyRmCCeaWesKr0fS/kVLz+pwaC8i
X1DCQt3IVT9EfylY47/b0l5kxxnIfbIPyNiBPu4I6/h91WAUsBLWS0urcsygnu2h
7ENBCU1X57CYJaoAX9SrYHTTKUQrcTH5Z6dltCQWXepqbQWMJ2avU0QbmTcm9a/k
IR3ebUjiLBwS0nLwaXLE2/hjrjyqEYxIdvb3y0yUzE7f/G3jphB2St135Ha1nYEl
r/0jpSnjhTI7MV6DjDeGcgol3YB4tCGNXW8j2slsh5Gu0QftLNQ4AjPHsBe58iwV
UZ4eaMFutooV0KlYQpxjd04Gx8tDE0s/QrKdp9EGp4Ba7zUckpDFnmh+kyhcxRjA
jxqeMy9LSq4CmlMwQS9qIguKu+6reMFx/IUSGHcujIgs4wz8XuxUQu4mOxu/0AcR
o58RQVn6GZT3A2F3ETVHPZwazJqbw9OFnW6eo4oHamkF0SYpIUZXTm4knqtaNVIS
kKKrUykS3c4=
=mSZt
-----END PGP SIGNATURE-----