Advisory Information
- Advisory ID: BOSCH-SA-662084
-
CVE Numbers and Scores:
-
CVE-2019-11891
- Base Score: 8.0 (High)
- Environmental Score: 7.6 (High)
-
CVE-2019-11896
- Base Score: 5.5 (Medium)
- Environmental Score: 5.3 (Medium)
-
CVE-2019-11893
- Base Score: 5.5 (Medium)
- Environmental Score: 5.3 (Medium)
-
CVE-2019-11892
- Base Score: 7.5 (High)
- Environmental Score: 7.2 (High)
-
CVE-2019-11895
- Base Score: 5.3 (Medium)
- Environmental Score: 5.1 (Medium)
-
CVE-2019-11601
- Base Score: 9.1 (Critical)
- Environmental Score: 6.5 (Medium)
-
CVE-2019-11894
- Base Score: 5.7 (Medium)
- Environmental Score: 5.5 (Medium)
-
CVE-2019-11897
- Base Score: 8.6 (High)
- Environmental Score: 5.1 (Medium)
-
CVE-2019-11602
- Base Score: 5.3 (Medium)
- Environmental Score: 3.0 (Low)
-
CVE-2019-11603
- Base Score: 7.5 (High)
- Environmental Score: 0.0 (Low)
-
CVE-2019-11891
- Published: 29 May 2019
- Last Updated: 29 May 2019
Summary
Recently discovered security vulnerabilities affect the Bosch Smart Home Controller (SHC, “the device”). They potentially allow to obtain elevated privileges, read and write data and perform a denial of service on the device via the network interface. Bosch Smart Home rates these vulnerabilities with CVSSv3 environmental scores from 3.0 (Low) to 7.6 (High), where the actual rating depends on the individual vulnerability, and recommends customers to install updated firmware versions on all devices.
As of May 22nd, 2019, an updated firmware file is available and offered to all customers via the existing update mechanism. A previously available update already covered all vulnerabilities in this advisory except CVE-2019-11896.
As of May 29th, 2019, there is currently no indication that exploitation code is either publicly known or utilized.
The vulnerabilities were discovered and disclosed to Bosch in a coordinated manner by the external researcher Philip Kazmeier.
Affected Products
- Bosch Smart Home Controller < 9.8.905 for all listed vulnerabilities except CVE-2019-11896
- Bosch Smart Home Controller < 9.8.907 for CVE-2019-11896
Solution
Firmware Update (Device)
The recommended approach is to update the firmware of all Bosch Smart Home Controllers to a fixed version, that is, 9.8.907 or higher. Version 9.8.905, available since April 17th, 2019, already covered all vulnerabilities in this advisory except CVE-2019-11896.
Mitigations and Workarounds
Firewalling (Network)
It is advised that the device should not be exposed directly to the internet or other insecure networks. This includes port-forwarding, which would not protect the device adequately.
Vulnerability Details
CVE-2019-11891 (App Pairing)
This vulnerability is classified as ‘CWE-266: Incorrect Privilege Assignment’, located in the app pairing mechanism. The fix ensures proper privilege assignment.
-
CWE-266
: Incorrect Privilege Assignment
- CVSS 3.0 Base Score: 8.0 (High), CVSS:3.0/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C
- CVSS 3.0 Temporal Score: 7.6 (High)
- CVSS 3.0 Environmental Score for Smart Home Controller: 7.6 (High)
Impact: The vulnerability may result in elevated role privileges of the adversary’s choosing. In order to exploit the vulnerability, the adversary needs physical access to the SHC during the attack in order to press the button to trigger the pairing sequence. Furthermore, the pairing endpoint is only accessible from the local area network (LAN).
CVE-2019-11896 (App Pairing)
This vulnerability is classified as ‘CWE-266: Incorrect Privilege Assignment’, located in the 3rd party app pairing mechanism. The fix ensures proper access controls.
-
CWE-266
: Incorrect Privilege Assignment
- CVSS 3.0 Base Score: 5.5 (Medium), CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:H/RL:O/RC:C
- CVSS 3.0 Temporal Score: 5.3 (Medium)
- CVSS 3.0 Environmental Score for Smart Home Controller: 5.3 (Medium)
Impact: The vulnerability may result in a restricted app obtaining default app permissions. In order to exploit the vulnerability, the adversary needs to obtain the credentials of a previously paired restricted app prior to the attack, which requires user interaction.
CVE-2019-11893 (App Pairing)
This vulnerability is classified as ‘CWE-266: Incorrect Privilege Assignment’, located in the app permission update mechanism. The fix ensures proper access controls.
-
CWE-266
: Incorrect Privilege Assignment
- CVSS 3.0 Base Score: 5.5 (Medium), CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:H/RL:O/RC:C
- CVSS 3.0 Temporal Score: 5.3 (Medium)
- CVSS 3.0 Environmental Score for Smart Home Controller: 5.3 (Medium)
Impact: The vulnerability may result in a restricted app obtaining default app permissions. In order to exploit the vulnerability, the adversary needs to obtain the credentials of a previously paired restricted app prior to the attack, which requires user interaction.
CVE-2019-11892 (JSON-RPC)
This vulnerability is classified as ‘CWE-284: Improper Access Control’, located in the JSON-RPC interface. The fix ensures proper access controls.
-
CWE-284
: Improper Access Control
- CVSS 3.0 Base Score: 7.5 (High), CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C
- CVSS 3.0 Temporal Score: 7.2 (High)
- CVSS 3.0 Environmental Score for Smart Home Controller: 7.2 (High)
Impact: The vulnerability may result in reading or modification of the SHC’s configuration or triggering and restoring backups. In order to exploit the vulnerability, the adversary needs to obtain the credentials of a previously paired app prior to the attack, which requires user interaction.
CVE-2019-11895 (JSON-RPC)
This vulnerability is classified as ‘CWE-284: Improper Access Control’, located in configuration endpoint of the JSON-RPC interface. The fix ensures proper access controls.
-
CWE-284
: Improper Access Control
- CVSS 3.0 Base Score: 5.3 (Medium), CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:H/RL:O/RC:C
- CVSS 3.0 Temporal Score: 5.1 (Medium)
- CVSS 3.0 Environmental Score for Smart Home Controller: 5.1 (Medium)
Impact: The vulnerability may result in a denial of service of the SHC and connected sensors and actuators. In order to exploit the vulnerability, the adversary needs to obtain the credentials of a previously paired app prior to the attack, which requires user interaction.
CVE-2019-11601 (Backup/Restore)
This vulnerability is classified as ‘CWE-22: Improper Limitation of a Pathname to a Restricted Directory (‘Path Traversal’)’, located in the backup/restore mechanism provided by the ProSyst mBS SDK. The fix disables the backup/restore mechanism.
-
CWE-22
: Improper Limitation of a Pathname to a Restricted Directory (“Path Traversal”)
- CVSS 3.0 Base Score: 9.1 (Critical), CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H/E:H/RL:O/RC:C/MAV:A/MAC:H
- CVSS 3.0 Temporal Score: 8.7 (High)
- CVSS 3.0 Environmental Score for Smart Home Controller: 6.5 (Medium)
Impact: The vulnerability may result in overwriting and/or deletion of files in the SHC’s file system with limited privileges. In order to exploit the vulnerability, the adversary needs to obtain the credentials of a previously paired app prior to the attack, which requires user interaction.
CVE-2019-11894 (Backup/Restore)
This vulnerability is classified as ‘CWE-284: Improper Access Control’, located in the download component of the backup/restore mechanism. The fix disables the backup/restore mechanism.
-
CWE-284
: Improper Access Control
- CVSS 3.0 Base Score: 5.7 (Medium), CVSS:3.0/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N/E:H/RL:O/RC:C
- CVSS 3.0 Temporal Score: 5.5 (Medium)
- CVSS 3.0 Environmental Score for Smart Home Controller: 5.5 (Medium)
Impact: The vulnerability may result in unauthorized download of a backup. In order to exploit the vulnerability, the adversary needs to download the backup directly after a backup triggered by a legitimate user has been completed, which requires user interaction.
CVE-2019-11897 (Backup/Restore)
This vulnerability is classified as ‘CWE-918: Server-Side Request Forgery (SSRF)’, located in the backup/restore mechanism provided by the ProSyst mBS SDK. The fix disables the backup/restore mechanism.
-
CWE-918
: Server-Side Request Forgery (SSRF)
- CVSS 3.0 Base Score: 8.6 (High), CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N/E:H/RL:O/RC:C/MAV:A/MAC:H/MS:U
- CVSS 3.0 Temporal Score: 8.2 (High)
- CVSS 3.0 Environmental Score for Smart Home Controller: 5.1 (Medium)
Impact: The vulnerability may result in obtaining data from SHC-internal servers via a HTTP GET request. In order to exploit the vulnerability, the adversary needs to obtain the credentials of a previously paired app prior to the attack, which requires user interaction.
CVE-2019-11602 (Backup/Restore)
This vulnerability is classified as ‘CWE-209: Information Exposure Through an Error Message’, located in the backup/restore mechanism provided by the ProSyst mBS SDK. The fix disables the backup/restore mechanism.
-
CWE-209
: Information Exposure Through an Error Message
- CVSS 3.0 Base Score: 5.3 (Medium), CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:H/RL:O/RC:C/MAV:A/MAC:H
- CVSS 3.0 Temporal Score: 5.1 (Medium)
- CVSS 3.0 Environmental Score for Smart Home Controller: 3.0 (Low)
Impact: The vulnerability may result in leakage of stack traces caused by exceptions during backup or restore and may therefore be used to obtain internal information that might be beneficial during the execution of unrelated attacks. In order to exploit the vulnerability, the adversary needs to obtain the credentials of a previously paired app prior to the attack, which requires user interaction.
CVE-2019-11603 (Backup/Restore)
This vulnerability has no impact on the SHC and given here for completeness with respect to the originally reported vulnerabilities only.
This vulnerability is classified as ‘CWE-22: Improper Limitation of a Pathname to a Restricted Directory (‘Path Traversal’)’, located in a library function of the backup/restore mechanism provided by the ProSyst mBS SDK.
-
CWE-22
: Improper Limitation of a Pathname to a Restricted Directory (“Path Traversal”)
- CVSS 3.0 Base Score: 7.5 (High), CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:H/RL:O/RC:C/MAV:A/MAC:H/MC:N
- CVSS 3.0 Temporal Score: 7.2 (High)
- CVSS 3.0 Environmental Score for Smart Home Controller: 0.0 (Low)
Impact: The vulnerability has no impact at all as the library function at hand is not used in the SHC.
Remark
Vulnerability classification has been performed using the CVSSv3 scoring system . The CVSS environmental score is specific to each customer’s environment and should be defined by the customer to attain a final scoring.
Additional Resources
[1]
Please contact the Bosch PSIRT if you have feedback, comments, or additional information about this vulnerability at:
psirt@bosch.com
.
Revision History
29 May 2019: Initial Publication