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

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

                              ESB-2019.0445.2
         Advisory (ICSA-19-043-03) WIBU SYSTEMS AG WibuKey Digital
                       Rights Management (Update B)
                               14 March 2019

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

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

Product:           WibuKey Digital Rights Management (DRM)
Publisher:         ICS-CERT
Operating System:  Network Appliance
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Increased Privileges            -- Console/Physical      
                   Denial of Service               -- Remote/Unauthenticated
                   Access Confidential Data        -- Console/Physical      
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-3991 CVE-2018-3990 CVE-2018-3989

Original Bulletin: 
   https://ics-cert.us-cert.gov/advisories/ICSA-19-043-03

Revision History:  March    14 2019: Significant rewrite of advisory from 
                                     source.
                   February 13 2019: Initial Release

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

Advisory (ICSA-19-043-03)

WIBU SYSTEMS AG WibuKey Digital Rights Management (Update B)

Original release date: March 12, 2019

Legal Notice

All information products included in http://ics-cert.us-cert.gov 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 http://www.us-cert.gov/tlp/ .

1. EXECUTIVE SUMMARY

  o CVSS v3 10.0

- --------- Begin Update B Part 1 of 4 ---------

  o ATTENTION: Exploitable remotely/low skill level to exploit/public exploits
    available
  o Vendor: WIBU-SYSTEMS AG
  o Equipment: WibuKey Digital Rights Management (DRM)

- --------- End Update B Part 1 of 4 ---------

  o Vulnerabilities: Information Exposure, Out-of-bounds Write, Heap-based
    Buffer Overflow

2. UPDATE INFORMATION

This updated advisory is a follow-up to the advisory update titled
ICSA-19-043-03 Siemens Licensing Software for SICAM 230 (Update A) that was
published February 14, 2019, on the NCCIC/ICS-CERT website.

3. RISK EVALUATION

Successful exploitation of these vulnerabilities may allow information
disclosure, privilege escalation, or remote code execution.

4. TECHNICAL DETAILS

4.1 AFFECTED PRODUCTS

- --------- Begin Update B Part 2 of 4 ---------

The following products are affected by vulnerabilities in WibuKey Digital
Rights Management (DRM):

  o Siemens SICAM 230: All Versions 7.20 and prior,
  o Siemens SIMATIC WinCC OA (3.14/3.15/3.16): All versions,
  o COPA-DATA zenon products: All Versions 7.20 and prior (7.50 and 7.60 may
    also be affected if WibuKey was installed manually),
  o COPA-DATA straton workbench: All Versions 9.2 and prior,
  o Sprecher Automation SPRECON-V460 products: All Versions 7.20 and prior
    (7.50 and 7.60 may also be affected if WibuKey was installed manually),
  o Phoenix Contact MEVIEW3: All versions prior to 3.14.25 and 3.15.18

- --------- End Update B Part 2 of 4 ---------

4.2 VULNERABILITY OVERVIEW

4.2.1 INFORMATION EXPOSURE CWE-200

A specially crafted IRP (I/O request packet) can cause the driver to return
uninitialized memory, which may result in kernel memory disclosure.

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

4.2.2 OUT-OF-BOUNDS WRITE CWE-787

A specially crafted IRP (I/O request packet) can cause a buffer overflow
resulting in kernel memory corruption, which may allow privilege escalation.

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

4.2.3 HEAP-BASED BUFFER OVERFLOW CWE-122

A specially crafted TCP packet sent to Port 22347/TCP can cause a heap
overflow, which may lead to remote code execution.

CVE-2018-3991 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.3 BACKGROUND

- --------- Begin Update B Part 3 of 4 ---------

  o CRITICAL INFRASTRUCTURE SECTORS : Commercial Facilities, Communications,
    Critical Manufacturing, Energy, Financial Services, Healthcare and Public
    Health, Transportation Systems

- --------- End Update B Part 3 of 4 ---------

  o COUNTRIES/AREAS DEPLOYED : Worldwide
  o COMPANY HEADQUARTERS LOCATION : Germany

4.4 RESEARCHER

Siemens reported these vulnerabilities to NCCIC.

5. MITIGATIONS

- --------- Begin Update B Part 4 of 4 ---------

Updated Wibu Systems Software can be found at the following link:
https://www.wibu.com/support/user/downloads-user-software.html

5.1 SIEMENS

Siemens recommends users upgrade to WibuKey DRM Version 6.50 or newer for all
affected Siemens products. Siemens also recommends mitigating CVE-2018-3991 by
blocking Port 22347/TCP. For detailed information, see Siemens security
advisories SSA-760124 and SSA-844562 at the following link:

http://www.siemens.com/cert/en/cert-security-advisories.htm

5.2 COPA-DATA

COPA-DATA recommends users upgrade WibuKey DRM to Version 6.50a or newer,
restrict physical and network access, segment network traffic, ensure systems
using WibuKey WkLAN Server are not external facing, and apply application
whitelisting. For detailed information, see COPA_DATA's security advisory at
the following link:

https://www.copadata.com/fileadmin/user_upload/faq/files/CD_SVA_2019_1.pdf

5.3 SPRECHER AUTOMATION

Sprecher Automation recommends users upgrade WibuKey DRM to Version 6.50b or
newer, restrict physical and network access, segment network traffic, ensure
systems using WibuKey WkLAN Server are not external facing, and apply
application whitelisting. For detailed information, see Sprecher Automation's
security advisory at the following link:

https://www.sprecher-automation.com/fileadmin/kundendaten/teaser/News/2018/
SPRECON-V460_Security_Vulnerability_Announcement_2019-01_Issue_1.pdf

5.4 PHOENIX CONTACT

Phoenix Contact has calculated different CVSS vectors from those in the
Vulnerability Overview section. See the Phoenix Contact or CERT@VDE advisory
for details.

Phoenix Contact recommends those using dongle-based licensing to update to
WibuKey Version 6.50 or newer. MEVIEW3 Versions 3.14.25 and 3.15.18 will
include Version 6.50 of WibuKey. For those using hardware code-based licensing,
Phoenix Contact recommends removing the WibuKey application. For detailed
information, the Phoenix Contact MEVIEW3 security advisory can be found at the
following link:

https://www.phoenixcontact.com/psirt

CERT@VDE has also published an advisory for the Phoenix Contact MEVIEW3 at the
following link:

https://cert.vde.com/de-de/advisories/vde-2019-003

- --------- End Update B Part 4 of 4 ---------

5.5 NCCIC

NCCIC 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 that VPNs may have vulnerabilities and should
    be updated to the most current version available. Also recognize that VPN
    is only as secure as the connected devices.

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

NCCIC also provides a section for control systems security recommended
practices on the ICS-CERT web page. 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-CERT website 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 NCCIC for tracking
and correlation against other incidents.

NCCIC also recommends that 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.

- --------------------------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

iQIVAwUBXInBZ2aOgq3Tt24GAQjeZg/+IWn5R/tDnewq0TUzQ7NQ8Pqwx0jfsjQS
PHJ/+x7bzRFl8hu2lQ8QU4VYJ7ur+j0ZXICeAtii/CUtMsTSiSnZLsIrCP42jVKP
jhB2E3rrWvCxmIJjvmW6AyZD7U5rn/tpjkGQv10RhTUBDQDRIsb4DJSGe8LqGZ1I
lbzRI4d2TbEf6CmpqjdZC/QBn/lV0NnqvX8d0zmk6VD92ZRp/pBSxQEyy6ggtn3r
xRdmNWEGNhVXiIrHS0s1TliRQgv2bbIjaruXN1KflrtmbnJqoj0GrPhuwSMQJfa0
oDFCAyZMAj+Vm2121KSHkPq7ZeD01Ph5wT1VLYyA8iRDtn561KPYZKq//NusImJZ
PvLTCgSbo4WeRwqj/artbFejqhyQLMEu3bkSyPZcxxsbzNLPoXakw5r43xCZB5qW
SD4a+LgI5qgP3D9Z7FmkNIITWhLFFXrNbnnzFjR7SJOFxlrWPw5ITZmfuyodZcWA
bNVC5J2pOK70fDMja5PCbSGlcTdpeIzOoHQHY0eacRgjN/PYKqEI9CydRPFoBdlY
RIr9OIppakdCSYjD+mC0hw/yx25/vVV5xhO18Ip+MhC09VJ38IPpoyy9weCi1YEl
pObS9adE1BRllQeEgUr6Xe41Iyg3kVabwXtE7BQH4e/9KoL9N/VIEYbmf6aWdFip
E8bIQcteu4I=
=Xg+I
-----END PGP SIGNATURE-----