what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

B&R Systems Diagnostics Manager Cross Site Scripting

B&R Systems Diagnostics Manager Cross Site Scripting
Posted Feb 15, 2023
Authored by Gerhard Hechenberger, Steffen Robertz | Site sec-consult.com

B&R Systems Diagnostics Manager versions above or equal to 3.00 and below or equal to C4.93 suffer from a cross site scripting vulnerability.

tags | exploit, xss
advisories | CVE-2022-4286
SHA-256 | 73c092297c794cf9f02f7442ef627100dbeb5b3e8758091b6d6bf2c262200495

B&R Systems Diagnostics Manager Cross Site Scripting

Change Mirror Download
SEC Consult Vulnerability Lab Security Advisory < 20230214-0 >
=======================================================================
title: Multiple XSS Vulnerabilities
product: B&R Systems Diagnostics Manager
vulnerable version: >=3.00 and <=C4.93
fixed version: >=D4.93
CVE number: CVE-2022-4286
impact: medium
homepage: https://www.br-automation.com
found: 2022-10-28
by: S. Robertz (Office Vienna)
G. Hechenberger (Office Vienna)
SEC Consult Vulnerability Lab

An integrated part of SEC Consult, an Atos company
Europe | Asia | North America

https://www.sec-consult.com

=======================================================================

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.


Vendor contact timeline:
------------------------
2022-11-21: Contacting vendor through cybersecurity@br-automation.com.
Sent encrypted advisory.
2022-11-22: Vendor requests B&R Automation Runtime version.
2022-12-01: Vendor confirms vulnerability. Will be fixed with next release.
Asking for timeline.
2022-12-13: Advisory and patch will be published on 2023-02-10.
Vendor offers to share the advisory for review purposes.
2023-01-25: Reviewing vendor advisory, receiving CVE + affected/fixed version
numbers
2023-02-10: Vendor provides the patch.
2023-02-14: Coordinated release of security advisory.


Solution:
---------
The vendor supplies a patch, which should be installed immediately.
The following version mitigates the identified XSS issues:
* B&R Automation Runtime version >=D4.93

The vendor has published the following security advisory:
https://www.br-automation.com/downloads_br_productcatalogue/assets/1675607299099-en-original-1.0.pdf


Workaround:
-----------
Administrators can deactivate the System Diagnostics Manager in case it is not
needed.


Advisory URL:
-------------
https://sec-consult.com/vulnerability-lab/


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

SEC Consult Vulnerability Lab

SEC Consult, an Atos company
Europe | Asia | North America

About SEC Consult Vulnerability Lab
The SEC Consult Vulnerability Lab is an integrated part of SEC Consult, an
Atos company. It ensures the continued knowledge gain of SEC Consult in the
field of network and application security to stay ahead of the attacker. The
SEC Consult Vulnerability Lab supports high-quality penetration testing and
the evaluation of new offensive and defensive technologies for our customers.
Hence our customers obtain the most current information about vulnerabilities
and valid recommendation about the risk profile of new technologies.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Interested to work with the experts of SEC Consult?
Send us your application https://sec-consult.com/career/

Interested in improving your cyber security with the experts of SEC Consult?
Contact our local offices https://sec-consult.com/contact/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Mail: security-research at sec-consult dot com
Web: https://www.sec-consult.com
Blog: http://blog.sec-consult.com
Twitter: https://twitter.com/sec_consult
EOF S. Robertz, G. Hechenberger / @2023

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close