Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

[R2] Logitech Harmony Hub Multiple Vulnerabilities

High

Synopsis

Tenable found multiple vulnerabilities in Logitech's Harmony Hub.

CVE-2018-15720: XMPP Default Accounts

The XMPP server contains two undocumented default accounts. The accounts have the same privileges as any normal authenticated user.

File: luaworks/tasks/connectserver/core/xmppconnection.lua.out.lua

Function:
	processAuthenticate = function(self, str)
		-- function num : 0_12 , upvalues : AUTH_GUEST, AUTH_YES, AUTH_NO
		if str == "AGd1ZXN0AGd1ZXN0" or str == "Z3Vlc3QAZ3Vlc3QA" then
		    self.clientJid = "guest"
		    self.authenticated = AUTH_GUEST

CVE-2018-15721: XMPP Authentication Bypass

A crafted XMPP request can be used to bypass authentication. When an XMPP request doesn't contain an oa element to initialize the identity variable, it remains uninitialized. The authenticate function will return any username passed to it.

File: luaworks/tasks/connectserver/core/xmppconnection.lua.out.lua
Function:
	processAuthenticate = function(self, str)
	...
	    if self:authenticate(str) then
	      self.clientJid = "1111"
	      self.authenticated = AUTH_YES

    ...
	authenticate = function(self, userName)
	  -- function num : 0_11
	  if not self.identity then
	    return userName

    ...
	processHlapiRequest = function(self, cmd, parameters)
		...
	    if (response.data).identity then
	      self.identity = (response.data).identity

CVE-2018-15722: Remote Server OS Command Injection

On boot, the device makes a time synchronization request to a remote server. The server's response is eventually used in an operating system shell command via the Lua os.execute function in timemanager.lua. A remote attacker is able to inject OS commands due to lack of validation.

CVE-2018-15723: Crafted HTTP Request Application Command Injection

A crafted HTTP request allows a remote unauthenticated attacker to execute application level commands (e.g. harmony.system?systeminfo). HTTP POST requests to port 8088 with a forged HTTP origin header can are implicitly trusted by the device. A proof of concept follows:

curl -d "{\"cmd\":\"harmony.system?systeminfo\"}" -H "Origin: .myharmony.com" -H "Content-Type: application/json" "http://192.168.0.176:8088"

{"msg":"OK","data":{"unit_id":"20170121214639-000143","fw_type":"0x00","fw_ver":"4.15.193","arch":"0x11","hw_ver":"0x00","usb_product_id":"0xC129","skin":"106","usb_vendor_id":"0x046D"},"code":"200"}

Solution

Upgrade to firmware version 4.15.206 or higher.

Disclosure Timeline

10/31/2018 - Notified Logitech. 90 day set to Jan 29
11/01/2018 - Logitech PSIRT confirms receipt.
11/13/2018 - Logitech PSIRT indicates patches will be out before Christmas.
11/13/2018 - Tenable thanks Logitech for the update.
12/07/2018 - Tenable asks for an update.
12/11/2018 - Logitech releases firmware version 4.15.206. Does not tell Tenable.
12/19/2018 - Tenable reads news coverage of a Harmony Hub firmware update.
12/19/2018 - Tenable asks Logitech PSIRT if the firmware update addressed the vulnerabilities we reported.
12/19/2018 - After a brief analysis Tenable confirms that the firmware update did fix our reported vulnerabilities.
12/19/2018 - Tenable publishes an advisory.

All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.

Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.

For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.

If you have questions or corrections about this advisory, please email [email protected]

Risk Information

Tenable Advisory ID: TRA-2018-47
Credit:
Joseph Bingham
CVSSv2 Base / Temporal Score:
7.5 / 6.5
CVSSv2 Vector:
AV:N/AC:L/Au:N/C:C/I:C/A:C
Affected Products:
Logitech Harmony Hub below 4.15.206
Risk Factor:
High

Advisory Timeline

12/19/2018 - [R1] Initial Release
12/21/2018 - [R2] Added additional details