1. EXECUTIVE SUMMARY
- CVSS v3 9.8
- ATTENTION: Exploitable remotely/low attack complexity
- Vendor: Siemens
- Equipment: Web Server of SCALANCE X200
- Vulnerabilities: Heap-based Buffer Overflow, Stack-based Buffer Overflow
2. RISK EVALUATION
Successful exploitation of these vulnerabilities could cause a buffer overflow condition resulting in remote code execution.
3. TECHNICAL DETAILS
3.1 AFFECTED PRODUCTS
The following Siemens products are affected:
- 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
3.2 VULNERABILITY OVERVIEW
3.2.1 HEAP-BASED BUFFER OVERFLOW CWE-122
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.
CVE-2021-25668 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.2 STACK-BASED BUFFER OVERFLOW CWE-121
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 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.3 BACKGROUND
- CRITICAL INFRASTRUCTURE SECTORS: Critical Manufacturing
- COUNTRIES/AREAS DEPLOYED: Worldwide
- COMPANY HEADQUARTERS LOCATION: Germany
3.4 RESEARCHER
Siemens reported these vulnerabilities to CISA.
4. MITIGATIONS
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 has 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 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, please refer to Siemens Security Advisory SSA-187092
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.
No known public exploits specifically target these vulnerabilities.
Source:
Stay connected