Skip to content
Access control Disclosed report Intermediate CVE-2019-15595

Privilege Escalation From user to SYSTEM via unauthenticated command execution

The EvoStream API on localhost:7440 allows any local user to run arbitrary commands as SYSTEM via the launchprocess command. An attacker with local access could escalate privileges to SYSTEM, and combined with SSRF this could become remote code execution.

b0yd Follow

Originally disclosed on HackerOne

Critical 9.6 View original
  • Triaged in 10 days
  • Fixed in 6 months
  • Paid in 10 days
  • Disclosed after 7 months

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.

Attachments

2019-04-21_17-47-17.mp4 From the original on HackerOne

The original report as published on HackerOne, by b0yd. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the EvoStream API exposes a launchprocess command without authentication and runs as SYSTEM, allowing any local user to execute arbitrary binaries.

Impact

Any local user can run arbitrary commands as SYSTEM; if combined with an SSRF, an attacker could achieve full remote code execution.

What the attacker needed

Local access to the machine; EvoStream service running as SYSTEM

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A service running as SYSTEM exposes a command letting any local user run programs. Since it only listens locally, a normal user can become SYSTEM. If another bug let an outsider reach it, they could run commands remotely.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by b0yd

View all

3 more disclosed reports, best first.

More from Ubiquiti Inc.

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.