Plex: status probe (/library/sections, done 401) keeps an unclaimed Plex gated on every controller — security review follow-up (R-1045)
gates / gates (push) Successful in 4s

Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
admin committed 2026-10-15 10:33:57 +02:00
1 parent b6986eb2cb
commit 674d85940f
2 files changed
+15 -4

No files matched your search

+7
View File
@@ -1,3 +1,10 @@
## 2026-10-15 — Plex: a probe every controller understands keeps an unclaimed Plex closed (R-1045, a security review)
- `setup_done_probe: http://plex:32400/library/sections`, `done_status: 401` — from the box an unclaimed Plex answers
200 (to anyone), a claimed one 401 (measured 2026-10-15). Since controller 0.282.0 a 200 without a JSON field is „not
done", so on EVERY controller an unclaimed Plex stays behind the setup gate and the household's „Kész" is refused; the
claim opens it. Closes the old-controller half of the review's finding (a code that ran out during the install).
## 2026-10-15 — Plex: the claim code is required again for controllers before 0.313.0 (R-1045, a security review)
- A background security review of `0188430` found a fail-open: the claim code had been made optional for EVERY
+8 -4
View File
@@ -75,10 +75,14 @@ deploy_fields:
# header (measured 2026-10-15 on Tester 1; JSON only with `Accept: application/json`), and the probe sends none —
# so the household's „Kész, beállítottam" opens the gate.
setup_gate: true
# No setup_done_probe on purpose (R-1045): a controller >= 0.313.0 asks Plex itself whether it is claimed (/identity with
# Accept: application/json — measured 2026-10-15: before the claim false -> after the claim true) after the claim on the
# app page and before it lets „Kész, beállítottam" open the gate. A probe here would make an OLDER controller, which sends
# no Accept header and reads Plex's XML as „not JSON", refuse the household's press forever.
# R-1045 (a security review of 0188430): the probe every controller since 0.282.0 understands — a STATUS, no JSON, no
# Accept header. From the box (a private address) an unclaimed Plex answers its library list to anyone; a claimed one
# refuses without a token. measured 2026-10-15 (felhom.eu audits/media-build-2026-10-15/A-plex-gate/A3 and
# media-drive-events-2026-10-14/K6-2-claim-after-start.txt): before the claim HTTP 200 -> after the claim HTTP 401. So an
# unclaimed Plex stays gated and the household's „Kész" is refused (200 is XML, „not JSON" = not done); the claim opens it.
setup_done_probe:
url: http://plex:32400/library/sections
done_status: 401
# --- App info (info page content) ---
app_info: