-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

                              ESB-2014.1246.2
                   Siemens SIMATIC WinCC Vulnerabilities
                              9 October 2014

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

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

Product:           SIMATIC WinCC
                   SIMATIC PCS7
Publisher:         ICS-CERT
Operating System:  Windows
Impact/Access:     Access Confidential Data -- Remote/Unauthenticated
                   Increased Privileges     -- Existing Account      
Resolution:        Patch/Upgrade
CVE Names:         CVE-2014-4686 CVE-2014-4685 CVE-2014-4684
                   CVE-2014-4683 CVE-2014-4682 

Reference:         ESB-2014.1246

Original Bulletin: 
   https://ics-cert.us-cert.gov/advisories/ICSA-14-205-02A

Revision History:  October  9 2014: Release of SIMATIC PCS7 V8.1 which 
                                    corrects vulnerabilities listed in 
                                    the initial advisory
                   July    28 2014: Initial Release

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

Advisory (ICSA-14-205-02A)

Siemens SIMATIC WinCC Vulnerabilities (Update A)

Original release date: October 07, 2014

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

This updated advisory is a follow-up to the original advisory titled 
ICSA-14-205-02 Siemens SIMATIC WinCC Vulnerabilities that was published July 
24, 2014, on the NCCIC/ICS-CERT web site.

Researchers Sergey Gordeychik, Alexander Tlyapov, Dmitry Nagibin, and Gleb 
Gritsai of Positive Technologies identified four of five vulnerabilities in 
the Siemens SIMATIC WinCC application. An anonymous researcher identified the
remaining vulnerability. Siemens has produced an update that mitigates these 
vulnerabilities.

All but one of the reported vulnerabilities could be exploited remotely.

AFFECTED PRODUCTS

The following Siemens products are affected:

SIMATIC WinCC: all versions prior to Version 7.3, and

SIMATIC PCS7 (as WinCC is incorporated): all versions prior to Version 8.1.

IMPACT

Successful exploitation of these vulnerabilities may allow an attacker to 
obtain unauthorized access to sensitive data and allow unauthorized privilege
escalation.

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

BACKGROUND

Siemens is a multinational company headquartered in Munich, Germany. Siemens 
develops products mainly in the Energy, Healthcare and Public Health, and 
Transportation Systems sectors.

SIMATIC WinCC is a supervisory control and data acquisition (SCADA) system 
that is used to monitor and control physical processes involved in industry 
and infrastructure. This software is used in many industries, including food 
and beverage, water and wastewater, oil and gas, and chemical.

VULNERABILITY CHARACTERIZATION

VULNERABILITY OVERVIEW

FORCED BROWSING[a]

The SIMATIC WinCC WebNavigator server at Port 80/TCP and Port 443/TCP could 
allow unauthenticated access to sensitive data with specially crafted HTTP 
requests.

CVE-2014-4682[b] has been assigned to this vulnerability. A CVSS v2 base score 
of 5.0 has been assigned; the CVSS vector string is 
(AV:N/AC:L/Au:N/C:P/I:N/A:N).[c]

SESSION FIXATION[d]

Existing access control settings of the WinCC WebNavigator server at Port 
80/TCP and Port 443/TCP could allow remote authenticated users to escalate 
their privileges in WinCC.

CVE-2014-4683[e] has been assigned to this vulnerability. A CVSS v2 base score 
of 4.9 has been assigned; the CVSS vector string is 
(AV:N/AC:M/Au:S/C:P/I:P/A:N).[f]

IMPROPER PRIVILEGE MANAGEMENT[g]

The database server of SIMATIC WinCC could allow authenticated users to 
escalate their privileges in the database if a specially crafted command is 
sent to the database server at Port 1433/TCP.

CVE-2014-4684[h] has been assigned to this vulnerability. A CVSS v2 base score 
of 6.0 has been assigned; the CVSS vector string is 
(AV:N/AC:M/Au:S/C:P/I:P/A:P).[i]

PERMISSIONS, PRIVILEGES, AND ACCESS CONTROLS[j]

Access permissions on system objects could allow a local user to obtain 
limited escalated privileges within the operating system.

CVE-2014-4685[k] has been assigned to this vulnerability. A CVSS v2 base score 
of 4.6 has been assigned; the CVSS vector string is 
(AV:L/AC:L/Au:N/C:P/I:P/A:P).[l]

HARD-CODED CRYPTOGRAPHIC KEY[m]

A hard-coded cryptographic key could allow privilege escalation in the WinCC 
Project administration application if network communication on Port 1030/TCP 
of a legitimate user can be captured.

CVE-2014-4686[n] has been assigned to this vulnerability. A CVSS v2 base score 
of 6.8 has been assigned; the CVSS vector string is 
(AV:N/AC:M/Au:N/C:P/I:P/A:P).[o]

VULNERABILITY DETAILS

EXPLOITABILITY

These vulnerabilities could be exploited remotely except for vulnerability 
CVE-2014-4685, which requires an attacker to have local access to the system.

EXISTENCE OF EXPLOIT

No known public exploits specifically target these vulnerabilities.

DIFFICULTY

An attacker with a moderate to low skill would be able to exploit these 
vulnerabilities.

MITIGATION

Siemens has released SIMATIC WinCC V7.3, which fixes the five vulnerabilities,
and recommends upgrading as soon as possible. The updated software can be 
ordered via the customer support web site at the following location:

https://mall.industry.siemens.com/mall/de/de/Catalog/Products/10042373?tree=CatalogTree

- --------- Begin Update A Part 1 of 1 --------

Additional information about SIMATIC WinCC V7.3 is available at the following
location:

http://support.automation.siemens.com/WW/view/en/97493192

Siemens has released SIMATIC PCS7 V8.1, which fixes the five vulnerabilities,
and recommends upgrading as soon as possible. The updated software can be 
ordered via the customer support web site at the following location:

https://mall.industry.siemens.com/mall/de/de/Catalog/Products/10042373?tree=CatalogTree

Additional information about the new SIMATIC PCS7 V8.1 is available at the 
following location:

http://support.automation.siemens.com/WW/view/en/98161292

Until the updates can be deployed, Siemens advises asset owners to apply the 
following steps to mitigate the risk:

- --------- End Update A Part 1 of 1 ----------

Limit the WebNavigator server access to trusted networks and clients,

Ensure that the WebNavigator clients authenticate themselves against the 
WebNavigator server (e.g., use client certificates),

Restrict access to the WinCC database server at Port 1433/TCP to trusted 
entities,

Deactivate all unnecessary OS users on WinCC server,

Run WinCC server and engineering stations within a trusted network, or

Ensure that the WinCC server and the engineering stations communicate via 
encrypted channels only (e.g., establish a VPN tunnel).

SIMATIC WinCC V7.3 introduces the feature Encrypted Communications. The 
feature allows operators to add an extra layer of security to protect server 
communication. Siemens strongly recommends activating this feature.

Additional information can be found in the Siemens Security Advisory, 
SSA-214365 available at:

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

ICS-CERT encourages asset owners to take additional defensive measures to 
protect against this and other cybersecurity risks.

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 also provides a section for control systems security recommended 
practices on the ICS-CERT web page at: 
http://ics-cert.us-cert.gov/content/recommended-practices. Several recommended
practices are available for reading and download, including Improving 
Industrial Control Systems Cybersecurity with Defense-in-Depth Strategies. 
ICS-CERT reminds organizations to perform proper impact analysis and risk 
assessment prior to deploying defensive measures.

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 
(http://ics-cert.us-cert.gov/).

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-425: Direct Request (Forced Browsing), 
http://cwe.mitre.org/data/definitions/425.html, web site last accessed July 
24, 2014.

b. NVD, http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-4682, web 
site last accessed October 07, 2014.

c. CVSS Calculator, 
http://nvd.nist.gov/cvss.cfm?version=2&vector=AV:N/AC:L/Au:N/C:P/I:N/A:N, web
site last accessed July 24, 2014.

d. CWE-384: Session Fixation, http://cwe.mitre.org/data/definitions/384.html,
web site last accessed July 24, 2014.

e. NVD, http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-4683, web 
site last accessed October 07, 2014.

f. CVSS Calculator, 
http://nvd.nist.gov/cvss.cfm?version=2&vector=AV:N/AC:M/Au:S/C:P/I:P/A:N, web
site last accessed July 24, 2014.

g. CWE-269: Improper Privilege Management, 
http://cwe.mitre.org/data/definitions/269.html, web site last accessed July 
24, 2014.

h. NVD, http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-4684, web 
site last accessed October 07, 2014.

i. CVSS Calculator, 
http://nvd.nist.gov/cvss.cfm?version=2&vector=AV:N/AC:M/Au:S/C:P/I:P/A:P, web
site last accessed July 24, 2014.

j. CWE-264: Permissions, Privileges, and Access Controls, 
http://cwe.mitre.org/data/definitions/264.html, web site last accessed July 
24, 2014.

k. NVD, http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-4685, web 
site last accessed October 07, 2014.

l. CVSS Calculator, 
http://nvd.nist.gov/cvss.cfm?version=2&vector=AV:L/AC:L/Au:N/C:P/I:P/A:P, web
site last accessed July 24, 2014.

m. CWE-321: Use of Hard-coded Cryptographic Key, 
http://cwe.mitre.org/data/definitions/321.html, web site last accessed July 
24, 2014.

n. NVD, http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-4686, web 
site last accessed October 07, 2014.

o. CVSS Calculator, 
http://nvd.nist.gov/cvss.cfm?version=2&vector=AV:N/AC:M/Au:N/C:P/I:P/A:P, web
site last accessed July 24, 2014.

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

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

iQIVAwUBVDYPDRLndAQH1ShLAQJVcw//QekGxsYg54WLJzEM9+F2eeYAkRlrq91O
yGOZuCkjFptj0wJcWvhv01ZH4zC/GvLsNHFPN6Tv9aRjtUeydKVyalz0n62yE4A+
BjwdJHQE/61R7XXqBl1jCMh7CT0yhQPIAlUABH3+5Xe2QKOlkb0Ldq/I75jb7FKx
AKHIBPQtEbCK8yJ2ZOwrXPaJgEF8HH7qW0Epbx7VkwXWRmWwX2biOAAz1Cvkd02H
cDFKpRlZM9DFOq00VBoXGS1bKuMVSO93+PiHH4yjqgtbHlxSUXHLWkTqACu78gap
T9SJqC4dz9dQajwDQ3ovE6i5mM4W/oWQAZ60FyVUuaI3A54S+9OO/LCU3cWxPLRn
PloewmooG60qpJLLCZJY5oiwM7W/hLkRBtepgghajckS6xu4otlW4+50MpJVVtMg
cpBXtFstK+WXtgFhWQlwWmPBCYFnKr3GJTZPTLSsjaFVozPtE5uSZbecq8w0F4fu
tOxegjLKWCgSJp1kd6+05l+Q00qjBxKKak9O3wPwpTb+QijFlvkuNGOfJmAAqfT7
OYOz9xPgBoB/KND+/KNjS4ieccLf//nFFlv+4kYhUN0bR/IDQ2Ga+qq6YqQ5Db68
vzM5KIWUJdEV/0ZnlIgDMsb3odVT4aNlaWih4Ori7+A+wmXhkNnEI94Rplx4YBdC
Oco9LIVC0/Q=
=bbCi
-----END PGP SIGNATURE-----