3S CoDeSys Vulnerabilities
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/.
This advisory is a follow-up to the alert update, ICS-ALERT-11-336-01A 3S CoDeSys Vulnerabilities, which was released on the ICS-CERT Web page on December 02, 2011.
Security researcher Celil Unuver (SignalSec LLC) and independent researcher Luigi Auriemma have identified vulnerabilities in the 3S Smart Software Solutions CoDeSys product, summarized in the following table. Mr. Auriemma publicly disclosed the five vulnerabilities along with proof-of-concept (PoC) exploit code, including the vulnerability previously coordinated with ICS-CERT by Celil Unuver, without coordination with 3S Smart Software Solutions, ICS-CERT, or any other coordinating entity known to ICS-CERT.
ICS-CERT has coordinated these vulnerabilities with 3S Smart Software Solutions, and they have produced new versions for both CoDeSys V3 and V2.3 that mitigate these vulnerabilities. Mr. Auriemma has confirmed that the new versions fully resolve the reported vulnerabilities.
|Luigi Auriemma||Integer Overflow||Unanticipated||CVE-2011-5008|
|Luigi Auriemma||Content-Length NULL Pointer||Unanticipated||CVE-2011-5009|
|Luigi Auriemma||Content-Length NULL Pointer||Unanticipated|
|Luigi Auriemma||Invalid HTTP Request NULL Pointer||Unanticipated|
|Luigi Auriemma||Folders Creation||Unanticipated|
The following 3S Smart Software Solutions CoDeSys versions are affected:
- Version 2.3
- Version 3.4.
Successful exploitation of these vulnerabilities may allow an attacker to cause a denial of service (DoS) or to execute arbitrary code.
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.
CoDeSys is produced by 3S Smart Software Solutions GmgH based in Germany. According to the 3S Smart Software Solutions website.
CoDeSys is used across several sectors of the automation industry by manufacturers of industrial controllers or intelligent automation devices and by end users in different industries including system integrators who offer automation solutions using CoDeSys.
An attacker could exploit this vulnerability by sending specially crafted packets to Port 1217/TCP.
CVE-2011-5008 has been assigned to this vulnerability.
An attacker could exploit this vulnerability by sending an overly long URL to Port 8080/TCP.
CVE-2011-5007 has been assigned to this vulnerability.
Content-Length Null Pointer
An attacker could exploit this vulnerability by sending a specially crafted Content-Length header to Port 8080/TCP.
CVE-2011-5009 has been assigned to this vulnerability.
Invalid HTTP Request Null Pointer
An attacker could exploit this vulnerability by sending a request with an unknown HTTP method to Port 8080/TCP.
CVE-2011-5009 has been assigned to this vulnerability.
An attacker could exploit this vulnerability by sending a web request containing a nonexistent directory to Port 8080/TCP. Exploitation of this vulnerability results in the creation of arbitrary directories.
These vulnerabilities are remotely exploitable.
Existence of Exploit
Public exploits are known to target this vulnerability.
An attacker with a low skill level can create the DoS, whereas it would require a more skilled attacker to execute arbitrary code.
3S Smart Software Solutions has developed a new version of CoDeSys that resolves these vulnerabilities (V3.5 and V18.104.22.168). Customers can download the new versions for CoDeSys from the 3S Smart Software Solutions customer download website.
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. Critical devices should not directly face 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 VPN is only as secure as the connected devices.
The Control Systems Security Program (CSSP) also provides a section for control system security recommended practices on the CSSP web page. 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 taking defensive measures.
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.
For any questions related to this report, please contact the NCCIC at:
Toll Free: 1-888-282-0870
The NCCIC continuously strives to improve its products and services. You can help by choosing one of the links below to provide feedback about this product.