{"id":"CVE-2021-22282","state":"PUBLISHED","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.\n\n","publishedAt":"2024-02-02T06:38:32.358Z","updatedAt":"2025-06-17T21:29:23.035Z","severity":{"score":8.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","source":"ABB"},"assigner":"ABB","products":["B&R Industrial Automation Automation Studio"],"affected":[{"vendor":"B&R Industrial Automation","product":"Automation Studio","defaultStatus":"unaffected","versions":[{"version":"4.0","status":"affected","lessThanOrEqual":"4.12","versionType":"custom"}]}],"references":["https://www.br-automation.com/fileadmin/2021-12_RCE_Vulnerability_in_BnR_Automation_Studio-1b993aeb.pdf"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T19:48:02.192Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/22xxx/CVE-2021-22282.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-22282","state":"PUBLISHED","datePublished":"2024-02-02T06:38:32.358Z","dateUpdated":"2025-06-17T21:29:23.035Z","assignerShortName":"ABB","assignerOrgId":"2b718523-d88f-4f37-9bbd-300c20644bf9","dateReserved":"2021-01-05T17:31:49.080Z"},"containers":{"cna":{"title":"RCE in B&R Automation Studio with crafted project files","descriptions":[{"lang":"en","value":"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.\n\n"}],"affected":[{"vendor":"B&R Industrial Automation","product":"Automation Studio","defaultStatus":"unaffected","versions":[{"version":"4.0","status":"affected","lessThanOrEqual":"4.12","versionType":"custom"}]}],"references":[{"url":"https://www.br-automation.com/fileadmin/2021-12_RCE_Vulnerability_in_BnR_Automation_Studio-1b993aeb.pdf"}],"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":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"ABB","orgId":"2b718523-d88f-4f37-9bbd-300c20644bf9","dateUpdated":"2024-02-02T11:25:49.556Z"},"credits":[{"lang":"en","type":"finder","user":"00000000-0000-4000-9000-000000000000","value":"B&R would like to thank the following for working with us to help protect our customers: Mr. Mashav Sapir of Claroty, Mr. Andrew Hofmans"}],"datePublic":"2021-10-28T18:30:00.000Z","impacts":[{"capecId":"CAPEC-549","descriptions":[{"lang":"en","value":"CAPEC-549 Local Execution of Code"}]}],"source":{"discovery":"UNKNOWN"},"workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"\n\nB&amp;R recommends the following specific workarounds and mitigations:\nOpen only B&amp;R Automation Studio project files from trusted source.\nProtect locations where B&amp;R Automation Studio projects are stored from unauthorized access. This \nincludes PLCs, when using the feature to back up project source files on target.\nDo not run B&amp;R Automation Studio in elevated mode.\nVerify integrity of B&amp;R Automation Studio project files, which are exchanged via potentially insecure \nchannels.\nMake sure, that Windows User Access Control (UAC) is enabled.\nIn general, B&amp;R recommends implementing the Cyber Security guidelines.\n\n<br>"}],"value":"\nB&R recommends the following specific workarounds and mitigations:\nOpen only B&R Automation Studio project files from trusted source.\nProtect locations where B&R Automation Studio projects are stored from unauthorized access. This \nincludes PLCs, when using the feature to back up project source files on target.\nDo not run B&R Automation Studio in elevated mode.\nVerify integrity of B&R Automation Studio project files, which are exchanged via potentially insecure \nchannels.\nMake sure, that Windows User Access Control (UAC) is enabled.\nIn general, B&R recommends implementing the Cyber Security guidelines.\n\n\n"}],"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.br-automation.com/fileadmin/2021-12_RCE_Vulnerability_in_BnR_Automation_Studio-1b993aeb.pdf","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T18:37:18.516Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2021-22282","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2024-03-14T21:13:25.788287Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-17T21:29:23.035Z"}}]}}}