Siemens has upgrades available to handle heap-based buffer overflow and stack-based buffer overflow vulnerabilities in its Web Server of SCALANCE X200, according to a report with CISA.

Successful exploitation of these remotely exploitable vulnerabilities, which Siemens self-reported, could cause a buffer overflow condition resulting in remote code execution.

The following Siemens products suffer from the issue:

  • SCALANCE X200-4P IRT: All versions prior to 5.5.1
  • SCALANCE X201-3P IRT: All versions prior to 5.5.1
  • SCALANCE X201-3P IRT PRO: All versions prior to 5.5.1
  • SCALANCE X202-2 IRT: All versions prior to 5.5.1
  • SCALANCE X202-2P IRT (incl. SIPLUS NET variant): All versions prior to 5.5.1
  • SCALANCE X202-2P IRT PRO: All versions prior to 5.5.1
  • SCALANCE X204 IRT: All versions prior to 5.5.1
  • SCALANCE X204 IRT PRO: All versions prior to 5.5.1
  • SCALANCE X204-2 (incl. SIPLUS NET variant): All versions
  • SCALANCE X204-2FM: All versions
  • SCALANCE X204-2LD (incl. SIPLUS NET variant): All versions
  • SCALANCE X204-2LD TS: All versions
  • SCALANCE X204-2TS: All versions
  • SCALANCE X206-1: All versions
  • SCALANCE X206-1LD: All versions
  • SCALANCE X208 (incl. SIPLUS NET variant): All versions
  • SCALANCE X208PRO: All versions
  • SCALANCE X212-2 (incl. SIPLUS NET variant): All versions
  • SCALANCE X212-2LD: All versions
  • SCALANCE X216: All versions
  • SCALANCE X224: All versions
  • SCALANCE XF201-3P IRT: All versions prior to 5.5.1
  • SCALANCE XF202-2P IRT: All versions prior to 5.5.1
  • SCALANCE XF204: All versions
  • SCALANCE XF204 IRT: All versions prior to 5.5.1
  • SCALANCE XF204-2 (incl. SIPLUS NET variant): All versions
  • SCALANCE XF204-2BA IRT: All versions prior to 5.5.1
  • SCALANCE XF206-1: All versions
  • SCALANCE XF208: All versions

In one vulnerability, incorrect processing of POST requests in the web server may result in an out-of-bounds write in the heap. An attacker could leverage this to cause a denial-of-service condition and remotely execute code.

Schneider Bold

CVE-2021-25668 is the case number assigned to this vulnerability, which has a CVSS v3 base score of 9.8.

In addition, incorrect processing of POST requests in the web server may write out-of-bounds in the stack. An attacker could leverage this to cause a denial-of-service condition or remotely execute code.

CVE-2021-25669 is the case number assigned to this vulnerability, which has a CVSS v3 base score of 9.8.

The product sees use mainly in the critical manufacturing sector, and on a global basis.

No known public exploits specifically target these vulnerabilities. However, an attacker could leverage these low complexity vulnerabilities.

Siemens recommends upgrading the following products to v5.5.1:

  • SCALANCE X200-4P IRT
  • SCALANCE X201-3P IRT
  • SCALANCE X201-3P IRT PRO
  • SCALANCE X202-2 IRT
  • SCALANCE X202-2P IRT (incl. SIPLUS NET variant)
  • SCALANCE X202-2P IRT PRO
  • SCALANCE X204 IRT
  • SCALANCE X204 IRT PRO
  • SCALANCE XF201-3P IRT
  • SCALANCE XF202-2P IRT
  • SCALANCE XF204 IRT
  • SCALANCE XF204-2BA IRT

Siemens identified the following specific workarounds and mitigations users can apply to reduce the risk: Limit network traffic of web servers of Scalance X switches to trusted connections by firewall rules (Ports 443/TCP and 80/TCP).

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. 

For additional information, click on Siemens Security Advisory SSA-187092.

Pin It on Pinterest

Share This