Phoenix Contact has an updated version available that fixes an improper path sanitation vulnerability that exists on import of project files in its PLCnext Engineer version 2020.3.1 and earlier, according to a report with VDE Cert.
The build settings of a PLCnext Engineer project (.pcwex) can be manipulated in a way that can result in the execution of remote code, according to the report.
The attacker needs to get access to a PLCnext Engineer project to be able to manipulate files inside. Additionally, the files of the remote code need to be transferred to a location that can be accessed by the PC that runs PLCnext Engineer. When PLCnext Engineer runs a build process of the manipulated project the remote code can be executed.
As a result of the vulnerability (CVE-2020-12499), discovered by Amir Preminger of Claroty, the availability, integrity, or confidentiality of an engineering workstation might end up be compromised by attacks using these vulnerabilities.
The vulnerability has a CVSS score of 8.2.
VDE Cert recommends users exchange project files only using secure file exchange services. Project files should not be exchanged via unencrypted email. In addition, users should avoid importing project files from unknown source and exchange or store project files together with a checksum to ensure their integrity.
Phoenix Contact recommends updating to the latest version PLCnext Engineer 2020.6 or higher, which fixes this vulnerability.

