-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 # SSA-887249: Multiple Vulnerabilities in the Web Interface of SICAM Q200 Devices Publication Date: 2023-06-13 Last Update: 2023-06-13 Current Version: 1.0 CVSS v3.1 Base Score: 9.9 SUMMARY ======= Multiple vulnerabilities were identified in the webserver of Q200 devices. These include Cross Site Request Forgery (CSRF), session fixation, missing secure flags in HTTP cookies and memory corruption issues due to missing input validation that could lead to remote code execution. Siemens has released an update for POWER METER SICAM Q200 family and recommends to update to the latest version. AFFECTED PRODUCTS AND SOLUTION ============================== * POWER METER SICAM Q200 family - Affected versions: All versions < V2.70 - Remediation: Update to V2.70 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109743592/ WORKAROUNDS AND MITIGATIONS =========================== Siemens has identified the following specific workarounds and mitigations that customers can apply to reduce the risk: * Do not access links from untrusted sources while logged in at Q200 devices * Restrict access to port 443/tcp to trusted IP addresses only Product-specific remediations or mitigations can be found in the section "Affected Products and Solution". Please follow the "General Security Recommendations". GENERAL SECURITY RECOMMENDATIONS ================================ Operators of critical power systems (e.g. TSOs or DSOs) worldwide are usually required by regulations to build resilience into the power grids by applying multi-level redundant secondary protection schemes. It is therefore recommended that the operators check whether appropriate resilient protection measures are in place. The risk of cyber incidents impacting the grid's reliability can thus be minimized by virtue of the grid design. Siemens strongly recommends applying the provided security updates using the corresponding tooling and documented procedures made available with the product. If supported by the product, an automated means to apply the security updates across multiple product instances may be used. Siemens strongly recommends prior validation of any security update before being applied, and supervision by trained staff of the update process in the target environment. As a general security measure Siemens strongly recommends to protect network access with appropriate mechanisms (e.g. firewalls, segmentation, VPN). It is advised to configure the environment according to our operational guidelines in order to run the devices in a protected IT environment. Recommended security guidelines can be found at: https://www.siemens.com/gridsecurity PRODUCT DESCRIPTION =================== POWER METER SICAM Q200 is a multifunctional device for detecting, reporting, and analyzing measured values and events. VULNERABILITY CLASSIFICATION ============================ The vulnerability classification has been performed by using the CVSS scoring system in version 3.1 (CVSS v3.1) (https://www.first.org/cvss/). The CVSS environmental score is specific to the customer's environment and will impact the overall CVSS score. The environmental score should therefore be individually defined by the customer to accomplish final scoring. An additional classification has been performed using the CWE classification, a community-developed list of common software security weaknesses. This serves as a common language and as a baseline for weakness identification, mitigation, and prevention efforts. A detailed list of CWE classes can be found at: https://cwe.mitre.org/. * Vulnerability CVE-2022-43398 Affected devices do not renew the session cookie after login/logout and also accept user defined session cookies. An attacker could overwrite the stored session cookie of a user. After the victim logged in, the attacker is given access to the user's account through the activated session. CVSS v3.1 Base Score: 7.5 CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C CWE: CWE-384: Session Fixation * Vulnerability CVE-2022-43439 Affected devices do not properly validate the Language-parameter in requests to the web interface on port 443/tcp. This could allow an authenticated remote attacker to crash the device (followed by an automatic reboot) or to execute arbitrary code on the device. CVSS v3.1 Base Score: 9.9 CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:P/RL:O/RC:C CWE: CWE-20: Improper Input Validation * Vulnerability CVE-2022-43545 Affected devices do not properly validate the RecordType-parameter in requests to the web interface on port 443/tcp. This could allow an authenticated remote attacker to crash the device (followed by an automatic reboot) or to execute arbitrary code on the device. CVSS v3.1 Base Score: 9.9 CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:P/RL:O/RC:C CWE: CWE-20: Improper Input Validation * Vulnerability CVE-2022-43546 Affected devices do not properly validate the EndTime-parameter in requests to the web interface on port 443/tcp. This could allow an authenticated remote attacker to crash the device (followed by an automatic reboot) or to execute arbitrary code on the device. CVSS v3.1 Base Score: 9.9 CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:P/RL:O/RC:C CWE: CWE-20: Improper Input Validation * Vulnerability CVE-2023-30901 The web interface of the affected devices are vulnerable to Cross- Site Request Forgery attacks. By tricking an authenticated victim user to click a malicious link, an attacker could perform arbitrary actions on the device on behalf of the victim user. CVSS v3.1 Base Score: 4.3 CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C CWE: CWE-352: Cross-Site Request Forgery (CSRF) * Vulnerability CVE-2023-31238 Affected devices are missing cookie protection flags when using the default settings. An attacker who gains access to a session token can use it to impersonate a legitimate application user. CVSS v3.1 Base Score: 5.5 CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L/E:P/RL:O/RC:C CWE: CWE-732: Incorrect Permission Assignment for Critical Resource ACKNOWLEDGMENTS =============== Siemens thanks the following party for its efforts: * Michael Messner from Siemens Energy for reporting the vulnerabilities ADDITIONAL INFORMATION ====================== For further inquiries on security vulnerabilities in Siemens products and solutions, please contact the Siemens ProductCERT: https://www.siemens.com/cert/advisories HISTORY DATA ============ V1.0 (2023-06-13): Publication Date TERMS OF USE ============ Siemens Security Advisories are subject to the terms and conditions contained in Siemens' underlying license terms or other applicable agreements previously agreed to with Siemens (hereinafter "License Terms"). To the extent applicable to information, software or documentation made available in or through a Siemens Security Advisory, the Terms of Use of Siemens' Global Website (https://www.siemens.com/terms_of_use, hereinafter "Terms of Use"), in particular Sections 8-10 of the Terms of Use, shall apply additionally. In case of conflicts, the License Terms shall prevail over the Terms of Use. Copyright: Siemens 2023 -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEHyx/myPwjH9jB9tDlm7gTEmyujQFAmSHsYAACgkQlm7gTEmy ujTXfxAAx9asGaQTS2EfDgEx2enPOBiOu2wtYvWbuob8JcwvcWQBblwSufPqrhcC 4rxBILqhdu/BtZrZbvcU3iRrxAoz8SYGQQUEEhhT7aKJXQczsp5hZ0Tq+GMHhD+C f2E0Qs4gF80Wm6V282KbSgHu+tKfi37wYLwGpsP+onIWkuBQLaOPMmjs5+Nr4wMS Fg4vLqASy+4nSPVIrKz9QkjHPC9LpfveUkAX/7zCPXq5uim92YBgSKb7qIdGyuUG N2oompMRbgvPhl7C2ePgLKcdVaIwkOgP82TytowW3KPgUhsErZr1vzqzSvaSnHYE je8qZofnSZJQkzbrqUwX/rwSvhiCypeg64T/qOY/R0mF8gdHUWQ0uFe5cEX8mvQr 1AO63uxllGod4fkcj3+LCPQaNG9OAiIfYA1AARDErHgkQC3QMGE8PuHUCUgQ6eqp V29Zi+1zvQTRhyYTIofZJodnWt9otRbsIgXk8Fy7gcF1EE6bUbwQx5iBbfW3QqPE cpgnPQCh9+i71jKZVuYJRUpPGYbhahxACEKf51WebL9ZdoOThOOZtMuqwQPu4QbB 80FS81q4l5bp7MFU0/YMp3ft5TJboFPMBchzSjFT9ivecCQvSDRehVHBA93vXmPz 8AT6PVm+oMA7tIr2pWEDIHxtg8CRA7tJov2Gq8x9L3b+/UyBAos= =eaWs -----END PGP SIGNATURE-----