Skip to content
Access control Disclosed report Beginner CVE-2016-6914

UniFi Video v3.2.2 (Windows) Local Privileges Escalation due to weak default install directory ACLs

The UniFi Video Windows installer created directories with weak permissions, letting unprivileged users modify program files. An attacker could then escalate privileges by altering those files.

Julien Ahrens Follow

Originally disclosed on HackerOne

High 7.8 View original
  • Triaged in under an hour
  • Fixed in 18 months
  • Paid in 10 months
  • Disclosed after 19 months

Summary by the program

The UniFi Video Windows installation v3.7.3 and prior create directories with insecure permission, allowing unprivileged users to modify UniFi Video files and consequently escalate privileges.

Summary by the researcher

This vulnerability does affect all UniFi video versions up to and including 3.7.3 and is referenced by CVE-2016-6914.

The full public advisory can be found here: http://seclists.org/fulldisclosure/2017/Dec/83.

The original report as published on HackerOne, by mrtuxracer. 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 installer set overly permissive access control lists on its installation directories, allowing standard users to write to files that are later executed with higher privileges.

Impact

An unprivileged local user could modify UniFi Video files and escalate their privileges on the Windows host.

What the attacker needed

Local access to a Windows host; UniFi Video v3.7.3 or earlier installed

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.

When a program is installed, it creates folders on the computer. If those folders can be changed by any user, a normal user could replace a program file with their own. Then, when the program runs with higher rights, the attacker's file runs too, giving them more control.

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 Julien Ahrens

View all

2 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.