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

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

                               ESB-2022.1165
               Advisory (icsa-20-168-01) Treck TCP/IP Stack
                               18 March 2022

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

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

Product:           Treck TCP/IP Stack
Publisher:         ICS-CERT
Operating System:  Network Appliance
Resolution:        Patch/Upgrade
CVE Names:         CVE-2020-11914 CVE-2020-11913 CVE-2020-11912
                   CVE-2020-11911 CVE-2020-11910 CVE-2020-11909
                   CVE-2020-11908 CVE-2020-11907 CVE-2020-11906
                   CVE-2020-11905 CVE-2020-11904 CVE-2020-11903
                   CVE-2020-11902 CVE-2020-11901 CVE-2020-11900
                   CVE-2020-11899 CVE-2020-11898 CVE-2020-11897
                   CVE-2020-11896  

Original Bulletin: 
   https://www.cisa.gov/uscert/ics/advisories/icsa-20-168-01

Comment: CVSS (Max):  10.0 CVE-2020-11897 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H)
         CVSS Source: NVD
         Calculator:  https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

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

ICS Advisory (ICSA-20-168-01)

Treck TCP/IP Stack (Update H)

Original release date: March 17, 2022

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 10.0

- --------- Begin Update H Part 1 of 3 ---------

  o ATTENTION: Exploitable remotely/public exploits are available

- --------- End Update H Part 1 of 3 ---------

  o Vendor: Treck Inc.
  o Equipment: TCP/IP
  o Vulnerabilities: Improper Handling of Length Parameter Inconsistency,
    Improper Input Validation, Double Free, Out-of-bounds Read, Integer
    Overflow or Wraparound, Improper Null Termination, Improper Access Control

CISA is aware of a public report, known as "Ripple20" that details
vulnerabilities found in the Treck TCP/IP stack. CISA is issuing this advisory
to provide early notice of the reported vulnerabilities and identify baseline
mitigations for reducing risks to these and other cybersecurity attacks.

The Treck TCP/IP stack may be known by other names such as Kasago TCP/IP,
ELMIC, Net+ OS, Quadnet, GHNET v2, Kwiknet, or AMX.

2. UPDATE INFORMATION

This updated advisory is a follow-up to the advisory update titled
ICSA-20-168-01 Treck TCP/IP Stack (Update G) that was published Aug 20, 2020,
to the ICS webpage on www.cisa.gov/uscert.

3. RISK EVALUATION

Successful exploitation of these vulnerabilities may allow remote code
execution or exposure of sensitive information.

4. TECHNICAL DETAILS

4.1 AFFECTED PRODUCTS

The Treck TCP/IP stack is affected including:

  o IPv4
  o IPv6
  o UDP
  o DNS
  o DHCP
  o TCP
  o ICMPv4
  o ARP

4.2 VULNERABILITY OVERVIEW

4.2.1 IMPROPER HANDLING OF LENGTH PARAMETER INCONSISTENCY CWE-130

Improper handling of length parameter inconsistency in IPv4/UDP component when
handling a packet sent by an unauthorized network attacker. This vulnerability
may result in remote code execution.

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

4.2.2 IMPROPER HANDLING OF LENGTH PARAMETER INCONSISTENCY CWE-130

Improper handling of length parameter inconsistency in IPv6 component when
handling a packet sent by an unauthorized network attacker. This vulnerability
may result in possible out-of-bounds write.

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

4.2.3 IMPROPER HANDLING OF LENGTH PARAMETER INCONSISTENCY CWE-130

Improper handling of length parameter inconsistency in IPv4/ICMPv4 component
when handling a packet sent by an unauthorized network attacker. This
vulnerability may result in out-of-bounds Read.

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

4.2.4 IMPROPER INPUT VALIDATION CWE-20

Improper input validation in IPv6 component when handling a packet sent by an
unauthorized network attacker. This vulnerability may allow out-of-bounds Read
and a possible Denial of Service.

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

4.2.5 DOUBLE FREE CWE-415

Possible double free in IPv4 tunneling component when handling a packet sent by
a network attacker. This vulnerability may result in use after free.

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

4.2.6 IMPROPER INPUT VALIDATION CWE-20

Improper input validation in DNS resolver component when handling a packet sent
by an unauthorized network attacker. This vulnerability may result in remote
code execution.

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

4.2.7 IMPROPER INPUT VALIDATION CWE-20

Improper input validation in IPv6 over IPv4 tunneling component when handling a
packet sent by an unauthorized network attacker. This vulnerability may allow
out-of-bounds Read.

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

4.2.8 OUT-OF-BOUNDS READ CWE-125

Possible out-of-bounds read in DHCP component when handling a packet sent by an
unauthorized network attacker. This vulnerability may allow exposure of
sensitive information.

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

4.2.9 INTEGER OVERFLOW OR WRAPAROUND CWE-190

Possible integer overflow or wraparound in memory allocation component when
handling a packet sent by an unauthorized network attacker may result in
out-of-bounds write.

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

4.2.10 OUT-OF-BOUNDS READ CWE-125

Possible out-of-bounds read in DHCPv6 component when handling a packet sent by
an unauthorized network attacker. This vulnerability may allow exposure of
sensitive information.

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

4.2.11 IMPROPER INPUT VALIDATION CWE-20

Improper input validation CWE-20 in ethernet link layer component from a packet
sent by an unauthorized user.

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

4.2.12 IMPROPER HANDLING OF LENGTH PARAMETER INCONSISTENCY CWE-130

Improper handling of length parameter inconsistency in TCP component, from a
packet sent by an unauthorized network attacker.

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

4.2.13 IMPROPER NULL TERMINATION CWE-170

Improper null termination in DHCP component when handling a packet sent by an
unauthorized network attacker. This vulnerability may allow exposure of
sensitive information.

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

4.2.14 IMPROPER INPUT VALIDATION CWE-20

Improper input validation in IPv4 component when handling a packet sent by an
unauthorized network attacker.

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

4.2.15 IMPROPER INPUT VALIDATION CWE-20

Improper input validation in ICMPv4 component when handling a packet sent by an
unauthorized network attacker. This vulnerability may allow out-of-bounds Read.

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

4.2.16 IMPROPER ACCESS CONTROL CWE-284

The affected product is vulnerable to improper access control, which may allow
an attacker to change one specific configuration value.

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

4.2.17 IMPROPER INPUT VALIDATION CWE-20

Improper input validation in TCP component when handling a packet sent by an
unauthorized network attacker. This vulnerability may allow out-of-bounds
Read..

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

4.2.18 IMPROPER INPUT VALIDATION CWE-20

Improper input validation in IPv6 component when handling a packet sent by an
unauthorized network attacker. This vulnerability may allow out-of-bounds Read.

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

4.2.19 IMPROPER INPUT VALIDATION CWE-20

Improper input validation in ARP component when handling a packet sent by an
unauthorized network attacker. This vulnerability may allow out-of-bounds Read.

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

4.3 BACKGROUND

  o CRITICAL INFRASTRUCTURE SECTORS: Energy, Critical Manufacturing,
    Information Technology, Healthcare and Public Health, Transportation
    Systems
  o COUNTRIES/AREAS DEPLOYED: Worldwide
  o COMPANY HEADQUARTERS LOCATION: United States

4.4 RESEARCHER

Shlomi Oberman and Moshe Kol from JSOF reported these vulnerabilities to CERT/
CC.

5. MITIGATIONS

Treck recommends users apply the latest version of the affected products (Treck
TCP/IP 6.0.1.67 or later versions). To obtain patches, email security@treck.com

For more detailed information on the vulnerabilities and the mitigating
controls, please see the Treck advisory . Additional vendors affected by the
reported vulnerabilities have also released security advisories related to
their affected products. Those advisories are as follows:

  o ABB
  o B.Braun
  o Baxter
  o BD
  o CareStream
  o Caterpillar
  o DIGI International
  o Eaton
  o Green Hills Software
  o Johnson Controls
  o Miele
  o Opto 22

- --------- Begin Update H Part 2 of 3 ---------

  o Pepperl+Fuchs

- --------- End Update H Part 2 of 3 ---------

  o Rockwell
  o Schneider Electric
  o Smiths Medical

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 the business network.
  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 on 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 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.

- --------- Begin Update H Part 3 of 3 ---------

This vulnerability has a high attack complexity.

- --------- End Update H Part 3 of 3 ---------

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

iQIVAwUBYjPRguNLKJtyKPYoAQhbsQ//RfOrcemHDUm3LGkFYI2gdqWMKlrVJj1h
UJwMzm5aTJit0oolTV2J7T9Rjd7pBvsKAAgLXhgsOOR6Su+Je91AMWcWwuli8hF4
pyN6Cr3L6cRf/MupYXt2VvrJgo30lCCB0ytZplMqdllguhlNoC6aK+BrMFPCCe0a
7OIPbfJ1xvpm54SF+kPylzkngRxZbNmmVrbHRcbXZWGIP5xKXMmRf0XZcIqfLVqE
l665Ykn9sXbaSAgSgQJ8L8qsS4U4J/LczvHIW0cIrc7im5ATB2iCbuMsaQbtXERJ
YThICZO2WPc79V9aszpsSgntO/RTOHIdl3DGsgGAtkNrOhJdE4T+yklTrxqL2DCt
8saho4QNOmHlyq37T6AKnV/u3EL8M00bDg76XS/hNifazYFurJ1dns36VYr2YRvp
e8fYXDo19YNIWrgjxzKX7T4wTrgj+bFy/VctULzwODwbqDl/i4watJ+GDRPtm7ap
fXkWtAxzv1QtPR1VbQImn9xCCsSZKMZ6XfSRj1OkqyEyRs17L1ahDCXQGVaG1niZ
PXBB1GcyH3wLejqoYQV+iLLyLbNmI+m/ifjPzI5N+ANc+vs1ZGyAAAGUqDHNrV5d
WgyEIPhX3Aa3qxF6jxtUrKNFydgkOTUZtJN6agMAxKkD6Koy9aACsNxRQsO/7Jjc
S+3HYOLWSzs=
=fgkV
-----END PGP SIGNATURE-----