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

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

                               ESB-2015.1388
                Schneider Electric OFS Server Vulnerability
                                26 May 2015

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

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

Product:           Schneider Electric OFS Server
Publisher:         US-CERT
Operating System:  Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
                   Denial of Service               -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2015-1014  

Original Bulletin: 
   https://ics-cert.us-cert.gov/advisories/ICSA-15-141-01

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

Advisory (ICSA-15-141-01)

Schneider Electric OFS Server Vulnerability

Original release date: May 21, 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

Ivan Sanchez from Nullcode Team has identified a DLL hijacking vulnerability 
in Schneider Electrics OPC Factory Server (OFS) server application. Schneider
Electric has produced a new service patch that mitigates this vulnerability. 
Ivan Sanchez has tested the new service patch to validate that it resolves the
vulnerability.

AFFECTED PRODUCTS

The following OPC Factory Server versions are affected:

    OPC Factory Server Version 3.5, and older.

IMPACT

Exploitation of DLL hijack vulnerabilities can crash the system, and possibly
give an attacker access to the system with the same privilege level as the 
application that utilizes the malicious DLL.

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

BACKGROUND

Schneider Electrics corporate headquarters is located in Paris, France, and it
maintains offices in more than 100 countries worldwide.

The affected product, OPC Factory Server, enables Windows client applications
to access Modicon PLC data in real time. According to Schneider Electric, OPC
Factory Server is deployed across many complex manufacturing processes and 
infrastructures in many sectors including Commercial Facilities, Critical 
Manufacturing, Energy, Water and Wastewater Systems, and others. Schneider 
Electric estimates that these products are used worldwide.

VULNERABILITY CHARACTERIZATION

VULNERABILITY OVERVIEW

DLL HIJACKING [a]

A successful exploit of these vulnerabilities requires the local user to load
a crafted DLL file in the system directory on the victim machine. If the 
application attempts to open that file, the application could crash or allow 
the attacker to execute arbitrary code.

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

VULNERABILITY DETAILS

EXPLOITABILITY

This vulnerability is not exploitable remotely and cannot be exploited without
user interaction. The exploit is only triggered when a local user runs the 
vulnerable application and loads a specially crafted malformed DLL file.

EXISTENCE OF EXPLOIT

No known public exploits specifically target this vulnerability.

DIFFICULTY

Crafting a working exploit for this vulnerability would be difficult. Social 
engineering is required to convince the user to click and access specially 
malformed files necessary to exploit this vulnerability. Additional user 
interaction is also needed to load additional malformed files. This decreases
the likelihood of a successful exploit.

MITIGATION

Schneider Electric recommends vulnerable users to upgrade the OPC Factory 
Server to V3.5, SP 6. This new service patch can be downloaded from the 
following URL:

http://www.schneider-electric.com/download/WW/EN/details/703716507-OPC-Factory-Server-V350---Service-Pack-6/?showAsIframe=true&reference=OFS_3_50_2911-(SP6)

Schneider Electrics security notice SEVD-2015-133-01 is available at the 
following location:

http://www.schneider-electric.com/ww/en/download/document/SEVD-2015-133-01

ICS-CERT also recommends that users take the following measures to protect 
themselves from social engineering attacks:

    Do not click web links or open unsolicited attachments in email messages.

    Refer to Recognizing and Avoiding Email Scams [d] for more information on
    avoiding email scams.

    Refer to Avoiding Social Engineering and Phishing Attacks [e] for more 
    information on social engineering attacks.

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

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-427: Uncontrolled Search Path Element, 
    http://cwe.mitre.org/data/definitions/427.html, web site last accessed May 
    21, 2015.

    b. NVD, http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-1014, 
    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:L/AC:M/Au:S/C:N/I:P/A:C, web
    site last accessed May 21, 2015.

    d. Recognizing and Avoiding Email Scams, 
    http://www.us-cert.gov/reading_room/emailscams_0905.pdf, web site last 
    accessed May 21, 2015.

    e. National Cyber Alert System Cyber Security Tip ST04-014, 
    http://www.us-cert.gov/cas/tips/ST04-014.html, web site last accessed May 21,
    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

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

iQIVAwUBVWO2JRLndAQH1ShLAQLFvBAAgZrZb+hZoIrm9ENYgdIoNnqityLE/uZs
x3P1cfBgFTrJ8fkt+2jnywoWmLvdLk3l7gIgqrr2CRWuIXn3qvRdrlGdZEJVZR9h
MC3a1KF1SwRql2jzViyiVEyHxCdEdpsJSvfH9xhihQtCd4NQledwm6R7OQYDvDpz
VRgsqMS6fDn6B2SYh62N1zss15kZCrn55u3lzGsaYywwY4A6m8LYmUHMUpzmqCpJ
B6nVEGmYBCm4P1rLoV/UICBOnV/Gyb2zvGAmxz/zsfMnOmxNUwjQLmYaQDRO/xGu
i2mYBg6IV3a/eEC7gCz+Yylwxf6DCNRh8wolvzdQaQpOAGC99BVm60tkmk5/5xCM
ev4kWIlbx5PTR4HL2XaotL8J13kq2n2ljNI8d8BwgWSWSgMOLorPT8Jm87XC4BSp
MoBkUkb+tl4ciMjnr8UgJqHVBeNua1aVqlFg1koQ0cPUEwdIhfMQ/Gd6ZjGaYyrS
iz8RZFt4DH8kHKNFbKog0dFVSOe+58x2+FGJB5TWcYbP+RPMal5+ha3ULInkR3F+
0TWKSeS6PMoF9p2I7ohWdOqcqfNd4/pRQHToRM0eI0xHooeQUW1kUEuSiRRrnkQv
9Q0jdQ3JiuCwpc9u1VTRQMdvtF7xIh85Q9Ibhr0uG44YSKsfuaEhPXtySwJFVsJm
RQuWrl7+VnM=
=ILWG
-----END PGP SIGNATURE-----