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/.
Independent researcher Luigi Auriemma identified a NULL Pointer Dereference and an Infinite Loop and released proof-of-concept (exploit) code for Optimalog’s Optima PLC application without coordination with ICS-CERT, the vendor, or any other coordinating entity known to ICS-CERT.
Optimalog has released a new version to address these vulnerabilities. The component APIFTP is no longer installed by default with Optima PLC, the user must check a specific option. A security warning is displayed at the first performance of APIFTP to inform the user about opening a TCP port and asking the user to validate APIFTP use.
The following Optimalog Optima PLC Versions are affected:
- Optima PLC 1.5.2 and prior.
Successful exploitation of these vulnerabilities may result in a denial of service (DoS).
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.
Optimalog is a France-based company. The affected product, Optima PLC, is a software-based PLC system. This product is used primarily in Europe.
Null Pointer Dereference1
By sending a specially crafted packet to a specific port, Optima PLC’s component APIFTP will dereference a NULL Pointer when using path names that are long. This will result in termination of the server.
CVE-2012-50482 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:N/I:N/A:P).3
Loop with Unreachable Exit Condition4
By sending a specially crafted packet to a specific port, Optima PLC’s component APIFTP does not correctly handle incomplete packets. This will result in an infinite loop being called that will cause CPU consumption and may result in a DoS.
CVE-2012-50495 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:N/I:N/A:P).6
These vulnerabilities could be exploited remotely.
Existence of Exploit
Exploits that target this vulnerability are publicly available.
An attacker with a low skill would be able to exploit these vulnerabilities.
Optimalog’s recommendation to all users that plan to use APIFTP Server is to configure their firewall and VPN accordingly and set the program to run at startup of the station. If a user does not plan to use APIFTP server, then disable its execution.
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 a VPN is only as secure as the connected devices.
ICS-CERT also provides a section for control systems security recommended practices on the US-CERT Web page. Several recommended practices are available for reading and download, including Improving Industrial Control Systems Cybersecurity with Defense-in-Depth Strategies.7 ICS-CERT reminds organizations to perform proper impact analysis and risk assessment prior to taking defensive measures.
Additional mitigation guidance and recommended practices are publicly available in the ICS-CERT Technical Information Paper, ICS-TIP-12-146-01A—Cyber Intrusion Mitigation Strategies.8
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.
- 1. CWE, http://cwe.mitre.org/data/definitions/476.html, CWE-476: NULL Pointer Dereference, Web site last accessed September 26, 2012.
- 2. NVD, http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-5048, NIST uses this advisory to create the CVE Web site report. This Web site will be active sometime after publication of this advisory.
- 3. CVSS Calculator, http://nvd.nist.gov/cvss.cfm?version=2&vector=(AV:N/AC:L/Au:N/C:N/I:N/A:P), Web site last accessed September 26, 2012.
- 4. CWE, http://cwe.mitre.org/data/definitions/835.html, CWE-835: Loop with Unreachable Exit Condition, Web site last accessed September 26, 2012.
- 5. NVD, http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-5049, NIST uses this advisory to create the CVE Web site report. This Web site will be active sometime after publication of this advisory.
- 6. CVSS Calculator, http://nvd.nist.gov/cvss.cfm?version=2&vector=(AV:N/AC:L/Au:N/C:N/I:N/A:P), Web site last accessed September 26, 2012.
- 7. CSSP Recommended Practices, http://www.us-cert.gov/control_systems/practices/Recommended_Practices.html, Web site last accessed September 26, 2012.
- 8. Cyber Intrusion Mitigation Strategies, http://www.us-cert.gov/control_systems/pdf/ICS-TIP-12-146-01A.pdf, Web site last accessed September 26, 2012.
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.