UniFi — 1 vulnerability check
noctis ships 1 vulnerability check for UniFi, covering 3 CVEs; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
Ubiquiti UniFi OS Server Unauthenticated RCE Chain
| CVE | CVE-2026-34908, CVE-2026-34909, CVE-2026-34910 |
|---|---|
| Severity | critical · CVSS 10.0 |
| Category | rce — Remote code execution |
| Services | http, https |
| Detection | set_var, http_request, match, tcp_connect · highest QoD 75 |
| Feed | tests/vulnerabilities/unifi/CVE-2026-34910.yaml |
Tests Ubiquiti UniFi OS Server for the unauthenticated RCE chain. The auth-gateway path traversal (CVE-2026-34909) is probed by sending a raw /api/auth/validate-sso/../../../proxy/users/api/v2/ucs/update/latest_package request: a vulnerable server routes it to the internal package-update service (200), a patched server rejects the traversal (400). QoD 75.
How noctis detects it
- HTTP(S) request
GET /login - Checks
fp_resp.bodyforUniFi - Raw TCP (TLS on HTTPS), sent verbatim:
GET /api/auth/validate-sso/../../../proxy/users/api/v2/ucs/update/latest_package HTTP/1.0 - Checks
trav_resp.bannerforNOCTIS_UNIFI_TRAVERSAL|"ok"\s*:\s*true→ finding QoD 75: Path traversal confirmed — /api/auth/validate-sso/../../../ reached the internal package-update endpoint: …
References:
- https://nvd.nist.gov/vuln/detail/CVE-2026-34910
- https://bishopfox.com/blog/popping-root-on-unifi-os-server-unauthenticated-rce-chain-detection-analysis
- https://www.cisa.gov/news-events/alerts/2026/06/23/cisa-adds-four-known-exploited-vulnerabilities-catalog
Feed source — tests/vulnerabilities/unifi/CVE-2026-34910.yaml
# Ubiquiti UniFi OS Server unauthenticated RCE chain — CVE-2026-34910
#
# Three CVEs form a pre-auth root RCE chain on UniFi OS Server:
# CVE-2026-34908 access-control bypass to the internal proxy
# CVE-2026-34909 path traversal in the auth gateway — /api/auth/validate-sso/
# is auth-exempt and does not strip ../ , reaching any
# internal proxy endpoint
# CVE-2026-34910 command injection in the package-update service
# (/proxy/users/api/v2/ucs/update/latest_package)
#
# Affected: UniFi OS Server <= 5.0.6, fixed in 5.0.8.
#
# Detection (safe): the path-traversal primitive (34909) is directly
# observable — a crafted /api/auth/validate-sso/../../../ path reaches the
# internal package-update endpoint on a vulnerable server (200) but is
# rejected on a patched one (400). The encoded ../ segments mean this MUST be
# sent raw over tcp_connect — reqwest would normalise them away. QoD 75.
uid: b8f6db86-c566-4a28-973d-dd192b151a7c
name: "Ubiquiti UniFi OS Server Unauthenticated RCE Chain (CVE-2026-34910)"
description: |
Tests Ubiquiti UniFi OS Server for the unauthenticated RCE chain. The
auth-gateway path traversal (CVE-2026-34909) is probed by sending a raw
/api/auth/validate-sso/../../../proxy/users/api/v2/ucs/update/latest_package
request: a vulnerable server routes it to the internal package-update
service (200), a patched server rejects the traversal (400). QoD 75.
cves: [CVE-2026-34908, CVE-2026-34909, CVE-2026-34910]
cvss: 10.0
severity: critical
tags: [ubiquiti, unifi, path-traversal, rce, kev, chain]
category: rce
confidence_base: 0.30
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2026-34910"
- "https://bishopfox.com/blog/popping-root-on-unifi-os-server-unauthenticated-rce-chain-detection-analysis"
- "https://www.cisa.gov/news-events/alerts/2026/06/23/cisa-adds-four-known-exploited-vulnerabilities-catalog"
steps:
- id: init
action: set_var
var_name: unifi_ok
var_value: false
# ── Step 1: fingerprint UniFi OS (gate only) ─────────────────────────────
- id: fingerprint
action: http_request
method: GET
path: "/login"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
store_as: fp_resp
- id: fingerprint-gate
action: match
source: fp_resp.body
pattern: "UniFi"
condition: "fp_resp.status == 200"
on_match:
set_vars:
unifi_ok: true
# ── Step 2: raw path-traversal probe (must bypass reqwest normalisation) ─
- id: traversal
action: tcp_connect
port: "{{port}}"
send: "GET /api/auth/validate-sso/../../../proxy/users/api/v2/ucs/update/latest_package HTTP/1.0\r\nHost: {{target_host}}\r\nConnection: close\r\n\r\n"
store_as: trav_resp
condition: "unifi_ok == true"
- id: confirm
action: match
source: trav_resp.banner
pattern: "NOCTIS_UNIFI_TRAVERSAL|\"ok\"\\s*:\\s*true"
condition: "unifi_ok == true"
on_match:
finding:
confidence_delta: 0.55
qod: 75
evidence: "Path traversal confirmed — /api/auth/validate-sso/../../../ reached the internal package-update endpoint: {{trav_resp.banner}}"
stop: true