ESB-2018.0996 - [Appliance] Siemens Building Technologies Products : Multiple vulnerabilities 2018-04-04

Printable version
PGP/GPG verifiable version

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

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

                               ESB-2018.0996
 Advisory (ICSA-18-093-01) Siemens Building Technologies Products Original
                               4 April 2018

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

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

Product:           Siemens Building Technologies Products
Publisher:         ICS-CERT
Operating System:  Network Appliance
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
                   Access Confidential Data        -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-12822 CVE-2017-12821 CVE-2017-12820
                   CVE-2017-12819 CVE-2017-12818 CVE-2017-11498
                   CVE-2017-11497 CVE-2017-11496 

Reference:         ESB-2018.0208.2
                   ESB-2018.0340

Original Bulletin: 
   https://ics-cert.us-cert.gov/advisories/ICSA-18-093-01

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

Advisory (ICSA-18-093-01) Siemens Building Technologies Products Original 
release date: April 03, 2018

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

    CVSS v3 9.8
    ATTENTION: Exploitable remotely/low skill level to exploit.
    Vendor: Siemens
    Equipment: Building Technologies Products

    Vulnerabilities: Stack-based Buffer Overflows, Security Features, Improper
Restriction of Operations within the Bounds of a Memory Buffer, NULL Pointer 
Dereference, XML Entity Expansion, Heap-based Buffer Overflow, Improper Access
Control

2. RISK EVALUATION

Successful exploitation of these vulnerabilities may allow arbitrary code 
execution, NTLM-relay attacks, remote code execution, denial of service, or 
increased attack surface.

3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

Siemens License Management System (LMS), which includes a vulnerable version 
of Gemalto Sentinel LDK RTE, is used by the following Siemens products and 
solutions:

    License Management System (LMS) All versions prior to V2.1 SP3(2.1.670)

    Annual Shading V1.0.4 and 1.1

    Desigo ABT Versions
        MP1.1 Build 845
        MP1.15 Build 360
        MP1.16 Build 055
        MP1.2 Build 850
        MP1.2.1 Build 318
        MP2.1 Build 965

    Desigo CC Versions
        MP1.1
        MP2.0
        MP2.1
        MP3.0

    Desigo Configuration Manager (DCM) V6.10.140

    Desigo XWP
        V5.00.204
        V5.00.260
        V5.10.142
        V5.10.212
        V6.00.184
        V6.00.342
        V6.10.172

    SiteIQ Analytics
        V1.1
        V1.2
        V1.3

    Siveillance Identity V1.1

3.2 VULNERABILITY OVERVIEW

3.2.1 STACK-BASED BUFFER OVERFLOW CWE-121

Malformed ASN1 streams in V2C and similar input files can be used to generate
stack-based buffer overflows. The vulnerability could allow arbitrary code 
execution.

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

3.2.2 STACK-BASED BUFFER OVERFLOW CWE-121

Language packs containing malformed filenames could lead to a stack-based 
buffer overflow. The vulnerability could allow arbitrary code execution.

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

3.2.3 SECURITY FEATURES CWE-254

Remote manipulation of the language pack updater could allow NTLM-relay 
attacks.

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

3.2.4 IMPROPER RESTRICTION OF OPERATIONS WITHIN THE BOUNDS OF A MEMORY BUFFER
CWE-119

A memory corruption flaw could allow remote code execution.

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

3.2.5 NULL POINTER DEREFERENCE CWE-476

Zipped language packs with invalid HTML files could lead to NULL pointer 
access. The vulnerability could cause denial of service of the remote process.

CVE-2017-11498 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.6 IMPROPER RESTRICTION OF RECURSIVE ENTITY REFERENCES IN DTDS ('XML ENTITY
EXPANSION') CWE-776

A stack overflow flaw in the custom XML-parser could allow remote denial of 
service.

CVE-2017-12818 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.7 HEAP-BASED BUFFER OVERFLOW CWE-122

Arbitrary memory read from controlled memory pointer could allow remote denial
of service.

CVE-2017-12820 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.8 IMPROPER ACCESS CONTROL CWE-284

The administrative interface can be remotely enabled and disabled without 
authentication. This could increase the attack surface.

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

3.3 BACKGROUND

    Critical Infrastructure Sectors: Commercial Facilities
    Countries/Areas Deployed: Worldwide
    Company Headquarters Location: Germany

3.4 RESEARCHER

Sergey Temnikov and Vladimir Dashchenko from Kaspersky Labs reported these 
vulnerabilities to Siemens.

4. MITIGATIONS

Siemens recommends that users upgrade License Management System (LMS) to 
version 2.1 SP4 (2.1.681) or newer. To do so, users should contact the local 
Siemens representative or Siemens customer support.

NOTE: Users using Desigo CC MP2.1 or older need to upgrade ALM Manager before
applying the update to LMS.

Siemens has released the following advisory:

https://cert-portal.siemens.com/productcert/pdf/ssa-727467.pdf (link is 
external)

NCCIC recommends that users take defensive measures to minimize the risk of 
exploitation of these vulnerabilities. Specifically, users should:

    Minimize network exposure for all control system devices and/or systems, 
and ensure that they are not accessible from the Internet.

    Locate control system networks and remote devices behind firewalls, and 
isolate them from the business network.

    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 in the ICSCERT Technical Information Paper, 
ICS-TIP-12-146-01B--Targeted Cyber Intrusion Detection and Mitigation 
Strategies, that is available for download from the ICS-CERT website.

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.

No known public exploits specifically target these vulnerabilities.

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

iQIVAwUBWsRJkYx+lLeg9Ub1AQjxGQ/7BU/GonxASh3jeFAIHhgQEFf1jpASa2eU
IzdkbDQ1PqXFqQ2ugg5oQmpaW6X+1kxi3iKWhdswM6Xjs7Fu7CCy1UI2aOmAAjxU
HAIsxnVmZOXvJ/z7NspGh9OiBDKxwyT5C0nxAIwDcJzm5W56bNrgK8HQ4IFkEeK/
zp1gSAZ6JBs2O4X9e6bPAwhTtCqSQAhPgIP3u/+pFAR/IfzRaITxF1XN5e+wxurX
451X0NbiXPe+FiTS+U7BO41nl6AUn21SFM74fzo8qjFc8CM9lfGQksaqlFuOtfko
Nb4f8KAYzoK3Pcbib97uWZIjjEqUdFjIQkEGxvHLkQkGiutazGtTEKH/UJwXjopO
cdPJcEKx8vEpgp0SB5oleix11TwWEbL9ktVZ7kZGtw8K+rOc9c/l+wrN0UM6VAnF
RsWrb4BL3RE6UXut/A7PtU8rl+p2dahW6eUi8pEPT64MFL0uTQxc0GLAlQBu6qij
yg55V1Apz7X1DDDPqW58oue0zXUlEXeL+30yav/CAujbz2x5vMA0bpriZsDVyxYc
cL2vJu5EsjrC2O4mOC471F8MEsG4pV7lVJWrWmF1HCrvOsd7l/bPAjH6ttiUJ94A
ahoLSVyrVNXxw8crJ+XYf25DQGiGfqxdXGyxAX/AGwfT2s8yYDwfKNQeuPiJXvYL
78PDXNjvXEI=
=lZ4U
-----END PGP SIGNATURE-----

« Back to bulletins