UniFi Video web interface Configuration Restore user privilege escalation
The configuration restore endpoints on the UniFi Video web interface lacked sufficient privilege checks, so low-privileged users could overwrite the application configuration and add new administrative users.
Originally disclosed on HackerOne
- Triaged in 23 hours
- Fixed in 23 days
- Paid in 45 hours
- Disclosed after 2.0 years
Summary by the program
Summary of the issue: Low privileged UniFi Video users can abuse the Configuration Restore functionality to modify any application configuration setting, including creating new administrative users.
Details: The UniFi Video Server (Windows) web interface configuration restore functionality at the “backup” and “wizard” endpoints does not implement sufficient privilege checks. Low privileged users, belonging to the PUBLIC_GROUP or CUSTOM_GROUP groups, can access these endpoints and overwrite the current application configuration. This can be abused for various purposes, including adding new administrative users.
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 backup and wizard endpoints performed authentication but no authorisation check, so any authenticated user could invoke the configuration restore action.
Impact
A low-privileged user could change any application setting and create administrative users.
What the attacker needed
A low-privileged UniFi Video account
The fix
The vendor published a security advisory that mentions fixes for this vulnerability.
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.
The web interface has a configuration restore feature. Low-privileged users could access it and overwrite the application configuration, including adding new administrative users.
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.