Detect CVE-2026-34908 — Ubiquiti UniFi OS Improper Access Control Exploitation in IBM QRadar
Detects exploitation attempts targeting CVE-2026-34908, an improper access control vulnerability (CWE-284) in Ubiquiti UniFi OS. This vulnerability is listed on the CISA Known Exploited Vulnerabilities catalog and allows attackers to bypass access controls on UniFi OS devices. Detection focuses on unauthorized API access, anomalous management plane requests, and lateral movement patterns consistent with UniFi controller compromise.
MITRE ATT&CK
QRadar Detection Query
SELECT
sourceip,
destinationip,
destinationhostname,
URL,
"HTTP Status Code" AS http_status,
"HTTP Method" AS http_method,
COUNT(*) AS event_count,
MIN(starttime) AS first_seen,
MAX(starttime) AS last_seen
FROM events
WHERE
LOGSOURCETYPENAME(devicetype) IN ('Palo Alto PA Series', 'Cisco ASA', 'Juniper SRX', 'Fortinet FortiGate', 'Squid')
AND (
destinationhostname ILIKE '%unifi%'
OR destinationhostname ILIKE '%ubiquiti%'
)
AND (
URL ILIKE '/api/%'
OR URL ILIKE '/proxy/network/api/%'
)
AND (
URL ILIKE '%/cmd/%'
OR URL ILIKE '%/system%'
OR URL ILIKE '%/admin%'
)
AND "HTTP Status Code" IN ('200', '201', '204')
AND starttime >= NOW() - 1 DAYS
GROUP BY sourceip, destinationip, destinationhostname, URL, "HTTP Status Code", "HTTP Method"
HAVING COUNT(*) >= 2
ORDER BY event_count DESC
LIMIT 500 QRadar AQL query correlating successful HTTP responses to privileged UniFi OS API endpoints. Groups events by source and destination to identify hosts repeatedly accessing administrative command paths, which may indicate exploitation of the access control vulnerability.
Data Sources
Required Tables
False Positives & Tuning
- Authorized network management scripts that batch-configure UniFi devices via API
- UniFi Network application on administrator workstations performing routine sync operations
- Penetration testing or red team exercises with prior authorization
- Ubiquiti cloud-key or Dream Machine Pro performing internal health checks
Other platforms for CVE-2026-34908
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.
- Test 1Unauthenticated UniFi OS Admin API Enumeration
Expected signal: Network logs showing HTTP GET requests to multiple /api/ paths on the target UniFi controller IP, returning HTTP status codes that vary by endpoint accessibility.
- Test 2Unauthorized UniFi OS Command Endpoint Access
Expected signal: Network logs showing a POST request to /api/s/default/cmd/stamgr on the target IP with a JSON body. A 200 response with an action response body indicates the access control bypass is exploitable.
- Test 3UniFi OS New Admin User Creation via API Bypass
Expected signal: Network logs showing a POST to /api/s/default/rest/admin with a 200 or 201 response. UniFi controller audit log should record a new admin creation event without a corresponding login event from the source IP.
References (4)
- https://community.ui.com/releases/Security-Advisory-Bulletin-064-064/84811c09-4cf4-42ab-bd61-cc994445963b
- https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk
- https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk
- https://nvd.nist.gov/vuln/detail/CVE-2026-34908
Unlock Pro Content
Get the full detection package for CVE-2026-34908 including response playbook, investigation guide, and atomic red team tests.