Synopsis
CODESYS Runtime, a runtime system that "turns any embedded or PC based device into a full-fledged IEC 61131-3 controller", is vulnerable to a remote denial of service attack. The issue is due to the PLCWinNT Runtime service that runs on TCP port 1200 not properly sanitizing user-supplied input. By sending a crafted request, a remote attacker can trigger a NULL pointer dereference, crashing the service. Without the service running, the functionality of the device is effectively gone. Tenable has created a working exploit that demonstrates the issue, but will not be releasing it.
Note that this Runtime system may be used in additional software.
Solution
Upgrade the PLCWinNT Runtime software to version 2.4.7.48, or upgrade to CODESYS 2.3.9.48 which includes the updated Runtime.Additional References
https://ics-cert.us-cert.gov/advisories/ICSA-15-288-01https://www.codesys.com/
Disclosure Timeline
All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.
Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.
For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.
If you have questions or corrections about this advisory, please email [email protected]