Summary
The CODESYS web server component of the CODESYS Control runtime system is used by the CODESYS
WebVisu to display visualization screens in a web browser. Receiving a specifically crafted TLS packet on an
HTTPS connection causes the CODESYS web server to crash because the return value of an underlying
function is not checked correctly for such unusual conditions.
Details
Impact
The CODESYS web server, implemented by the CmpWebServer component, is an optional part of the
CODESYS Control runtime system. It is used by the CODESYS WebVisu to display CODESYS visualization
screens in a web browser. The CODESYS web server supports both the HTTP and HTTPS protocols.
Because the CODESYS web server does not correctly check the return value of an underlying function, it
reacts in a wrong way to specifically crafted TLS packets that are received via an HTTPS connection. This
causes the CODESYS web server to access invalid memory and the web server task to crash.
Remediation
Update the following products to version 3.5.20.30.
* CODESYS Control RTE (SL)
* CODESYS Control RTE (for Beckhoff CX) SL
* CODESYS Control Win (SL)
* CODESYS HMI (SL)
* CODESYS Runtime Toolkit
* CODESYS Embedded Target Visu Toolkit
* CODESYS Remote Target Visu Toolkit
Update the following products to version 4.14.0.0.
* CODESYS Control for BeagleBone SL
* CODESYS Control for emPC-A/iMX6 SL
* CODESYS Control for Linux ARM SL
* CODESYS Control for Linux SL
* CODESYS Control for PFC100 SL
* CODESYS Control for PFC200 SL
* CODESYS Control for PLCnext SL
* CODESYS Control for Raspberry Pi SL
* CODESYS Control for WAGO Touch Panels 600 SL
* CODESYS Virtual Control SL
Update the following product to version 4.15.0.0 (Version 4.14.0.0 has not been released).
* CODESYS Control for IOT2000 SL
The products available as CODESYS add-ons can be downloaded and installed directly with the CODESYS Installer or be downloaded from the CODESYS Store. Alternatively, as well as for all other products, you will find further information on obtaining the software update in the CODESYS download area https://www.codesys.com/download .
Vulnerabilities 1
-
High 7.5
CODESYS: web server vulnerable to DoS
An unauthenticated remote attacker can causes the CODESYS web server to access invalid memory which results in a DoS.
Revision history
-
#3
Fixed version information for CODESYS Control for IOT2000 SL. Fixed typos in version ranges.
-
#2
Further software update available
-
#1
Initial revision.
References
-
CERT@VDE Security Advisories for CODESYS GmbH
https://certvde.com/en/advisories/vendor/codesys
-
Advisory2024-05_VDE-2024-057: CODESYS: CODESYS web server vulnerable to DoS - HTML
https://certvde.com/en/advisories/VDE-2024-057
-
CODESYS Security Advisory 2024-05
https://customers.codesys.com/index.php?eID=dumpFile&t=f&f=18604&token=d5e1e2820ee63077b875b3bb41014b1f102e88a3&download=
-
CODESYS Security Advisories
https://www.codesys.com/security/security-reports.html