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

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

                               ESB-2021.2575
         Advisory (icsa-21-210-02) Wibu-Systems CodeMeter Runtime
                               30 July 2021

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

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

Product:           Wibu-Systems CodeMeter Runtime
Publisher:         ICS-CERT
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Denial of Service        -- Remote/Unauthenticated
                   Access Confidential Data -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-20094 CVE-2021-20093 

Original Bulletin: 
   https://us-cert.cisa.gov/ics/advisories/icsa-21-210-02

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

ICS Advisory (ICSA-21-210-02)

Wibu-Systems CodeMeter Runtime

Original release date: July 29, 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 9.1
  o ATTENTION: Exploitable remotely/low attack complexity
  o Vendor: Wibu-Systems AG
  o Equipment: CodeMeter Runtime
  o Vulnerabilities: Buffer Over-read

2. RISK EVALUATION

Successful exploitation of these vulnerabilities could allow an attacker to
read data from the heap of the CodeMeter Runtime network server, or crash the
CodeMeter Runtime Server (i.e., CodeMeter.exe).

3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

The following versions of CodeMeter Runtime, a license manager, are affected:

  o CodeMeter Runtime: All versions prior to v7.21a

This license manager is used in the products of many different vendors.

3.2 VULNERABILITY OVERVIEW

3.2.1 BUFFER OVER-READ CWE-126

An attacker could send a specially crafted packet to the CodeMeter Runtime
CmWAN server to cause a denial-of-service condition.

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

3.2.2 BUFFER OVER-READ CWE-126

An attacker could send a specially crafted packet that could crash the server
or direct the CodeMeter Runtime Network Server to send back packets containing
data from the heap.

CVE-2021-20093 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 ).

3.3 BACKGROUND

  o CRITICAL INFRASTRUCTURE SECTORS: Multiple
  o COUNTRIES/AREAS DEPLOYED: Worldwide
  o COMPANY HEADQUARTERS LOCATION: Germany

3.4 RESEARCHER

Tenable, Inc., reported these vulnerabilities to CISA.

4. MITIGATIONS

Wibu-Systems recommends the following mitigations:

  o Update to Version 7.21a or later.

CVE-2021-20093:

  o Run CodeMeter as client only and use localhost as binding for the CodeMeter
    communication. With binding to localhost an attack is no longer possible
    via remote network connection. The network server is disabled by default.
  o If it is not possible to disable the network server, using a host-based
    firewall to restrict access to the CmLAN port can reduce the risk.

CVE-2021-20094:

  o The CmWAN server is disabled by default. Check if CmWAN is enabled and
    disable the feature if it is not needed.
  o Run the CmWAN server only behind a reverse proxy with user authentication
    to prevent attacks from unauthenticated users.
  o The risk of an unauthenticated attacker can be further reduced by using a
    host-based firewall that only allows the reverse proxy to access the CmWAN
    port.

For more information on this issue, please see Wibu security advisories:
WIBU-210423-01 , WIBU-210423-02

For more information on products dependent on the affected CodeMeter see the
following vendor security advisories. As new instances are discovered/reported,
they will be added to this list:

  o Siemens: SSA-675303

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

  o Minimize network exposure for all control system devices and/or systems,
    and ensure that 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 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.

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

iQIVAwUBYQNe6uNLKJtyKPYoAQjbLhAAlczmU6gRGHKehD2TSMOhMEIiXuqdJ9FZ
oV9soPSPGAXVaqtODX1kJmcOKyBXvRwPoiXv456GcxI4Ars1h/1xyTqZLlY/Zp/I
fIxwFNcuIoQq3AAnB9dCboVXgqtqXEhbx/BoBhapUQitup2axQbXUIif7mVhfPax
txSOcT5JVB60N+IrXMOC8OIAUekMNURHRPxrgRJdGJGiZfzaq6M8V3xsR/vzFML7
VTjC6E01ft+5ZrCQCtQ6J4sqJ/Yixyd53y7aSm3sOJLbxJIctwEEZ2DlkPVARMhy
ujJwQpqr3ucKa65LEmIk6notjvXVq16EZjIdCwauROtvExEIZHxfOvNGHvUugBgS
M6KPtcjcLOcWhsBatvXmdp/FSpaL9n8+vM3sNDJIiDICJUJBTjhXFo/BJftfYalX
i4d38be1DFrjktIjgDj9W7YHwN9oPhotLarm1GX3AnVyULPrvhWTXhSwTTQxu9+3
aiTaEingY6oxGOEYLy5tP80APg3GZKqWInYjN0AaT1Gtd/k6GFQecjN67FDufmjm
wBO8TTY91k2JDds3SIl5YfY7DdkND+CSq5dmxSXwE1G6D0KqKaiORSV4eh9aAYCp
fW4UkbsR+f+bAUohm8OkvEoSECMHoui36l2R50cW9n1KoFL78mKiC3sCGcXpV20p
Ie+cG9zcz/g=
=pskg
-----END PGP SIGNATURE-----