-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2022.4081
  Advisory (icsa-22-228-05) B&R Industrial Automation Automation Studio 4
                              17 August 2022

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

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Automation Studio 4
Publisher:         ICS-CERT
Operating System:  Windows
Resolution:        Mitigation
CVE Names:         CVE-2021-22289  

Original Bulletin: 
   https://us-cert.cisa.gov/ics/advisories/icsa-22-228-05

Comment: CVSS (Max):  8.3 CVE-2021-22289 (CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H)
         CVSS Source: ICS-CERT
         Calculator:  https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

- --------------------------BEGIN INCLUDED TEXT--------------------

ICS Advisory (ICSA-22-228-05)

B&R Industrial Automation Automation Studio 4

Original release date: August 16, 2022

Legal Notice

All information products included in https://us-cert.cisa.gov/ics are provided
"as is" for informational purposes only. The Department of Homeland Security
(DHS) does not provide any warranties of any kind regarding any information
contained within. DHS does not endorse any commercial product or service,
referenced in this product or otherwise. Further dissemination of this product
is governed by the Traffic Light Protocol (TLP) marking in the header. For more
information about TLP, see https://us-cert.cisa.gov/tlp/ .



1. EXECUTIVE SUMMARY

  o CVSS v3 8.3
  o ATTENTION: Exploitable remotely
  o Vendor: B&R Industrial Automation
  o Equipment: Automation Studio 4
  o Vulnerability: Unrestricted Upload of File with Dangerous Type

2. RISK EVALUATION

An attacker could leverage this vulnerability to execute code within the
context of the affected system, which may threaten the integrity and
confidentiality of data or cause a denial-of-service condition.

3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

B&R Automation reports the vulnerabilities affect the following versions of
Automation Studio, a programmable logic controller (PLC) automation programming
software:

  o Automation Studio 4: All versions

3.2 VULNERABILITY OVERVIEW

3.2.1 IMPROPER INPUT VALIDATION CWE-20

If the PLC has not been sufficiently secured, an attacker could manipulate
stored project information. Alternatively, a remote attacker may use spoofing
techniques to connect B&R Automation Studio to an attacker-controlled device
with manipulated project files. When using project upload in B&R Automation
Studio, such crafted projects will be loaded and opened in the security context
of Automation Studio. This may result in remote code execution, information
disclosure, and denial-of-service of the system running B&R Automation Studio.

CVE-2021-22289 has been assigned to this vulnerability. A CVSS v3 base score of
8.3 has been assigned; the CVSS vector string is ( AV:N/AC:H/PR:N/UI:R/S:C/C:H/
I:H/A:H ).

3.3 BACKGROUND

  o CRITICAL INFRASTRUCTURE SECTORS: Chemical, Critical Manufacturing, Energy
  o COUNTRIES/AREAS DEPLOYED: Worldwide
  o COMPANY HEADQUARTERS LOCATION: Austria

3.4 RESEARCHER

Mr. Mashav Sapir of Claroty reported this vulnerability to CISA.

4. MITIGATIONS

Note: This feature is not activated by default. Do not use or enable the
feature if it is not necessary for projects.

B&R recommends users using this vulnerable project upload feature employ the
following mitigations to minimize the risk of vulnerability exploitation:

  o Use only Automation Network Service Link (ANSL) over SSL and enable
    authentication on the PLC.
  o Configure password protection when using the "Backing up project source
    files on the target system" feature. Use strong passwords.
  o Protect networks with PLCs from unauthorized access by using firewalls.
  o Do not run B&R Automation Studio with elevated user privileges.
  o Verify the integrity of B&R Automation Studio project files, which are
    exchanged via potentially insecure channels (e. g., using hashes or digital
    signatures).
  o Ensure Windows User Access Control (UAC) is enabled

In general, B&R recommends implementing B&R Cyber Security guidelines . For
additional information and support, users should contact B&R directly.

CISA recommends users take defensive measures to minimize the risk of
exploitation of this vulnerability these vulnerabilities. Specifically, users
should:

  o Minimize network exposure for all control system devices and/or systems,
    and ensure they are not accessible from the Internet .
  o Locate control system networks and remote devices behind firewalls and
    isolate them from business networks.
  o When remote access is required, use secure methods, such as Virtual Private
    Networks (VPNs), recognizing VPNs may have vulnerabilities and should be
    updated to the most current version available. Also recognize VPN is only
    as secure as its connected devices.

CISA reminds organizations to perform proper impact analysis and risk
assessment prior to deploying defensive measures.

CISA also provides a section for control systems security recommended practices
on the ICS webpage at cisa.gov/ics . Several CISA products detailing cyber
defense best practices are available for reading and download, including
Improving Industrial Control Systems Cybersecurity with Defense-in-Depth
Strategies .

Additional mitigation guidance and recommended practices are publicly available
on the ICS webpage at cisa.gov/ics in the technical information paper,
ICS-TIP-12-146-01B--Targeted Cyber Intrusion Detection and Mitigation
Strategies .

No known public exploits specifically target this vulnerability. This
vulnerability has a high attack complexity.

For any questions related to this report, please contact the CISA at:

Email: CISAservicedesk@cisa.dhs.gov
Toll Free: 1-888-282-0870

CISA continuously strives to improve its products and services. You can help by
choosing one of the links below to provide feedback about this product.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: https://auscert.org.au/gpg-key/

iQIVAwUBYvx2DckNZI30y1K9AQjPIg/8Cnv0vO5bAJ1SnW16cD/h0X5Yt2t+AuhA
xURz3e0NnqhMGXsbuFU6ds9rz8i9xGY9TEbUjHoLcA9/tN4HOlaLbOLgTex5D3Z5
8L6yKOtKlnN7/kuaC4yEQJCXLIbOsRci6EoYcb+gndkAzcu1/8NbHJHkOUJY9z4t
aGFFpgxDTW7Qw5ZNLdAWnRm8OlYhGCHRbVtG0hZ4Mfrh9IUISsO4z9YlLFapW9H3
fLhwTrCUarXHRlwi2eSFbXq+9gS+AbMt2a3tV/4gMphAz1etEMWOm0KWWJK4EW/Z
5v8UFMy1YCkNugdUzmHGobTPx2x/JcH0KKSN1o/N2oaBk+JO23mU0TUZEfz7SPsl
wSsoVLHSP9NqZYKojs/fNqjq8UK+3V4NCAdXoNclVTxkogH1gexunMvdT7Nw5z17
ygron7MMwPgZqM/gnBY2sufCUjR4aMwyJcBzlmIut9uuADUftMQNDai5aYgHRZwt
bwWZWR4zdBU9Ag7z6o+kvvcZaE03j9/5AO5gA9OJfsdnETPWabnMGJ/bcplM09Pe
PVIf60HJtgtcFIJCWTMx7/49DKOCFY6qcjdlICVcCAyQVOdhxxJqf3noxqHo37L9
j2Y5HtG2H5am6i8tUI8O8TpBgCdJ3VfKZwIkUzFV5I6JiS7aOWZt18pW8uRzvVzs
1Q6efA1toAc=
=ismD
-----END PGP SIGNATURE-----