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

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

                               ESB-2015.0673
                 Johnson Controls Metasys Vulnerabilities
                               19 March 2015

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

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

Product:           Johnson Controls Application and Data Server (ADS)
                   Johnson Controls Extended Application and Data Server (ADX)
                   Johnson Controls LonWorks Control Server 85 (LCS8520)
                   Johnson Controls Network Automation Engine (NAE)
                   Johnson Controls Network Integration Engine (NIE)
                   Johnson Controls NxE8500
Publisher:         US-CERT
Operating System:  Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Access Privileged Data          -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2014-5428 CVE-2014-5427 

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

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

Advisory (ICSA-14-350-02)

Johnson Controls Metasys Vulnerabilities

Original release date: March 17, 2015

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 advisory was originally posted to the US-CERT secure Portal library on 
December 16, 2014, and is being released to the NCCIC/ICS-CERT web site.

Independent security researcher Billy Rios has identified two vulnerabilities
in Johnson Controls Metasys building management system. Johnson Controls has 
produced patches for each affected release that mitigates these 
vulnerabilities.

These vulnerabilities could be exploited remotely.

AFFECTED PRODUCTS

The following Johnson Controls products, using Metasys Releases 4.1 to 6.5, 
are affected:

    Application and Data Server (ADS),

    Extended Application and Data Server (ADX),

    LonWorks Control Server 85 (LCS8520),

    Network Automation Engine (NAE) 55xx-x models,

    Network Integration Engine (NIE) 5xxx-x models, and

    NxE8500

IMPACT

The impact of these vulnerabilities could allow an unauthenticated remote 
attacker to compromise the confidentiality, integrity, and availability of a 
Metasys system.

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

Johnson Controls is a US-based company that maintains offices in several 
countries around the world, including the US, UK, Netherlands, Italy, India, 
Germany, France, Czech Republic, China, and Australia.

Metasys systems provide traditional building control capabilities with 
built-in integration to webbased architecture and wireless technologies. 
According to Johnson Controls, Metasys systems are deployed across several 
sectors including Commercial Facilities and Government Facilities. Johnson 
Controls estimates that these products are used worldwide.

VULNERABILITY CHARACTERIZATION

VULNERABILITY OVERVIEW

STORING PASSWORDS IN A RECOVERABLE FORMAT[a]

A remote attacker may be able to retrieve the password hash for an authorized
Metasys user with an unauthenticated post request. Retrieved encrypted 
passwords could be used by a remote attacker to compromise the Metasys system.

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

UNRESTRICTED UPLOAD OF FILE WITH DANGEROUS TYPE[d]

The Metasys system makes web services available to unauthenticated remote 
users that could allow an attacker to upload and execute a shell script to an
arbitrary location on the Metasys system, resulting in the compromise of the 
system.

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

VULNERABILITY DETAILS

EXPLOITABILITY

These vulnerabilities could be exploited remotely.

EXISTENCE OF EXPLOIT

No known public exploits specifically target these vulnerabilities.

DIFFICULTY

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

MITIGATION

Johnson Controls has developed patches for all affected Metasys releases (4.1,
5.x, and 6.x). Metasys releases prior to Release 4.1 are not affected. Metasys
products NxE25/35/45 are also not affected by these vulnerabilities.

The product patches, along with installation instructions, can be obtained 
from any local Johnson Controls branch office or Metasys Authorized Building 
Control Specialists. Johnson Controls recommends that asset owners and 
operators adhere to IT best practices and guidelines described in the 
following Metasys installation documents to further reduce the risk associated
with these vulnerabilities:

    Network and IT Guidance for the IT Professional Technical Bulletin 
(LIT-1201578) available at: 
http://cgproducts.johnsoncontrols.com/MET_PDF/1201578.pdf

    Network and IT Guidance for the BAS Professional Technical Bulletin 
(LIT-12011279) available at: 
http://cgproducts.johnsoncontrols.com/MET_PDF/12011279.pdf

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 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 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-257: Storing Passwords in a Recoverable Format, 
http://cwe.mitre.org/data/definitions/257.html, web site last accessed March 
17, 2015.

    b. NVD, http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-5427, 
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, 
http://nvd.nist.gov/cvss.cfm?version=2&vector=AV:N/AC:L/Au:N/C:C/I:C/A:C, web
site last accessed March 17, 2015.

    d. CWE-434: Unrestricted Upload of File with Dangerous Type, 
http://cwe.mitre.org/data/definitions/434.html, web site last accessed March 
17, 2015.

    e. NVD, http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-5428, 
NIST uses this advisory to create the CVE web site report. This web site will
be active sometime after publication of this advisory.

    f. CVSS Calculator, 
https://nvd.nist.gov/cvss.cfm?version=2&vector=AV:N/AC:L/Au:N/C:C/I:C/A:C, web
site last accessed March 17, 2015.

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

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

iQIVAwUBVQpYxhLndAQH1ShLAQKNDRAAudIlSYwvyg3uyoNFVNEZ7LT201OfqegF
BkuVuNBxQSiz+VtaURBefBlT+Z9cV4Ug2VUjtZp9x6IeDJUZxm5DudTkbInSFoKg
9JQ54ToseMeCgLIIQPg46DOHfbQl6wM3xumaVkGqZDx/3CH6mqlBK5j0R8PyqUjp
WQECDZuC5vG7YNuKB9K2VLd3Ppy7kRjeJSlpgRvToG2HjDIYB5PZgsNWU08l7FJP
DciKPZz0dbKw4NP5WeTRQkNiLOQPcvyU+3dKW0wZLh8I0p313681eCmGZA88S/16
SDhqTYvz8eZ4Dcp3v5mv5tLON/AMfBhLFnvor1z/lCpqRkU8wcKm7rJzlaQaoihW
M0H9INsokCfVPgjaBCZvOh58D7iYDeMV20zSRuLNco0V68n1ZkEaS+x+6sOjM7a/
x6Z9MMokLVCJecXREX78FDNUrbft+k5d9rtA0sPBL0gkTSA8eziXylLcCB+kemN9
BeYy5QF0+ZQGLYaEMeK4LcN3ArjFIXWvhwz/yKzMP3Hs8ytfDJUJO+hiQ+zETeyc
r/J+krceffR6fc4W+tjuDirX0tI0e0T6sR9QhNRJyceK3kDS16m+v4FkJREcdiPc
kvT3Fi7qYDUcnn3Dgq44nvFKAeiuUWXQWlk1+1+gPJd9hTUOuJsCOD9zHmjLDfje
xrziv3CIKvQ=
=8JAd
-----END PGP SIGNATURE-----