Sploit.io - Search

Product: B&R Automation Runtime, version: >= >=3.00, <= C4.93

CVE-2022-4286

Severity: MEDIUM

Description: A reflected cross-site scripting (XSS) vulnerability exists in System Diagnostics Manager of B&R Automation Runtime versions >=3.00 and <=C4.93 that enables a remote attacker to execute arbitrary JavaScript in the context of the users browser session.

CVSS Score: 6.1

Priority

B

CISA Data

EPSS Data

  • EPSS: 0.002560000
  • Percentile: 0.492740000
  • Date: 2026-06-06

ExploitDB

No data available.

HackerOne Data

  • Rank: 9663
  • Reports submitted count: 0
  • Unknown: 0
  • None: 0
  • Low: 0
  • Medium: 0
  • High: 0
  • Critical: 0

GitHub PoCs

    Nuclei Templates

    No data available.

    VulnCheck Data

    Affected Products:

    • B&R Industrial Automation B&R Automation Runtime - Versions: >=3.00

    References:

    Risk Assessment

    1. Risk Assessment
    The vulnerability CVE-2022-4286 is a reflected cross-site scripting (XSS) flaw within the System Diagnostics Manager component of B&R Automation Runtime versions 3.00 through C4.93. The nature of the vulnerability allows a remote attacker to inject and execute arbitrary JavaScript code within the browser session of a user interacting with the System Diagnostics Manager. The base score of 6.1 (Medium) indicates a moderate level of risk. Exploitation requires user interaction, making it somewhat less severe than a fully remote, no-interaction vulnerability. The impact is primarily on confidentiality and integrity, as the attacker can potentially steal cookies, session tokens, or modify displayed data. Availability is less impacted as the XSS itself doesn’t necessarily cause a denial of service. Given the widespread use of B&R Automation Runtime in industrial control systems, a successful attack could lead to data breaches, system compromise, or disruption of automation processes. The likelihood of exploitation is moderate, as it requires a user to click a malicious link or visit a compromised webpage. The ease of exploitation is relatively low, requiring a well-crafted malicious payload. The EPSS score of 0.002560000 suggests a relatively low probability of exploitation in real-world scenarios, however the potential impact within an industrial context elevates the overall risk.

    2. Potential Attack Scenarios
    A potential attack scenario involves an attacker crafting a malicious URL containing the XSS payload. The attacker could then send this URL to a user who has access to the B&R Automation Runtime's System Diagnostics Manager, perhaps via email, a social engineering tactic, or by embedding it in a compromised webpage frequently visited by operators. When the user clicks the link, the malicious JavaScript executes within their browser session while using the System Diagnostics Manager. This JavaScript could steal the user's session cookie, allowing the attacker to impersonate the user and gain access to the System Diagnostics Manager with the user’s privileges. Alternatively, the JavaScript could modify the display of diagnostic data, leading to incorrect readings and potentially impacting operational decisions. The attacker could also redirect the user to a phishing page designed to harvest credentials. The attack vector is network-based, requiring only that the user clicks the malicious link. The attack process is relatively straightforward, requiring the attacker to craft a suitable XSS payload. The potential outcomes range from minor data breaches to significant disruption of automated processes.

    3. Mitigation Recommendations
    The primary mitigation is to upgrade the B&R Automation Runtime to a version newer than C4.93, if available. B&R released a patch to address this vulnerability, details of which can be found in their security advisory: https://www.br-automation.com/downloads_br_productcatalogue/assets/1675607299099-en-original-1.0.pdf. If an immediate upgrade isn’t possible, implement input validation and output encoding within the System Diagnostics Manager to sanitize user input and prevent malicious JavaScript from being executed. This can be achieved through context-aware encoding of all user-supplied data before rendering it in the web page. Consider implementing a Content Security Policy (CSP) to restrict the sources from which JavaScript can be loaded, reducing the impact of a successful XSS attack. Educate users about the risks of clicking on suspicious links, especially those received via email or from untrusted sources. Regularly monitor network traffic for unusual activity that could indicate an XSS attack in progress.

    4. Executive Summary
    CVE-2022-4286 is a medium-severity cross-site scripting vulnerability affecting B&R Automation Runtime, a widely used component in industrial automation systems. This vulnerability allows attackers to inject malicious JavaScript code into the browser sessions of users accessing the System Diagnostics Manager, potentially leading to data theft, system compromise, or disruption of automated processes. While exploitation requires user interaction, the impact within an industrial setting can be significant. We recommend upgrading to the latest version of B&R Automation Runtime as the primary mitigation. If an upgrade is not immediately feasible, implementing robust input validation and output encoding, along with user awareness training, will help reduce the risk. Addressing this vulnerability is important to ensure the confidentiality, integrity, and availability of your automation systems and prevent potential disruptions to operations. Prompt action is recommended to minimize the risk posed by this vulnerability.