1. EXECUTIVE SUMMARY

  • CVSS v3 9.8
  • ATTENTION: Exploitable remotely/low attack complexity
  • Vendor: Siemens
  • Equipment: SCALANCE W1750D
  • Vulnerabilities: Improper Authentication, Classic Buffer Overflow, Command Injection, Improper Input Validation, Race Condition, Cross-site Scripting

2. RISK EVALUATION

Successful exploitation of these vulnerabilities could allow an attacker to execute arbitrary code as a privileged user on the underlying operating system, fully compromise the underlying operating system, overwrite sensitive system files, create a denial-of-service condition, execute arbitrary script code in a victim’s browser, read arbitrary files off the underlying file system, create an attacker named directory, corrupt backup files, or obtain sensitive information.

3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

The following versions of SCALANCE W1750D, a software management platform, are affected:

  • SCALANCE W1750D: All versions prior to 8.7.0
  • SCALANCE W1750D: Version 8.7.0 (Only affected by CVE-2020-24635, CVE-2020-24636, CVE-2021-25145, CVE-2021-25146, CVE-2021-25155, CVE-2021-25156, CVE-2021-25157, CVE-2021-25158, CVE-2021-25159, CVE-2021-25160, CVE-2021-25161, and CVE-2021-25162)

3.2 VULNERABILITY OVERVIEW

3.2.1    IMPROPER AUTHENTICATION CWE-287

An attacker with physical access to the affected device can bypass authentication mechanisms, which may allow access to the Aruba Instant command line interface.

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

3.2.2    BUFFER COPY WITHOUT CHECKING SIZE OF INPUT (‘CLASSIC BUFFER OVERFLOW’) CWE-120

An attacker may send specially crafted packets that may allow the execution of arbitrary code as a privileged user on the underlying operating system.

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

3.2.3    IMPROPER NEUTRALIZATION OF SPECIAL ELEMENTS USED IN A COMMAND (‘COMMAND INJECTION’) CWE-77

A command injection vulnerability exists in the Aruba Instant command line interface, which may allow an attacker to fully compromise the underlying access point operating system.

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

3.2.4    IMPROPER NEUTRALIZATION OF SPECIAL ELEMENTS USED IN A COMMAND (‘COMMAND INJECTION’) CWE-77

A command injection vulnerability in affected Aruba Instant versions exists, which may allow the execution of arbitrary commands as a privileged user on the underlying operating system.

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

3.2.5    IMPROPER INPUT VALIDATION CWE-20

A vulnerability can be exploited through the PAPI protocol, resulting in a system reboot, which may allow an attacker to create a denial-of-service condition.

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

3.2.6    BUFFER COPY WITHOUT CHECKING SIZE OF INPUT (‘CLASSIC BUFFER OVERFLOW’) CWE-120

An attacker may send specially crafted packets that may allow the execution of arbitrary code as a privileged user on the underlying operating system.

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

3.2.7    IMPROPER INPUT VALIDATION CWE-20

An information disclosure vulnerability exists in affected Aruba Instant access points, which may allow an unauthenticated attacker in the same wired network to access sensitive information.

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

3.2.8    IMPROPER NEUTRALIZATION OF SPECIAL ELEMENTS USED IN A COMMAND (‘COMMAND INJECTION’) CWE-77

A command injection vulnerability exists in the Aruba Instant command line interface, which may allow an attacker to fully compromise the underlying access point operating system.

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

3.2.9    IMPROPER INPUT VALIDATION CWE-20

An attacker may overwrite an arbitrary file with attacker-controlled content via the command line interface, which may allow overwriting of sensitive system files.

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

3.2.10    BUFFER COPY WITHOUT CHECKING SIZE OF INPUT (‘CLASSIC BUFFER OVERFLOW’) CWE-120

An attacker may send specially crafted packets that may allow the execution of arbitrary code as a privileged user on the underlying operating system.

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

3.2.11    IMPROPER NEUTRALIZATION OF SPECIAL ELEMENTS USED IN A COMMAND (‘COMMAND INJECTION’) CWE-77

A command injection vulnerability exists in the Aruba Instant command line interface, which may allow an attacker to fully compromise the underlying host operating system.

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

3.2.12    IMPROPER INPUT VALIDATION CWE-20

An attacker can overwrite an arbitrary file with attacker-controlled content via the web UI that may allow overwriting of sensitive system files.

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

3.2.13    IMPROPER INPUT VALIDATION CWE-20

An arbitrary directory creation vulnerability exists in affected Aruba Instant hosts, which may allow a directory to be created with the directory name controlled by the attacker.

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

3.2.14    IMPROPER INPUT VALIDATION CWE-20

An arbitrary file read vulnerability exists in affected Aruba Instant hosts, which may allow an attacker to read any file off the underlying file system, including sensitive system files.

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

3.2.15    CONCURRENT EXECUTION USING SHARED RESOURCE WITH IMPROPER SYNCRONIZATION (‘RACE CONDITION’) CWE-362

A race condition in the web UI may allow an attacker to read arbitrary files off the underlying file system, including sensitive system files.

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

3.2.16    IMPROPER INPUT VALIDATION CWE-20

An arbitrary file write vulnerability exists in the affected Aruba Instant using the web interface, which may allow an attacker to overwrite sensitive system files.

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

3.2.17   IMPROPER INPUT VALIDATION CWE-20

An arbitrary file write vulnerability exists in the Aruba Instant web UI, which may allow an attacker to write arbitrary contents to a single specific backup file and result in the corruption of the backup file.

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

3.2.18    IMPROPER NEUTRALIZATION OF INPUT DURING WEB PAGE GENERATION (‘CROSS-SITE SCRIPTING’) CWE-79

An attacker may execute a reflected cross-site scripting attack against a user of the web-based management interface, which may allow an attacker to execute arbitrary script code in a victim’s browser in the context of the affected interface.

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

3.2.19    IMPROPER NEUTRALIZATION OF SPECIAL ELEMENTS USED IN A COMMAND (‘COMMAND INJECTION’) CWE-77

An unauthenticated command injection vulnerability exists within the Aruba Instant Web UI, which may allow execution of arbitrary commands on the underlying operating system.

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

3.3 BACKGROUND

  • CRITICAL INFRASTRUCTURE SECTORS: Chemical, Energy, Food and Agriculture, Healthcare and Public Health, Transportation Systems, and Water and Wastewater Systems
  • COUNTRIES/AREAS DEPLOYED: Worldwide
  • COMPANY HEADQUARTERS LOCATION: Germany

3.4 RESEARCHER

Siemens reported these vulnerabilities to CISA.

4. MITIGATIONS

Siemens recommends upgrading SCALANCE W1759D versions prior to 8.7.0 to v8.7.0 or later

Siemens has identified the following specific workarounds and mitigations for users to apply to reduce the risk:

  • Block access to the Aruba Instant device IP address on Port 8211/UDP from all untrusted users.
  • Block access to the Aruba Instant Command Line Interface from all untrusted users.
  • Block access to the Aruba Instant Web Management Interface from all untrusted users.

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 configuring the environment according to Siemens’ operational guidelines for industrial security and following the recommendations in the product manuals.

For additional information see Siemens Security Advisory SSA-723417

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

  • Minimize network exposure for all control system devices and/or systems, and ensure that they are not accessible from the Internet.
  • Locate control system networks and remote devices behind firewalls, and isolate them from the business network.
  • 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 on us-cert.cisa.gov. 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 us-cert.cisa.gov 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.

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

No known public exploits specifically target these vulnerabilities.

Source:

https://us-cert.cisa.gov/ics/advisories/icsa-21-131-14