Description
The CmpOpenSSL component of the CODESYS Control runtime system does not sufficiently check file names for path traversal when processing component-specific online service requests. An authenticated, high-privileged remote attacker can exploit this vulnerability to trigger read access checks on arbitrary files outside the intended directory. Successful exploitation may disclose whether selected files exist on the system and result in a denial-of-service condition.
Affected products and versions
CODESYS Control RTE (SL)3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Control RTE (for Beckhoff CX) SL3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Control Win (SL)3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Runtime Toolkit3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Embedded Target Visu Toolkit3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Remote Target Visu3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Safety SIL23.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Gateway3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Edge Gateway for Windows3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS HMI (SL)3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Administrator
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- Low impact
- Integrity
- None
- Availability
- High impact
Weakness type (CWE)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.