Hunt prep
Before you test Ubiquiti Inc.
What 96 disclosed reports say about Ubiquiti Inc.: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing 15
Ideas drawn from this program's disclosed reports and our class lessons. None of them is a known bug: each is a place to look, and the reports linked under it are why. Check the current scope before testing anything.
-
1
Test other EdgeSwitch web endpoints for command injection as low-privilege user
Reports show command injection as root from Privilege-1 and Privilege-15 users on EdgeSwitch, plus a separate readonly-to-root escalation. Test the remaining web GUI actions (diagnostics, ping, traceroute, config export) with a read-only account to see whether any other handler passes user input to a shell. The pattern of repeated command injection on this product line suggests the fix may have been applied per endpoint rather than centrally.
-
2
Probe AirOS CGI handlers for unsanitised parameters beyond dl-fw.cgi
The dl-fw.cgi fw_url parameter and the speed test redirect handling both reached a shell, and later reports show further command injection and local file disclosure on AirOS 6.2.0. Enumerate the other CGI scripts on the same firmware (services.cgi, link.cgi, status pages) and test parameters that feed shell commands or file paths. The recurring root cause is unanchored validation and direct shell interpolation, so sibling handlers are worth checking.
Backed byShell Injection via Web Management Console (dl-fw.cgi) (2016) Read-Only user can execute arbitraty shell commands on AirOS (2016) Local File Disclosure (+XSS+CSRF) in AirOS 6.2.0 devices (2020)+1 more report
From the lessons: Exploit a regex used for URL validation so a dot matches unintended ch...
-
3
Check CSRF protection on remaining AirOS state-changing endpoints
Firmware download and install endpoints lacked CSRF tokens, and a later report chained XSS with CSRF to reach RCE. Test configuration restore, backup replacement, user management and network settings on AirOS for missing tokens or bypassable Referer checks, since the earlier fix may have covered only the firmware paths.
Backed byFirmware download/install vulnerable to CSRF (2020) Triggering RCE using XSS to bypass CSRF in PowerBeam M5 300 (2018) CSRF: Replacing the router configuration backup having an 'opera... (2017)+1 more report
From the lessons: Referer check protection.; CSRF protection bypass.; Chain CSRF and XSS for a higher impact.; Submit cross-site forms to profile, preference and settings endpoints...
-
4
Test UniFi Protect role and command handling for further privilege escalation
Access control Read the lesson
A view-only user could run custom commands to change their own role on UniFi Protect, and a separate report covers camera adoption resource exhaustion. Test other Protect actions available to low-privilege users (camera management, recording export, user invites) for missing role checks, and look at whether the command execution path is reachable from other roles.
-
5
Look for path traversal in UniFi Video configuration restore and firmware update
Path traversal Read the lesson
Configuration restore and firmware update on UniFi Video Server were repeatedly found to allow path traversal leading to local compromise, and an arbitrary file upload as SYSTEM was reported separately. Test the current restore and update handlers with traversal sequences in archive entries and filenames, and check whether the fixes cover all extraction paths rather than one parameter.
-
6
Test UniFi Video web interface for broken access control on admin functions
Access control Read the lesson
Broken access control on system configuration and a configuration restore privilege escalation were both reported on UniFi Video Server. Enumerate admin-only endpoints (user creation, system settings, backup) with a non-admin session to see whether authorisation is enforced server-side or only hidden in the UI.
-
7
Check for dangling DNS on remaining Ubiquiti subdomains
Subdomain takeover Read the lesson
Several subdomain takeovers were reported over the years via dangling CNAMEs to CloudFront and S3, including one that leaked the SSO cookie. Re-enumerate current subdomains and check CNAMEs and other records pointing at unclaimed cloud resources, especially around the SSO and account hosts where cookie scope is broad.
Backed byAuthentication bypass on sso.ubnt.com via subdomain takeover of... (2016) Subdomain Takeover in http://assets.goubiquiti.com/ (2016) Subdomain takeover on https://cloudfront.ubnt.com/ due to non-us... (2017)+2 more reports
From the lessons: Resolve subdomains and check whether they point to unclaimed third-par...; Resolve subdomains and check whether any point to an unclaimed cloud p...
-
8
Test CORS policy on account and API hosts for credential-bearing reads
CORS misconfigurations were reported on ubnt.com hosts, one leaking private information and another allowing cookie theft. Test the account, SSO and API origins with attacker-controlled Origin headers to see whether they reflect the origin with credentials allowed, and chain with any open redirect or XSS on the same host.
Backed byCORS Misconfiguration leading to Private Information Disclosure (2019) [dev-unifi-go.ubnt.com] Insecure CORS, Stealing Cookies (2017)From the lessons: Send requests with an attacker-controlled Origin header and check whet...; Test API endpoints for a permissive cross-origin resource sharing poli...; Chain a permissive CORS policy with another weakness such as an open r...; Check whether a permissive CORS policy lets a cross-origin page read r...
-
9
Probe community and forum uploads for stored XSS via SVG and other types
Stored XSS via SVG upload and via client custom attributes were reported on community and billing hosts, and a .htaccess bypass was used on the NodeBB forum. Test current upload handling on community.ubnt.com and related hosts for SVG and other content types served inline, and check whether the earlier fixes cover all upload paths.
-
10
Test account.ubnt.com authentication flows for 2FA and reset bypasses
Account takeover Read the lesson
A two-factor bypass and a CSRF on the login form leading to account takeover were reported on account hosts, and an SSO cookie leak enabled full takeover. Test the current 2FA flow for missing rate limiting, response manipulation and alternate-step bypass, and test password reset for token reuse and Host header manipulation.
-
11
Check for exposed CI and build infrastructure on Ubiquiti hosts
Misconfiguration Read the lesson
An unauthenticated Jenkins with script console and an exposed full-access API token controlling nightly builds were both reported. Look for other exposed CI, build or artefact hosts and for tokens in public repositories or build logs, since the same infrastructure pattern may recur on sibling subdomains.
-
12
Test EdgeSwitch session handling for predictable or non-expiring session IDs
Access control Read the lesson
A predictable session ID and insufficient session expiration were reported on EdgeSwitch, alongside a root login without password. Test session generation and logout behaviour on the current firmware to see whether session IDs remain guessable or valid after logout, and whether the earlier fixes cover all management interfaces.
Backed byWeb Server Predictable Session ID on EdgeSwitch (2021) Login as root without password on EdgeSwitchX (2019) Privilege-0 to Root Privilege Escalation on EdgeSwitch (2019)From the lessons: Session logout across concurrent sessions
-
13
Probe EdgeSwitch restricted CLI for format string and injection variants
A format string vulnerability and code execution were both found in the restricted CLI of EdgeSwitch. Test other restricted CLI commands and arguments for externally controlled format strings or shell interpolation, since the restricted shell is a recurring weak point across the EdgeMAX line.
-
14
Test AirOS web management for reflected XSS in remaining CGI parameters
Multiple reflected XSS issues were reported in link.cgi and services.cgi on AirOS, and earlier reflected XSS appeared on Nanostation devices. Test the remaining CGI scripts and their parameters for reflection without encoding, including error and status pages, since the fixes appear to have been applied per script.
-
15
Check for directory listing and exposed project files on web hosts
Info disclosure Read the lesson
A JetBrains .idea directory and WordPress files were exposed on production hosts, and directory traversal was reported on nightly and dev hosts. Request common development artefacts and backup directories on current web hosts to see whether they are still served, and check whether the earlier fixes cover all hosts rather than one.
Backed byJetBrains .idea project directory (2019) Wordpress directories/files visible to internet (2017) Directory traversal at https://nightly.ubnt.com (2017)+1 more report
From the lessons: Request common log and backup directories and check whether the server...; Request a directory path directly and check whether the server returns...; Web servers and application directories that return an auto-generated...; Static asset directories and package static servers that return an aut...
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| XSS lesson | 20 | 0 | – | – | $0 |
| Access control lesson | 15 | 0 | – | – | $0 |
| RCE lesson | 14 | 0 | – | – | $0 |
| CSRF lesson | 8 | 0 | – | – | $0 |
| Path traversal lesson | 7 | 0 | – | – | $0 |
| Info disclosure lesson | 6 | 0 | – | – | $0 |
| Subdomain takeover lesson | 5 | 0 | – | – | $0 |
| Account takeover lesson | 4 | 0 | – | – | $0 |
| Memory corruption lesson | 3 | 0 | – | – | $0 |
| Smuggling / CRLF lesson | 2 | 0 | – | – | $0 |
| Crypto lesson | 2 | 0 | – | – | $0 |
| DoS lesson | 2 | 0 | – | – | $0 |
| File upload lesson | 1 | 0 | – | – | $0 |
| Leaked secrets lesson | 1 | 0 | – | – | $0 |
| SQL injection lesson | 1 | 0 | – | – | $0 |
| IDOR lesson | 1 | 0 | – | – | $0 |
| CORS lesson | 1 | 0 | – | – | $0 |
| Business logic lesson | 1 | 0 | – | – | $0 |
| Open redirect lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
XW 6.2.0 firmware: 5 Reflected XSS issues in link.cgi
It was fixed in AirMax AirOS firmware v6.3.0 for the TI, XW and XM boards.
Disclosed
-
3x Reflected XSS vectors for services.cgi (XM.v6.1.6, build 32290)
The vulnerabilities were fixed in AirMax AirOS firmware v6.3.0 for TI, XW and XM boards.
Disclosed
-
View Only to Root Privilege Escalation on UniFi Protect
The vulnerabilities were fixed in UniFi Protect v1.13.3 for Cloud Key Gen2 plus and v1.14.10 for UniFi Dream Machine Pro and UNVR.
Disclosed
-
SNMP Community String Disclosure to ReadOnly Users on EdgeSwitch
The vulnerability was fixed in EdgeSwitch firmware v1.9.1.
Disclosed
-
Readonly to Root Privilege Escalation on EdgeSwitch
The vulnerabilities were fixed in EdgeSwitch firmware v1.9.1.
Disclosed
-
Web Server Predictable Session ID on EdgeSwitch
The vulnerabilities were fixed in firmware version 1.9.1.
Disclosed
-
Camera adoption DoS - UniFi Protect
The vulnerability was fixed in UniFi Protect v1.17.1 and later versions.
Disclosed
-
Local File Disclosure (+XSS+CSRF) in AirOS 6.2.0 devices
The vulnerabilities were fixed in AirOS firmware version 6.3.0.
Disclosed
-
RCE in AirOS 6.2.0 Devices with CSRF bypass
The vulnerabilities were fixed in AirOS firmware v6.3.0.
Disclosed
-
Reflected XSS in Nanostation Loco M2 - AirOS ver=6.1.7
It was fixed in AirMax AirOS firmware v6.3.0 for TI, XW and XM boards.
Disclosed
-
Firmware download/install vulnerable to CSRF
The vulnerabilities were fixed in AirMax AirOS firmware v6.3.0 for TI, XW and XM boards.
Disclosed
-
Unauthenticated request allows changing hostname
It was fixed by updating to the latest firmware version.
Disclosed
-
UniFi Video web interface Configuration Restore user privilege escalation
The vendor published a security advisory that mentions fixes for this vulnerability.
Disclosed
-
UniFi Video Server web interface admin user Firmware Update path traversal leading to local system compromise
A security advisory linked in the text discusses fixes for this vulnerability.
Disclosed
-
UniFi Video v3.10.1 (Windows) Local Privileges Escalation to SYSTEM from arbitrary filedelete and DLL hijack vulnerabilities.
The vendor fixed it by changing the .tsExport folder handling and enabling SafeDllSearchMode in the registry during installation.
Disclosed