From 674d85940f8b848db44d2de67ebe58c0d8382995 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Thu, 15 Oct 2026 10:33:57 +0200 Subject: [PATCH] =?UTF-8?q?Plex:=20status=20probe=20(/library/sections,=20?= =?UTF-8?q?done=20401)=20keeps=20an=20unclaimed=20Plex=20gated=20on=20ever?= =?UTF-8?q?y=20controller=20=E2=80=94=20security=20review=20follow-up=20(R?= =?UTF-8?q?-1045)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS --- CHANGELOG.md | 7 +++++++ templates/plex/.felhom.yml | 12 ++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab6089d..469e4b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/templates/plex/.felhom.yml b/templates/plex/.felhom.yml index 03755b0..7c5112a 100644 --- a/templates/plex/.felhom.yml +++ b/templates/plex/.felhom.yml @@ -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: