UniFi Video v3.10.1 (Windows) Local Privileges Escalation to SYSTEM from arbitrary filedelete and DLL hijack vulnerabilities.
The UniFi Video Windows controller had an arbitrary file deletion issue and a DLL hijacking issue that together allowed a local attacker to escalate privileges to SYSTEM. The vendor fixed it by adjusting the .tsExport folder and the SafeDllSearchMode registry setting.
- Triaged in 7 days
- Fixed in 17 days
- Paid in 7 days
- Disclosed after 12 months
Summary by the program
Summary: UniFi Video v3.10.1 ( for Windows 7/8/10 x64) Local Privileges Escalation to SYSTEM from arbitrary file deletion and DLL hijack vulnerabilities. The issue was fixed by adjusting the .tsExport folder when the controller is running on Windows and adjusting the SafeDllSearchMode in the windows registry when installing UniFi-Video controller.
More details about this vulnerability and the fixes can be found here: https://community.ui.com/releases/Security-advisory-bulletin-006-006/3cf6264e-e0e6-4e26-a331-1d271f84673e
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 service used a predictable folder for temporary export files and loaded DLLs from a location an unprivileged user could write to, without safe DLL search settings.
Impact
A local attacker could escalate privileges to SYSTEM on the Windows host running the controller.
What the attacker needed
Local access to the Windows host; UniFi Video controller installed
The fix
The vendor fixed it by changing the .tsExport folder handling and enabling SafeDllSearchMode in the registry during installation.
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 local user could exploit an arbitrary file deletion flaw and a DLL hijacking flaw in the Windows controller to escalate privileges to SYSTEM.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.