Synopsis
Tenable has discovered an unprotected root access vulnerability via UART on the UniFi Cloud Key with firmware less than v.1.1.11. This vulnerability is exploitable even after configuring both the UniFi Protect and Cloud Key Management portal with a non-default password. Connecting to the UART port drops you directly to a root shell. Exploitation requires disassembly of the device and connecting to pads R (receive), T (transmit), and G (ground) that are present on and labeled on the main logic board via silk screen. Use of a UART to RS232 convert (such as a buspirate device) will be required to connect to the shell and gain root access.
Proof of Concept

Solution
Upgrade to firmware 1.1.11.Additional References
https://community.ui.com/releases/UniFi-Cloud-Key-Firmware-1-1-11/4908d380-340e-4020-9805-eed07e4781d3https://community.ui.com/releases/UniFi-Cloud-Key-Firmware-1-1-11/a24e55e1-6d90-46d7-92e2-01539ec8c79d
https://community.ui.com/releases/Security-advisory-bulletin-008-008/5f66ca4c-10d6-4ca5-9620-37d5a4f22413
Disclosure Timeline
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]