CVE-2026-34908 Splunk · SPL

Detect CVE-2026-34908 — Ubiquiti UniFi OS Improper Access Control Exploitation in Splunk

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

Tactic
Initial Access Privilege Escalation Defense Evasion Lateral Movement

SPL Detection Query

Splunk (SPL)
spl
index=network OR index=proxy OR index=firewall sourcetype=palo_alto_traffic OR sourcetype=cisco_asa OR sourcetype=squid OR sourcetype=bluecoat
| where (dest_host IN ("*unifi*", "*ubiquiti*") OR dest_ip IN (<<UNIFI_IP_LIST>>))
| where uri_path IN ("/api/", "/proxy/network/api/", "/api/s/default/", "/api/s/default/cmd/", "/api/system", "/api/login", "/api/self", "/proxy/network/api/s/default/cmd/")
| eval is_admin_endpoint=if(match(uri_path, "/cmd/|/system|/admin"), 1, 0)
| eval is_success=if(status IN ("200", "201", "204"), 1, 0)
| where is_admin_endpoint=1 AND is_success=1
| stats
    count AS request_count,
    dc(uri_path) AS distinct_endpoints,
    values(uri_path) AS endpoints,
    values(status) AS response_codes,
    min(_time) AS first_seen,
    max(_time) AS last_seen
    BY src_ip, dest_ip, dest_host
| where request_count >= 3
| eval risk_score=case(request_count >= 20, "High", request_count >= 5, "Medium", true(), "Low")
| eval cve="CVE-2026-34908"
| table first_seen, last_seen, src_ip, dest_ip, dest_host, request_count, distinct_endpoints, endpoints, response_codes, risk_score, cve
| sort - request_count
critical severity medium confidence

Splunk search identifying unauthorized or anomalous access to Ubiquiti UniFi OS API endpoints. Aggregates successful HTTP responses to administrative paths from external or unexpected sources, surfacing potential access control bypass exploitation.

Data Sources

Network Proxy LogsFirewall LogsWeb Access Logs

Required Sourcetypes

palo_alto_trafficcisco_asasquidbluecoat

False Positives & Tuning

  • Authorized UniFi Network application sessions from trusted admin subnets
  • Scheduled backup or configuration export scripts accessing the API legitimately
  • Cloud-hosted UniFi controller management traffic if using Ubiquiti hosted services
  • Internal monitoring tools that poll UniFi OS health or metrics endpoints

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.

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

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

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

Unlock Pro Content

Get the full detection package for CVE-2026-34908 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections