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

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

                               ESB-2016.2708
   Siemens Industrial Products Local Privilege Escalation Vulnerability
                             11 November 2016

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

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

Product:           SIMATIC WinCC
                   SIMATIC PCS 7
                   SIMATIC WinCC Runtime Professional
                   SIMATIC WinCC (TIA Portal) Professional
Publisher:         ICS-CERT
Operating System:  Windows
                   Network Appliance
Impact/Access:     Increased Privileges -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2016-7165  

Original Bulletin: 
   https://ics-cert.us-cert.gov/advisories/ICSA-16-313-02

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

Advisory (ICSA-16-313-02)

Siemens Industrial Products Local Privilege Escalation Vulnerability

Original release date: November 08, 2016

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

OVERVIEW

Siemens has released an advisory to inform its users how to mitigate a
privilege escalation vulnerability that affects several of its industrial
products. This vulnerability was reported directly to Siemens by WATERSURE
and KIANDRA IT. Siemens has produced updates for several products and
a temporary fix for the remaining affected products to mitigate this
vulnerability.

AFFECTED PRODUCTS

Siemens reports that the vulnerability affects the following products:

    SIMATIC WinCC:
        V7.0 SP2 and earlier versions prior to V7.0 SP2 Upd 12,
        V7.0 SP3: All versions prior to V7.0 SP3 Upd 8,
        V7.2: All versions,
        V7.3: All versions,
        V7.4: All versions,

    SIMATIC STEP 7 V5.X: All versions,

    SIMATIC PCS 7:
        V7.1 and earlier versions,
        V8.0: All versions,
        V8.1: All versions,
        V8.2: All versions,

    SIMATIC WinCC Runtime Professional: All versions,
    SIMATIC WinCC (TIA Portal) Professional: All versions,
    SIMATIC WinCC (TIA Portal) Basic, Comfort, Advanced: All versions
    prior to V14,
    SIMATIC STEP 7 (TIA Portal): All versions prior to V14,
    SIMATIC NET PC-Software: All versions prior to V14,
    SINEMA Remote Connect Client: All versions,
    SINEMA Server: All versions prior to V13 SP2,
    SIMATIC WinAC RTX 2010 SP2: All versions,
    SIMATIC WinAC RTX F 2010 SP2: All versions,
    SIMATIC IT Production Suite: All versions,
    TeleControl Server Basic: All versions prior to V3.0 SP2,
    SOFTNET Security Client V5.0: All versions,
    SIMIT V9.0,
    Security Configuration Tool (SCT): All versions, and
    Primary Setup Tool (PST): All versions.

IMPACT

This vulnerability could allow local users to escalate their privileges
if the affected products are not installed under the default path.

Impact to individual organizations depends on many factors that are unique
to each organization. NCCIC/ICS-CERT recommends that organizations evaluate
the impact of this vulnerability based on their operational environment,
architecture, and product implementation.

BACKGROUND

Siemens is a multinational company headquartered in Munich, Germany.

SIMATIC WinCC is a supervisory control and data acquisition (SCADA) system.

SIMATIC STEP 7 V5.X and STEP 7 (TIA Portal) are engineering software
products for SIMATIC PLC products.

SIMATIC PCS 7 is a distributed control system (DCS) integrating SIMATIC
WinCC.

SIMATIC WinCC Runtime Professional is a visualization runtime platform
used for operator control and monitoring of machines and plants.

SIMATIC WinCC (TIA Portal) is an engineering software program to configure
and program SIMATIC Panels, SIMATIC Industrial PCs, and Standard PCs
running WinCC Runtime Advanced or SCADA System WinCC Runtime Professional
visualization software.

SIMATIC NET PC-Software is used for communication between controllers
(PLCs) and PC based solutions (HMIs).

SINEMA Remote Connect Client ensures management of secure connections
(VPN) between headquarters, service technicians and the installed machines
or plants.

SINEMA Server is network management software for use in Industrial Ethernet
networks.

SIMATIC WinAC RTX is the SIMATIC software controller for PC-based automation
solutions.

SIMATIC IT Production Suite is a plant-centric IT solution building the
link between Business Systems (e.g., ERP) and Control Systems.

TeleControl Server Basic allows remote monitoring and control of plants.

The SOFTNET Security Client allows programming devices such as PCs and
notebook computers to access network nodes or automation systems protected
by SCALANCE S.

The simulation software SIMIT allows the simulation of plant setups in
order to anticipate faults in the early planning phase.

The Security Configuration Tool (SCT) is an engineering software for
security devices such as SCALANCE-S or CP 443-1 Advanced.

The Primary Setup Tool (PST) allows initial network configuration of
SIMATIC NET Industrial Ethernet products.

According to Siemens, these products are deployed across several sectors
including Chemical, Energy, Food and Agriculture, and Water and Wastewater
Systems. Siemens estimates that these products are used worldwide.

VULNERABILITY CHARACTERIZATION

VULNERABILITY OVERVIEW

IMPROPER PRIVILEGE MANAGEMENT[a]

Unquoted service paths could allow local Microsoft Windows operating system
users to escalate their privileges if the affected products are not installed
under their default path ("C:\Program Files\*" or the localized equivalent).

CVE-2016-7165[b] has been assigned to this vulnerability. A CVSS
v3 base score of 6.4 has been calculated; the CVSS vector string is
(AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H).[c]

VULNERABILITY DETAILS

EXPLOITABILITY

This vulnerability is not exploitable remotely and can only be exploited
by a local valid operating system user.

EXISTENCE OF EXPLOIT

No known public exploits specifically target this vulnerability.

DIFFICULTY

Crafting a working exploit for this vulnerability would be difficult.

MITIGATION

If the affected products are installed under their default path ("C:\Program
Files\*" or the localized equivalent) and the default file system access
permissions for drive C:\ were not modified, the security vulnerability
is not exploitable.

However, if the affected products are not installed under their default
path ("C:\Program Files\*" or the localized equivalent), the security
vulnerability is potentially exploitable.

Siemens has released updates for the following products and encourages
customers to apply the updates as soon as possible:

    SIMATIC WinCC:

    V7.0 SP2: and earlier versions: Update to V7.0 SP2 Upd 12

https://support.industry.siemens.com/cs/ww/en/view/109741519

    V7.0 SP3: Update to V7.0 SP3 Upd 8

https://support.industry.siemens.com/cs/ww/en/view/109741127

    SIMATIC WinCC (TIA Portal) Basic, Comfort, Advanced: Upgrade to V14

https://support.industry.siemens.com/cs/ww/en/view/109739719

    SIMATIC STEP 7 (TIA Portal): Upgrade to V14

https://support.industry.siemens.com/cs/ww/en/view/109740340

    SIMATIC NET PC-Software: Upgrade to V14

https://support.industry.siemens.com/cs/ww/en/view/109741996

    TeleControl Server Basic: Update to V3.0 SP2

https://support.industry.siemens.com/cs/ww/en/view/109483119

    SINEMA Server: Update to V13 SP2

https://support.industry.siemens.com/cs/ww/en/view/109741833

For the following products in nondefault configurations, Siemens provides
a temporary fix that resolves the security vulnerability:

    SIMATIC WinCC V7.2,
    SIMATIC STEP 7 V5.X,
    SIMATIC PCS 7 V7.1 and V8.0,
    SIMATIC STEP 7 (TIA Portal) V13,
    SIMATIC NET PC-Software V13,
    SINEMA Remote Connect Client,
    SIMATIC WinAC RTX 2010 SP2,
    SIMATIC WinAC RTX F 2010 SP2,
    SIMATIC IT Production Suite,
    SOFTNET Security Client V5.0,
    SIMIT V9.0,
    Security Configuration Tool (SCT), and
    Primary Setup Tool (PST).

The temporary fix can be found on Siemens web site at the following location:

https://support.industry.siemens.com/cs/ww/en/view/109740929

For the following products in nondefault configurations, Siemens recommends
customers apply the temporary fix, follow Siemens' operational guidelines,
and restrict file system access rights:

    SIMATIC WinCC V7.3 and V7.4,
    SIMATIC PCS 7 V8.1 and V8.2,
    SIMATIC WinCC Runtime Professional, and
    SIMATIC WinCC (TIA Portal) Professional.

Siemens strongly recommends users protect network access to engineering
workstations and project storage with appropriate mechanisms. Siemens
also advises that users configure the operational environment according
to Siemens' Operational Guidelines for Industrial Security:

https://www.siemens.com/cert/operational-guidelines-industrial-security

For more information on this vulnerability and more detailed mitigation
instructions, please see Siemens Security Advisory SSA-701708 at the
following location:

http://www.siemens.com/cert/advisories

Siemens is working on new versions to incorporate the temporary fix for the
remaining affected products and will update SSA-701708 when new information
becomes available.

ICS-CERT 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.

ICS-CERT reminds organizations to perform proper impact analysis and risk
assessment prior to deploying defensive measures.

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

Organizations observing any suspected malicious activity should follow their
established internal procedures and report their findings to ICS-CERT for
tracking and correlation against other incidents.

    a.
    CWE-269: Improper Privilege Management,
    https://cwe.mitre.org/data/definitions/269.html, web site last accessed
    November 08, 2016.
    b.
    NVD, https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-7165,
    NIST uses this advisory to create the CVE web site report. This web
    site will be active sometime after publication of this advisory.
    c.
    CVSS Calculator,
    https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S...,
    web site last accessed November 08, 2016.


Contact Information

For any questions related to this report, please contact ICS-CERT at:

Email: ics-cert@hq.dhs.gov
Toll Free: 1-877-776-7585
International Callers: (208) 526-0900

For industrial control systems security information and incident reporting:
http://ics-cert.us-cert.gov

ICS-CERT 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:

        http://www.auscert.org.au/render.html?cid=1980

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

iQIVAwUBWCUkJYx+lLeg9Ub1AQjozw//Qai121UWVdbz2JyB2UIV4Z95oAwMlP5M
KdBNtXlszXJ3GAQZORxJjd/K37LaLBfxUqYUYQFyTfTSrNRdDrVPDc1nXi/rs4jM
WfoRgW8EQTofWted2chI822x5Z9bGsGS91CSsPN38LjVyJWnadM5qzm/J5CyKUiG
6YrAy+4ac6itS892CtMuLP5n42P2IFoY7MpCBjBJVyyJM4baXynwgmOnI3oQHua3
3UeT7oGU5Am0siuviEnvT1E678RRFslaT2Ym4uC5Hz1XUXYPEx4VCF1uQg7IF+ms
1ACYmPlCE6jKnSr4nwafig05nBGbqg8h7Em1+yv1AGmsS5AM6EMSrSJoCsDmu5pW
uc9QQOzGEGvvTiIpHlayxYVWf6bEi1ft4s3n2h8+lPpy/pH8RD2CIYvejb9185F/
dWsVNIyoPg4jPxIh7N7g26gdUK7ZvAgotMAsOYPKRPvwhLl+WdwDi0xRHqFJz4pa
sqobeGTw1OxxHyEayF1OZMabE3Z6cNstvDXcvFi0hgSD9fNnoAtB7wRGFk9O0xzd
N60emJ7eCIMWf7bV5gZ1rjXfdySz3zlPjY32NQ273OQlp1AR2KNEdmebCGkqwJ2Z
yXU3FBjO+bSEWXim+3G1FqshIMHCq4Zln3vf0eT3TIgGt5urDNRUXakFWBtAL4n9
8HENIzlIrgk=
=PXNB
-----END PGP SIGNATURE-----