title: RCE in B&R Automation Studio with crafted project files
description: Improper Control of Generation of Code ('Code Injection') vulnerability in B&R Industrial Automation Automation Studio allows Local Execution of Code.This issue affects Automation Studio: from 4.0 through 4.12.
problem types: CWE-94 Improper Control of Generation of Code ('Code Injection')
affected:
{
defaultStatus: unaffected
product: Automation Studio
vendor: B&R Industrial Automation
versions:
lessThanOrEqual: 4.12, status: affected, version: 4.0, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: HIGH
attackVector: NETWORK
availabilityImpact: HIGH
baseScore: 8.3
baseSeverity: HIGH
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: NONE
scope: CHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
version: 3.1
]
format: CVSS
scenarios: GENERAL
workarounds:
B&R recommends the following specific workarounds and mitigations:
Open only B&R Automation Studio project files from trusted source.
Protect locations where B&R Automation Studio projects are stored from unauthorized access. This
includes PLCs, when using the feature to back up project source files on target.
Do not run B&R Automation Studio in elevated mode.
Verify integrity of B&R Automation Studio project files, which are exchanged via potentially insecure
channels.
Make sure, that Windows User Access Control (UAC) is enabled.
In general, B&R recommends implementing the Cyber Security guidelines.