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

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

                               ESB-2022.4032
                Advisory (icsa-22-223-07) Siemens SCALANCE
                              12 August 2022

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

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

Product:           Siemens SCALANCE
Publisher:         ICS-CERT
Operating System:  Network Appliance
Resolution:        Patch/Upgrade
CVE Names:         CVE-2022-36325 CVE-2022-36324 CVE-2022-36323

Original Bulletin: 
   https://us-cert.cisa.gov/ics/advisories/icsa-22-223-07

Comment: CVSS (Max):  9.1 CVE-2022-36323 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H)
         CVSS Source: ICS-CERT
         Calculator:  https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

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

ICS Advisory (ICSA-22-223-07)

Siemens SCALANCE

Original release date: August 11, 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 9.1
  o ATTENTION: Exploitable remotely/low attack complexity
  o Vendor: Siemens
  o Equipment: SCALANCE
  o Vulnerabilities: Improper Neutralization of Special Elements in Output Used
    by a Downstream Component ('Injection'), Allocation of Resources Without
    Limits or Throttling, Basic Cross Site Scripting

2. RISK EVALUATION

Successful exploitation of these vulnerabilities could allow attackers to
execute custom code through a cross site scripting attack or allow the
unauthenticated attackers to create a denial-of-service situation.

3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

Siemens reports these vulnerabilities affects the following SCALANCE products:

  o M-800 / S615: All versions
  o SC-600 Family: All versions prior to V2.3.1
  o W-700 IEEE 802.11ax Family: All versions
  o W-700 IEEE 802.11n Family: All versions
  o W-1700 IEEE 802.11ac Family: All versions
  o XB-200 Switch Family: All versions
  o XC-200 Switch Family: All versions
  o XF-200BA Switch Family: All versions
  o XM-400 Family: All versions
  o XP-200 Switch Family: All versions
  o XR-300WG Switch Family: All versions
  o XR-500 Family: All versions

3.2 VULNERABILITY OVERVIEW

3.2.1 IMPROPER NEUTRALIZATION OF SPECIAL ELEMENTS IN OUTPUT USED BY A
DOWNSTREAM COMPONENT ('INJECTION') CWE-74

Affected devices do not properly sanitize an input field. This could allow an
authenticated remote attacker with administrative privileges to inject code or
spawn a system root shell.

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

3.2.2 ALLOCATION OF RESOURCES WITHOUT LIMITS OR THROTTLING CWE-770

Affected devices do not properly handle the renegotiation of SSL/TLS
parameters. This could allow an unauthenticated remote attacker to bypass the
TCP brute force prevention and lead to a denial-of-service condition for the
duration of the attack.

CVE-2022-36324 has been assigned to this vulnerability. A CVSS v3 base score of
7.5 has been assigned; the CVSS vector string is ( AV:N/AC:L/PR:N/UI:N/S:U/C:N/
I:N/A:H ).

3.2.3 IMPROPER NEUTRALIZATION OF SCRIPT-RELATED HTML TAGS IN A WEB PAGE (BASIC
XXS) CWE-80

Affected devices do not properly sanitize data introduced by a user when
rendering the web interface. This could allow an authenticated remote attacker
with administrative privileges to inject code and lead to a DOM-based XSS.

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

3.3 BACKGROUND

  o CRITICAL INFRASTRUCTURE SECTORS: Multiple Sectors
  o COUNTRIES/AREAS DEPLOYED: Worldwide
  o COMPANY HEADQUARTERS LOCATION: Germany

3.4 RESEARCHER

Siemens has reported these vulnerabilities to CISA.

4. MITIGATIONS

Siemens has provided a software patch for the following vulnerable product:

  o SC-600 Family: Update to v2.3.2 or later.
  o Siemens has identified the following specific workarounds and mitigations
    to reduce the risk:
  o Apply the principle of least privileges for accounts configured on the
    affected devices
  o Restrict network access in affected systems to ports 80/TCP and 443/TCP to
    trusted IP addresses and personal only.

As a general security measure, Siemens strongly recommends protecting network
access to devices with appropriate mechanisms. In order to operate the devices
in a protected IT environment, Siemens recommends users configure the
environment according to the Siemens operational guidelines for industrial
security and follow the recommendations in the product manuals.

For additional information, please refer to Siemens Security Advisory
SSA-710008 .

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

CISA also recommends users take the following measures to protect themselves
from social engineering attacks:

  o Do not click web links or open attachments in unsolicited email messages.
  o Refer to Recognizing and Avoiding Email Scams for more information on
    avoiding email scams.
  o Refer to Avoiding Social Engineering and Phishing Attacks for more
    information on social engineering attacks.

CISA also provides a section for control systems security recommended practices
on the ICS webpage on cisa.gov/ics Several recommended 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 on cisa.gov/ics in the Technical Information Paper,
ICS-TIP-12-146-01B--Targeted Cyber Intrusion Detection and Mitigation
Strategies .

Organizations observing any suspected malicious activity should follow their
established internal procedures and report their findings to CISA for tracking
and correlation against other incidents.

No known public exploits specifically target these vulnerabilities.

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/

iQIVAwUBYvW2ickNZI30y1K9AQi89g/+Ja3T35g5dwLGlSFk5keaqqPYHZQp7fW9
U9Omg5jdiRRRfbfpPpmuHYI1hXHkmlMsnYndRm66N81nYxmxpi7nnJ3CGAT+oHGk
bJtgfTSnMnU2aoKNVnpd4nPzuuBuEgh6JnJy9zq28f0NtyITFjPpuV3A7AinqAAN
6ehwz1B59RByzHa87FtkLehjHyOUgsvWjeApZti/h1CKyrqDkfYLxA/Nz39hX+tR
qay9uQ/2d6BYeEWSbFo25RWl5lYqz2RsSrsZPeVMhDwBa+/FEJSnWzrxKGvAsvUO
+up740+ZAK9yJZtC5L6PQe5JKbq6HBugCL2cmOP9kXJF/ta0wNcw6+khyYZkGcpw
83eT2PuQks8RMcEK3NgsUnqer7l2MANJwy5NBFtTY8m/x1B0k5MIx9KREm8L74vP
PIMvOf3Zv/TVkQO4fCNnEYIUpqU26Eqgiz7ufWgTyxTeqxfi/r5kFWaLYvjrTpXF
K+hxvcoZfoNl9vLpmGhdJ18rItB7X9nkBEuFpZzJvOLN4ReOctaFB8lpwPxaTUd0
PHxLHVCN051E3Wychm/pzJlGmxkNxE2FHMOO7XpbkNeWF+BYUnzu2Fj3FfJkynxh
+oqLmTuBdbJPviN914iwSQ4wuV5JAF42AI7ROq8KyKQS73726CPEzVhRLucrx+NG
xhlNXP6dh7s=
=EWUY
-----END PGP SIGNATURE-----