{"id":"CVE-2012-6069","state":"PUBLISHED","title":"3S CoDeSys Relative Path Traversal","description":"The CoDeSys Runtime Toolkit’s file transfer functionality does not \nperform input validation, which allows an attacker to access files and \ndirectories outside the intended scope. This may allow an attacker to \nupload and download any file on the device. This could allow the \nattacker to affect the availability, integrity, and confidentiality of \nthe device.","publishedAt":"2013-01-21T21:00:00.000Z","updatedAt":"2025-07-02T20:15:19.655Z","severity":{"score":10,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"icscert"},"assigner":"icscert","products":["3S-Smart Software Solutions CODESYS Control Runtime embedded","3S-Smart Software Solutions CODESYS Control Runtime full","3S-Smart Software Solutions CODESYS Control RTE","Festo CECX-X-C1 Modular Master Controller with CoDeSys","Festo CECX-X-M1 Modular Controller with CoDeSys and SoftMotion","3S-Smart Software Solutions CoDeSys"],"affected":[{"vendor":"3S-Smart Software Solutions","product":"CODESYS Control Runtime embedded","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.3.2.8","versionType":"custom"}]},{"vendor":"3S-Smart Software Solutions","product":"CODESYS Control Runtime full","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.4.7.40","versionType":"custom"}]},{"vendor":"3S-Smart Software Solutions","product":"CODESYS Control RTE","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.3.7.17","versionType":"custom"}]},{"vendor":"Festo","product":"CECX-X-C1 Modular Master Controller with CoDeSys","defaultStatus":"unaffected","versions":[{"version":"All","status":"affected"}]},{"vendor":"Festo","product":"CECX-X-M1 Modular Controller with CoDeSys and SoftMotion","defaultStatus":"unaffected","versions":[{"version":"All","status":"affected"}]},{"vendor":"3S-Smart Software Solutions","product":"CoDeSys","defaultStatus":"unaffected","versions":[{"version":"3.X","status":"unaffected"}]}],"references":["http://www.codesys.com/news-events/press-releases/detail/article/sicherheitsluecke-in-codesys-v23-laufzeitsystem.html","https://www.cisa.gov/news-events/ics-advisories/icsa-13-011-01","http://www.digitalbond.com/tools/basecamp/3s-codesys/","https://www.cisa.gov/news-events/ics-advisories/icsa-14-084-01","https://us.codesys.com/ecosystem/security/","http://www.securityfocus.com/bid/56300","http://ics-cert.us-cert.gov/advisories/ICSA-14-084-01","http://www.us-cert.gov/control_systems/pdf/ICSA-13-011-01.pdf"],"weaknesses":["CWE-23"],"ingestedAt":"2026-10-29T19:40:30.987Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2012/6xxx/CVE-2012-6069.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2012-6069","state":"PUBLISHED","datePublished":"2013-01-21T21:00:00.000Z","dateUpdated":"2025-07-02T20:15:19.655Z","assignerShortName":"icscert","assignerOrgId":"7d14cffa-0d7d-4270-9dc0-52cabd5a23a6","dateReserved":"2012-12-05T00:00:00.000Z"},"containers":{"cna":{"title":"3S CoDeSys Relative Path Traversal","descriptions":[{"lang":"en","value":"The CoDeSys Runtime Toolkit’s file transfer functionality does not \nperform input validation, which allows an attacker to access files and \ndirectories outside the intended scope. This may allow an attacker to \nupload and download any file on the device. This could allow the \nattacker to affect the availability, integrity, and confidentiality of \nthe device."}],"affected":[{"vendor":"3S-Smart Software Solutions","product":"CODESYS Control Runtime embedded","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.3.2.8","versionType":"custom"}]},{"vendor":"3S-Smart Software Solutions","product":"CODESYS Control Runtime full","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.4.7.40","versionType":"custom"}]},{"vendor":"3S-Smart Software Solutions","product":"CODESYS Control RTE","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.3.7.17","versionType":"custom"}]},{"vendor":"Festo","product":"CECX-X-C1 Modular Master Controller with CoDeSys","defaultStatus":"unaffected","versions":[{"version":"All","status":"affected"}]},{"vendor":"Festo","product":"CECX-X-M1 Modular Controller with CoDeSys and SoftMotion","defaultStatus":"unaffected","versions":[{"version":"All","status":"affected"}]},{"vendor":"3S-Smart Software Solutions","product":"CoDeSys","defaultStatus":"unaffected","versions":[{"version":"3.X","status":"unaffected"}]}],"references":[{"url":"http://www.codesys.com/news-events/press-releases/detail/article/sicherheitsluecke-in-codesys-v23-laufzeitsystem.html","tags":["x_refsource_CONFIRM"]},{"url":"https://www.cisa.gov/news-events/ics-advisories/icsa-13-011-01"},{"url":"http://www.digitalbond.com/tools/basecamp/3s-codesys/","tags":["x_refsource_MISC"]},{"url":"https://www.cisa.gov/news-events/ics-advisories/icsa-14-084-01"},{"url":"https://us.codesys.com/ecosystem/security/"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-23","description":"CWE-23","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"icscert","orgId":"7d14cffa-0d7d-4270-9dc0-52cabd5a23a6","dateUpdated":"2025-07-02T20:15:19.655Z"},"credits":[{"lang":"en","type":"finder","value":"Independent researcher Reid Wightman of IOActive, formerly of Digital Bond has validated that the patch, issued by 3S, mitigates theses vulnerabilities."}],"datePublic":"2012-10-31T06:00:00.000Z","solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"CoDeSys recommends upgrading to the latest version, which is Version 3. It can be downloaded <a target=\"_blank\" rel=\"nofollow\" href=\"https://store.codesys.com/engineering/codesys.html?___store=en#All%20versions\">here</a>.<p>3S released a patch which implements a password for authentication to the device.</p><p>The patch can be downloaded from the <a target=\"_blank\" rel=\"nofollow\" href=\"http://www.codesys.com/download.html\">CoDeSys Download Center</a>.</p>CoDeSys Version 3.X is not affected by these vulnerabilities.\n\n<br>"}],"value":"CoDeSys recommends upgrading to the latest version, which is Version 3. It can be downloaded  here https://store.codesys.com/engineering/codesys.html .3S released a patch which implements a password for authentication to the device.\n\nThe patch can be downloaded from the  CoDeSys Download Center http://www.codesys.com/download.html .\n\nCoDeSys Version 3.X is not affected by these vulnerabilities."}],"source":{"advisory":"ICSA-13-011-01","discovery":"EXTERNAL"},"workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"3S also recommends the usage of standard security methods like firewalls\n or virtual private network (VPN) access to prevent unauthorized access \nto the controller.\n\n<br>"}],"value":"3S also recommends the usage of standard security methods like firewalls\n or virtual private network (VPN) access to prevent unauthorized access \nto the controller."}],"x_generator":{"engine":"Vulnogram 0.2.0"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"ics-cert@hq.dhs.gov","ID":"CVE-2012-6068","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The Runtime Toolkit in CODESYS Runtime System 2.3.x and 2.4.x does not require authentication, which allows remote attackers to (1) execute commands via the command-line interface in the TCP listener service or (2) transfer files via requests to the TCP listener service."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://www.codesys.com/news-events/press-releases/detail/article/sicherheitsluecke-in-codesys-v23-laufzeitsystem.html","refsource":"CONFIRM","url":"http://www.codesys.com/news-events/press-releases/detail/article/sicherheitsluecke-in-codesys-v23-laufzeitsystem.html"},{"name":"http://ics-cert.us-cert.gov/advisories/ICSA-14-084-01","refsource":"MISC","url":"http://ics-cert.us-cert.gov/advisories/ICSA-14-084-01"},{"name":"http://www.digitalbond.com/tools/basecamp/3s-codesys/","refsource":"MISC","url":"http://www.digitalbond.com/tools/basecamp/3s-codesys/"},{"name":"http://www.us-cert.gov/control_systems/pdf/ICSA-13-011-01.pdf","refsource":"MISC","url":"http://www.us-cert.gov/control_systems/pdf/ICSA-13-011-01.pdf"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.securityfocus.com/bid/56300","name":"56300","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.codesys.com/news-events/press-releases/detail/article/sicherheitsluecke-in-codesys-v23-laufzeitsystem.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://ics-cert.us-cert.gov/advisories/ICSA-14-084-01","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.digitalbond.com/tools/basecamp/3s-codesys/","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.us-cert.gov/control_systems/pdf/ICSA-13-011-01.pdf","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T21:21:28.402Z"}}]}}}