title: Phoenix Contact Automation Worx <= 1.87: stack-based overflow
description: PLCopen XML file parsing in Phoenix Contact PC Worx and PC Worx Express version 1.87 and earlier can lead to a stack-based overflow. Manipulated PC Worx projects could lead to a remote code execution due to insufficient input data validation.
problem types: CWE-121 Stack-based Buffer Overflow
affected:
{
product: Automation Worx
vendor: Phoenix Contact
versions:
lessThanOrEqual: 1.87, status: affected, version: unspecified, versionType: custom
}
{
product: Automation Worx Express
vendor: Phoenix Contact
versions:
lessThanOrEqual: 1.87, status: affected, version: unspecified, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: LOCAL
availabilityImpact: HIGH
baseScore: 7.8
baseSeverity: HIGH
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
version: 3.1
]
solutions: With the next version of Automation Worx Software Suite (Version > 1.87) a sharpened input data validation with respect to buffer size and description of size and number of objects referenced in a file will be implemented.
workarounds: We strongly recommend customers to exchange project files only using secure file exchange services. Project files should not be exchanged via unencrypted email.
In addition, we recommend exchanging or storing project files together with a checksum to ensure their integrity.