HexBrain

Ubiquiti Inc. · Report #544928

Privilege Escalation From user to SYSTEM via unauthenticated command execution

Validstatus
criticalseverity
553upvotes
8 Nov 2019disclosed

How it was found

The vulnerability, or feature depending how you look at it, is the ability to execute commands using the evostream API interface that is exposed on localhost:7440. Since the evostream service is running as SYSTEM a user can use the launchprocess command, http://docs.evostream.com/2.0/launchProcess.html, to execute any binary with supplied arguments. The only thing that is keeping this "feature" from allowing remote code execution is the fact that it listens on localhost only. However, if it were couple with an SSRF, an attacker could achieve full remote code execution.

Impact

The ability to run arbitrary commands as SYSTEM from any user.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original