title: Codesys Runtime  Improper Limitation of a Pathname
description: The CODESYS runtime system in multiple versions allows an remote low privileged attacker to use a path traversal vulnerability to access and modify all system files as well as DoS the device.
problem types: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
affected:
{
defaultStatus: unaffected
product: Control for BeagleBone
vendor: CODESYS
versions:
lessThan: 3.5.12.30, status: affected, version: 3.0.0.0, versionType: custom
}
{
defaultStatus: unaffected
product:  Control for emPC-A/iMX6
vendor: CODESYS
versions:
lessThan: 3.5.12.30, status: affected, version: 3.0.0.0, versionType: custom
}
{
defaultStatus: unaffected
product: Control for IOT2000
vendor: CODESYS
versions:
lessThan: 3.5.12.30, status: affected, version: 3.0.0.0, versionType: custom
}
{
defaultStatus: unaffected
product: Control for PFC100
vendor: CODESYS
versions:
lessThan: 3.5.12.30, status: affected, version: 3.0.0.0, versionType: custom
}
{
defaultStatus: unaffected
product: Control for PFC200
vendor: CODESYS
versions:
lessThan: 3.5.12.30, status: affected, version: 3.0.0.0, versionType: custom
}
{
defaultStatus: unaffected
product: Control for Raspberry Pi
vendor: CODESYS
versions:
lessThan: 3.5.12.30, status: affected, version: 3.0.0.0, versionType: custom
}
{
defaultStatus: unaffected
product: Control RTE V3 (all variants)
vendor: CODESYS
versions:
lessThan: 3.5.12.30, status: affected, version: 3.0.0.0, versionType: custom
}
{
defaultStatus: unaffected
product: Control Win V3 (all variants)
vendor: CODESYS
versions:
lessThan: 3.5.12.30, status: affected, version: 3.0.0.0, versionType: custom
}
{
defaultStatus: unaffected
product: V3 Simulation Runtime (part of the CODESYS Development System)
vendor: CODESYS
versions:
lessThan: 3.5.12.30, status: affected, version: 3.0.0.0, versionType: custom
}
{
defaultStatus: unaffected
product: HMI V3 (all variants)
vendor: CODESYS
versions:
lessThan: 3.5.12.30, status: affected, version: 3.0.0.0, versionType: custom
}
{
defaultStatus: unaffected
product: V3 Remote Target Visu (all variants)
vendor: CODESYS
versions:
lessThan: 3.5.12.30, status: affected, version: 3.0.0.0, versionType: custom
}
{
defaultStatus: unaffected
product: Control V3 Runtime System Toolkit
vendor: CODESYS
versions:
lessThan: 3.5.12.30, status: affected, version: 3.0.0.0, versionType: custom
}
{
defaultStatus: unaffected
product: V3 Embedded Target Visu Toolkit
vendor: CODESYS
versions:
lessThan: 3.5.12.30, status: affected, version: 3.0.0.0, versionType: custom
}
{
defaultStatus: unaffected
product: V3 Remote Target Visu Toolkit
vendor: CODESYS
versions:
lessThan: 3.5.12.30, status: affected, version: 3.0.0.0, versionType: custom
}
{
defaultStatus: unaffected
product: Runtime Toolkit 32 bit embedded
vendor: CODESYS
versions:
lessThan: 2.3.2.10, status: affected, version: 2.0.0.0, versionType: custom
}
{
defaultStatus: unaffected
product: Runtime Toolkit 32 bit full
vendor: CODESYS
versions:
lessThan: 2.4.7.52, status: affected, version: 2.0.0.0, versionType: custom
}
{
defaultStatus: unaffected
product: Runtime PLCWinNT
vendor: CODESYS
versions:
lessThan: 2.4.7.52, status: affected, version: 2.0.0.0, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: HIGH
baseScore: 8.8
baseSeverity: HIGH
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
version: 3.1
]
format: CVSS
scenarios: GENERAL