Vendor description
"Our slogan is our mission. The pursuit of Perfection in Automation has inspired and guided B&R for over 40 years. To us, perfection means more than developing the best solutions in industrial automation. It also means developing the best relationships – with our customers and partners as well as our employees and suppliers.
Keen foresight and entrepreneurial courage helped us rise quickly into the ranks of top global players in industrial automation. An intuitive sense of market dynamics and emerging trends has established us as a pioneer, leading the way with the most innovative technology on the market.
Our role as the ABB Group's global center for machine and factory automation strengthens our position of leadership and adds new momentum to our impressive record of sustained growth."
Source: https://www.br-automation.com/en/about-us/
Business recommendation
The vendor provides a software update which should be installed immediately.
SEC Consult highly recommends to perform a thorough security review of the product conducted by security professionals to identify and resolve potential further security issues.
Vulnerability overview/description
1) Multiple Reflected Cross-Site-Scripting Vulnerabilities (CVE-2022-4286)
An attacker can execute arbitrary JavaScript code in the context of the victim's session, thus perform all actions, exfiltrate information, etc. In order to exploit this vulnerability the attacker will have to trick the user into visiting a manipulated URL.
Proof of concept
1) Multiple Reflected Cross-Site-Scripting Vulnerabilities (CVE-2022-4286)
The following URL has to be visited by the victim in order to execute arbitrary JavaScript code.
http:// <PLC-IP>/sdm/cgiFileLoop.cgi?service=javascript:alert(document.domain);%2f%2f&type=512&scope=%3Cfile:///etc/passwd%3E&module=Snapshot&option=3
A very similar vulnerability can be found at another endpoint of the System Diagnostic Manager (SDM).
http:// <PLC-IP>/sdm/svg.cgi?type=cpuusage&index=1%3Cscript%3Ealert(document.domain)%3C/script%3E
Vulnerable / tested versions
The following device and firmware version has been tested:
- B&R X20CP3687X SwModuleVersion 186
According to the vendor, all B&R Automation Runtime (AR) versions >=3.00 and <=C4.93 are affected.