Share: Email | Twitter

ID

VDE-2021-020

Published

2021-06-23 13:10 (CEST)

Last update

2021-06-23 13:10 (CEST)

Vendor(s)

PHOENIX CONTACT GmbH & Co. KG

Product(s)

Article No° Product Name Affected Version(s)
Config + <= 1.87
PC Worx <= 1.87
PC Worx Express <= 1.87

Summary

Manipulated PC Worx or Config+ projects could lead to a remote code execution when unallocated memory is freed because of incompletely initialized data (CWE-824).
The attacker needs to get access to an original bus configuration file (*.bcp) to be able to manipulate data inside. After manipulation the attacker needs to exchange the original file by the manipulated one on the application programming workstation.


Last Update:

July 7, 2021, 1:08 p.m.

Weakness

Access of Uninitialized Pointer  (CWE-824) 

Summary

Phoenix Contact Classic Automation Worx Software Suite in Version 1.87 and below is affected by a remote code execution vulnerability. Manipulated PC Worx or Config+ projects could lead to a remote code execution when unallocated memory is freed because of incompletely initialized data. The attacker needs to get access to an original bus configuration file (*.bcp) to be able to manipulate data inside. After manipulation the attacker needs to exchange the original file by the manipulated one on the application programming workstation. 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.

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 the affected data will be initialized completely and thereby freeing of unallocated memory will be prevented.

Reported by

The vulnerability was discovered by Francis Provencher {PRL} and reported by Zero Day Initiative (ZDI).
PHOENIX CONTACT thanks CERT@VDE for the coordination and support with this publication.