Operating System:

[Appliance]

Published:

11 November 2022

Protect yourself against future threats.

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

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

                               ESB-2022.5801
             Advisory (icsa-22-314-10) Siemens SCALANCE W1750D
                             11 November 2022

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

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

Product:           Siemens SCALANCE W1750D
Publisher:         ICS-CERT
Operating System:  Network Appliance
Resolution:        Mitigation
CVE Names:         CVE-2022-37896 CVE-2022-37895 CVE-2022-37894
                   CVE-2022-37893 CVE-2022-37892 CVE-2022-37891
                   CVE-2022-37890 CVE-2022-37889 CVE-2022-37888
                   CVE-2022-37887 CVE-2022-37886 CVE-2022-37885
                   CVE-2002-20001  

Original Bulletin: 
   https://us-cert.cisa.gov/ics/advisories/icsa-22-314-10

Comment: CVSS (Max):  7.8 CVE-2022-37885 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/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:N/UI:N/S:U/C:H/I:H/A:H

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

ICS Advisory (ICSA-22-314-10)

Siemens SCALANCE W1750D

Original release date: November 10, 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.8
  o ATTENTION: Exploitable remotely/low attack complexity
  o Vendor: Siemens
  o Equipment: SCALANCE W1750D
  o Vulnerabilities: Uncontrolled Resource Consumption, Buffer Copy without
    Checking Size of Input, Improper Neutralization of Input During Web Page
    Generation, Improper Neutralization of Special Elements used in a Command,
    Improper Input Validation

2. RISK EVALUATION

Successful exploitation of these vulnerabilities could allow an attacker to
inject commands or exploit buffer overflow vulnerabilities, which could lead to
denial of service, unauthenticated remote code execution. or stored XSS.

3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

Siemens reports these vulnerabilities affect the following versions of SCALANCE
W1750D, which is a brand-labeled access point device from Aruba:

  o SCALANCE W1750D (JP) (6GK5750-2HX01-1AD0): All versions
  o SCALANCE W1750D (ROW) (6GK5750-2HX01-1AA0): All versions
  o SCALANCE W1750D (USA) (6GK5750-2HX01-1AB0): All versions

3.2 VULNERABILITY OVERVIEW

3.2.1 UNCONTROLLED RESOURCE CONSUMPTION CWE-400

The Diffie-Hellman Key Agreement Protocol allows remote attackers (from the
client side) to send arbitrary numbers (not actual public keys) and trigger
expensive server-side DHE modular-exponentiation calculations, aka a D(HE)ater
attack. The client requires few CPU resources and network bandwidth. The attack
may be more disruptive in cases where a client can require a server to select
its largest supported key size. The basic attack scenario is that the client
must claim that it can only communicate with DHE, and the server must be
configured to allow DHE.

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

3.2.2 CLASSIC BUFFER OVERFLOW CWE-120

A buffer overflow vulnerability in an underlying service could lead to
unauthenticated remote code execution by sending specially crafted packets
destined to the PAPI UDP port (8211).

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

3.2.3 CLASSIC BUFFER OVERFLOW CWE-120

A buffer overflow vulnerability in an underlying service could lead to
unauthenticated remote code execution by sending specially crafted packets
destined to the PAPI UDP port (8211).

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

3.2.4 CLASSIC BUFFER OVERFLOW CWE-120

A buffer overflow vulnerability in an underlying service could lead to
unauthenticated remote code execution by sending specially crafted packets
destined to the PAPI UDP port (8211).

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

3.2.5 CLASSIC BUFFER OVERFLOW CWE-120

A buffer overflow vulnerability in an underlying service could lead to
unauthenticated remote code execution by sending specially crafted packets
destined to the PAPI UDP port (8211).

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

3.2.6 CLASSIC BUFFER OVERFLOW CWE-120

A buffer overflow vulnerability in an underlying service could lead to
unauthenticated remote code execution by sending specially crafted packets
destined to the PAPI UDP port (8211).

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

3.2.7 CLASSIC BUFFER OVERFLOW CWE-120

An unauthenticated buffer overflow vulnerability exists within the web
management interface. Successful exploitation could result in the execution of
arbitrary commands on the underlying operating system.

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

3.2.8 CLASSIC BUFFER OVERFLOW CWE-120

An unauthenticated buffer overflow vulnerability exists within the web
management interface. Successful exploitation could result in the execution of
arbitrary commands on the underlying operating system.

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

3.2.9 CROSS-SITE SCRIPTING CWE-79

A vulnerability in the web management interface could allow an unauthenticated
remote attacker to conduct a stored cross-site scripting (XSS) attack against a
user of the interface. A successful exploit could allow an attacker to execute
arbitrary script code in a victim's browser in the context of the affected
interface.

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

3.2.10 CROSS-SITE SCRIPTING CWE-79

A vulnerability in the web management interface could allow a remote attacker
to conduct a reflected cross-site scripting (XSS) attack against a user of the
interface. A successful exploit could allow an attacker to execute arbitrary
script code in a victim's browser in the context of the affected interface.

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

3.2.11 COMMAND INJECTION CWE-77

An authenticated command injection vulnerability exists in the command line
interface. Successful exploitation of this vulnerability could result in the
ability to execute arbitrary commands as a privileged user on the underlying
operating system.

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

3.2.12 IMPROPER INPUT VALIDATION CWE-20

An unauthenticated denial of service (DoS) vulnerability exists in the handling
of certain SSID strings. Successful exploitation of this vulnerability could
result in the ability to interrupt the normal operation of the affected Access
Point.

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

3.2.13 IMPROPER INPUT VALIDATION CWE-20

An authenticated denial of service (DoS) vulnerability exists in the web
management interface. Successful exploitation of this vulnerability could
result in the ability to interrupt the normal operation of the affected Access
Point.

CVE-2022-37895 has been assigned to this vulnerability. A CVSS v3 base score of
4.9 has been calculated; the CVSS vector string is ( CVSS:3.1/AV:N/AC:L/PR:H/
UI:N/S:U/C:N/I:N/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 reported these vulnerabilities to CISA.

4. MITIGATIONS

Siemens identified the following specific workarounds and mitigations to reduce
risk:

  o CVE-2022-37885, CVE-2022-37886, CVE-2022-37887, CVE-2022-37888, and
    CVE-2022-37889: Enable CPSec via the cluster-security command.
  o CVE-2022-37890, CVE-2022-37891, CVE-2022-37892, CVE-2022-37895, and
    CVE-2022-37896: Restrict the web-based management interface to a dedicated
    layer 2 segment/VLAN and/or control the interface by firewall policies at
    layer 3 and above.
  o CVE-2022-37893: Restrict the command line interface to a dedicated layer 2
    segment/VLAN and/or control the interface by firewall policies at layer 3
    and above.

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

Additional information on Industrial Security by Siemens can be found at the
Siemens website .

For more information, see the associated Siemens security advisory SSA-506569
in HTML and CSAF .

Siemens SCALANCE W1750D is a brand-labeled device from Aruba. For more
information regarding these vulnerabilities, see the Aruba security advisory
ARUBA-PSA-2022-014 .

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 .

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

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

Do not click web links or open attachments in unsolicited email messages.

Refer to Recognizing and Avoiding Email Scams for more information on avoiding
email scams.

Refer to Avoiding Social Engineering and Phishing Attacks for more information
on social engineering attacks.

No known public exploits specifically target these vulnerabilities. These
vulnerabilities are exploitable remotely. These vulnerabilities have a low
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

- --------------------------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/

iQIVAwUBY23DLckNZI30y1K9AQg5dw/9FaPKY/zQ0bAErTwzyrTj21hQsZMyYVLd
BB9AdRtfn0dT1aFYNAxAy/6yHE1+HPyqCGtuNANZmUekCR6hmqV+xl/ZhUX3zmMG
gkWfCEP5VhSVGAqhMZ3ctts8PfGfbtSRSwrR4f3obL24yiN07sk1K2NTSfEd/7Sc
J3NNbz4yLbE+ixXNiv9lKBLcZ/QN+tweI3IncbYLeJUhxlh7YZVQlyaQINg0moH8
GX7GwnKAxSkfpsqes4Rs9Roz9c+6HyBTVYG3jPNV/8ZRsWvkPZD+C5ih6daRn/4I
+qN7MXXL/MBJ0CnBcOxStqQOA0ZRe5AJTJYHrb6RqOYlcseJl0lBdiQzCanaNM37
5d7/wgXd3p1GO54uVFjPK47lpLZmJB3WkXAH+La98PvPTx3iMwRUfvPIadbU1DEf
aTw3QWP9oxKJS7k5W47ochGpEimw5pAS0d0PKz03DZD6vIpMx1Twb4YjWHZvwhDw
CoOD+b+wLYReMgNQkspWHG56Ll/TYI7+crAevLN++bnrQslZkXC4ZkpSe6BYcFHj
eJ0ZLxn/McArhQ2sY1A+N6qrVfxEVrV0HbkCfvgc/6yL46JZxmKYHXY1rEYMDp7s
rcEbsasKUOXz+LG5KT2eFcQvxqywGs4kx+lzKVb3HpQNlRQW55Sq9ilOFsCviRAs
EfhnvUfQE0A=
=vUad
-----END PGP SIGNATURE-----