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

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

                               ESB-2012.1038
     ICS-ALERT-12-097-02A—3S-SOFTWARE CODESYS IMPROPER ACCESS CONTROL
                              30 October 2012

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

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

Product:           CoDeSys
Publisher:         3S-Software
Operating System:  Network Appliance
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Unauthorised Access             -- Remote/Unauthenticated
Resolution:        Mitigation

Original Bulletin: 
   http://www.us-cert.gov/control_systems/pdf/ICS-ALERT-12-097-02A.pdf

Comment: Publicly released tools can exploit vulnerabilities so as to obtain a 
         shell and transfer arbitrary files to and from the PLC.

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

ICS-CERT ALERT

ICS-ALERT-12-097-02A—3S-SOFTWARE CODESYS IMPROPER ACCESS CONTROL

October 26, 2012

ALERT

SUMMARY

ICS-CERT is aware of a public report of improper access control vulnerability
affecting 3S-Software CoDeSys. CoDeSys is a third-party product used on
programmable logic controllers (PLCs) and engineering workstations. According
to this report, an attacker can upload unauthenticated configuration changes to
the PLC, which may include arbitrary code. This report was released by Reid 
Wightman, [Digital Bond] (now with IOActive), without coordination with either 
the vendor or ICS-CERT.

ICS-CERT has notified the affected vendor of the report and has asked the
vendor to confirm the vulnerabilities and identify mitigations. ICS-CERT is
issuing this alert to provide early notice of the report and identify baseline
mitigations for reducing risks to these and other cybersecurity attacks.

The researchers have publicly released two tools containing exploit code for
these vulnerabilities. The first tool can be used by an attacker to obtain a
shell on the PLC. The second tool can be used by an attacker to transfer
arbitrary files to and from the PLC.
The report included vulnerability details for the following vulnerabilities:

Vulnerability Type	Remotely	Impact
			Exploitability
Improper Access     	Yes          	Loss of integrity, confidentiality, 
Control                                 availability

Directory Traversal    	Yes          	Loss of integrity, confidentiality

Please report any issues affecting control systems in critical infrastructure
environments to ICS-CERT.

MITIGATION

3S has a Web site where asset owners can look up devices that uses CoDeSys.
http://www.3s-software.com/index.shtml?codesys_dev_dir.

ICS-CERT is currently coordinating with the vendor and security researcher to
identify mitigations.
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. Control system
  devices should not directly face the Internet. [a]
* Locate control system networks and devices behind firewalls, and isolate them
  from the business network.
* If remote access is required, employ secure methods such as Virtual Private
  Networks (VPNs), recognizing that VPN is only as secure as the connected
devices. 

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

ICS-CERT also provides a recommended practices section for control systems on
the US-CERT Web site. Several recommended practices are available for reading
or download, including Improving Industrial Control Systems Cybersecurity with
Defense-in-Depth Strategies. [b]

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

ICS-CERT CONTACT

ICS-CERT Operations Center
1-877-776-7585
ics-cert@hq.dhs.gov

For industrial control systems security information and incident reporting:
www.ics-cert.org

ICS-CERT continuously strives to improve its products and services. You can
help by answering a short series of questions about this product at the
following URL: https://forms.us-cert.gov/ncsd-feedback/.

DOCUMENT FAQ
What is an ICS-CERT Alert? An ICS-CERT Alert is intended to provide timely
notification to critical infrastructure owners and operators concerning threats
or activity with the potential to impact critical infrastructure computing
networks.

When is vulnerability attribution provided to researchers? Attribution for
vulnerability discovery is always provided to the vulnerability reporter unless
the reporter notifies ICS-CERT that they wish to remain anonymous. ICS-CERT
encourages researchers to coordinate vulnerability details before public
release. The public release of vulnerability details prior to the development
of proper mitigations may put industrial control systems and the public at
avoidable risk.

REFERENCES
a. ICS-CERT ALERT,
http://www.us-cert.gov/control_systems/pdf/ICS-Alert-10-301-01.pdf, Web site
last accessed October 25, 2012.

b. Control System Security Program (CSSP) Recommended Practices, 
http://www.us-cert.gov/control_systems/practices/Recommended_Practices.html, 
Website last accessed October 25, 2012.

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

iQIVAwUBUI94sO4yVqjM2NGpAQI/NQ/7BUQFCIyTYB3V5aw2Obp8IUx9RYRUqA4J
YoQty7euUhcyjqfzRdnApYuw1msKFF6CAsQZq+guGIyEiKWm/dr1khxEmCOLAu7q
myTssGeUezH/q/C0AaQhOKO6e0qKKa3B8jKVceq+33DFFgQox8TyTYcD1CH6jmKW
ybND48ZeUf7f3LJYBKVIzQfTgGn8FGR1aCIJ210WFoudZdZjgOJBQZSPsmmut7sQ
/WanwdbJM/uA5Huj7uLEWBocQicOFy78I7yIq5R/bP+zr1rMAZ3XN4DWQv+nadqQ
nviMnKqgLwhl0nnKlK1Mi+pzd6+oRExNh9DMEba2QCWRQKnyrK6wPDyRx6lkiXC5
LC9L0c+TLO3M4fezJw2dp5NrHigOAzhAmzvUHSFwYQ6julBFBxpSYCGHYJOJkGAk
5mq5O6jZSL6DpMBboLGyy1v8B2TsZ8H3iy5ZMU9QryEaq25+j2tXTjMewcXtAAft
OhHJ/b0CAvSld23bcr0xE2YnRnveZB3axOQBDT61wi4x8AB6S8ezCVfrMWAhNb09
VytDLshMYaniczBg0DtXtFwkql/QApUuI2fIKNhFzKxZHrOsLB00n6NW0wPotois
gXeOZRnNjE6vimDm0aNH2vaHGvRxbZ++YN9vFOIedjmHjmQLtWyCU3CyZ+OA64Ov
ofFiHiuTQpQ=
=DuZ6
-----END PGP SIGNATURE-----