Share: Email | Twitter

ID

VDE-2019-016

Published

2019-10-15 08:17 (CEST)

Last update

2020-02-18 12:24 (CET)

Vendor(s)

PHOENIX CONTACT

Product(s)

Following components of Automationworx Software Suite version 1.86 and earlier are affected:
PC Worx
PC Worx Express
Config+

Summary

Manipulated PC Worx or Config+ projects could lead to a remote code execution due to
insufficient input data validation.
The attacker needs to get access to an original PC Worx or Config+ project to be able to
manipulate data inside the project folder. After manipulation the attacker needs to exchange the
original files by the manipulated ones on the application programming workstation.


Weakness

Improper Input Validation  (CWE-20) 

Summary

An issue was discovered in PHOENIX CONTACT PC Worx through 1.86, PC Worx Express through 1.86, and Config+ through 1.86. A manipulated PC Worx or Config+ project file could lead to an Out-of-bounds Read and remote code execution. The attacker needs to get access to an original PC Worx or Config+ project to be able to manipulate data inside. After manipulation, the attacker needs to exchange the original files with the manipulated ones on the application programming workstation.

Impact

Availability, integrity, or confidentiality of an application programming workstation might be compromised by attacks using these vulnerabilities. Automated systems in operation which were programmed with one of the above-mentioned products are not affected.

Solution

Temporary Fix / Mitigation

We strongly recommend customers to exchange project files only using secure file exchange services. Project files should not be exchanged via unencrypted email.

Remediation

With the next version of Automationworx Software Suite a sharpened validation of arrays regarding dimension and number of elements during input data conversion will be implemented. To improve the robustness against manipulated project files the input data validation will be extended. Further preventive security measures will be activated in the compiler settings.

Reported by

The vulnerabilities were discovered by 9sg Security Team.
Reported through Zerodayinitiative (ZDI-CAN-7782 and ZDI-CAN-8097).
Coordinated by CISA and CERT@VDE.